-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move mpfit
to its own subpackage.
#16
Comments
Hi @MJWeberg. I agree with @wtbarnes here, and would ideally like this addressed as part of the open review: openjournals/joss-reviews#4914, and please include the LICENSE file for |
Hello @PaulJWright. We debated moving MPFIT to its own subpackage a while back, but decided to wait until we could also add support for other fitting backends. Fitting is a core component of EISPAC, so the It was not clear what open license mpfit.py actually fell under, since the GPL v3 license of astrolibpy is only for the other components of the package. I thought it was public domain, but apparently it is slight more complicated than that. I have added an MPFIT-LICENSE file that contains the required information to the best of my knowledge. Unfortunately, we have not had the opportunity to extend the fitting backend options yet. Since some of this conversation took place off-line, I am including a summary below for more complete records. When we first wrote EISPAC, none of the other fitting packages were quite sufficient for our needs. In particular,
I understand there may have been some improvements to the Astropy subpackages since then, so I will try to take another look at it sometime in the next month or two. |
As @wtbarnes opened this particular issue, I'll let Will have the final say, but it seems quite odd that a third-party piece of software is incorporated into the |
I am not sure what the license and/or legal implications of adding When it comes to adding external code, "normally" it is kept in a separate folder that makes it clear that this code was not written by the original authors. How wide spread this practice is, I am unsure. |
Moving mpfit to a more general |
Currently,
mpfit
is part of thecore
subpackage. Given the discussion in #10 as well as the fact that this dependency is being vendored (i.e. it is a third-party piece of software being absorbed into the package), I think every effort should be made to disentangle it from the core functionality of the package.I would recommend either creating an
mpfit
subpackage or, even better, creating a more genericfitting
subpackage with the thinking being that the fitting "engine" could be swapped out for something else later down the line.Additionally, because this software is being included in
eispac
,eispac
must also include the LICENSE file forastrolibpy
, per the terms of the GPL v3 license: https://github.com/segasai/astrolibpy/blob/master/LICENSE.The text was updated successfully, but these errors were encountered: