astropy / astropy/specutils

Have a more general way to recognize models for fitting that have positional parameters

Open
#304 0 comments 0 reactions 1 assignee Claimed by @eteq View on GitHub
fitting
Dominant language
Python
Stars
204
Forks
134
Avg merge
12h 55m
Merged PRs (30d)
1

Description

From #210 - see https://github.com/astropy/specutils/pull/210#discussion_r214480177 for more detail.

The basic gist: models like polynomials can't be "copied" trivially because you need a way to know how many parameters they have. `inspect` gives everything needed to recognize this, and I think I solved it in the linked comment... but it needs a PR with proper testing and everything, as it's pretty complex.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.