Closed lupitatovar closed 1 year ago
@lupitatovar Awesome, thanks for opening the pull request! Two things I'd like you to adapt before can merge your new version in:
special
is missing. Can you please add it to the preamble and requirements.txt if necessary?aflare
with the same test for your new flare_model
. I'd like to keep testing the aflare
, and still offer it to users who want to make a comparison with the new one. Could you please make a copy of test_aflare_and_equivalent_duration
, so that one copy tests aflare
and the other tests flare_model
?Once that is done, we shall check if the remaining tests run through, or if we need to tinker a little more to make it work.
Again, great job opening the pull request, and also adding the docs!
@ekaterinailin I just added in those two things. Let me know if there are more things we need to add/fix. Thanks for your help with incorporating in the new model!
Hi @lupitatovar !
Thanks for making the changes, looks good! The test_flare_model()
does not yet work, however. Does the test pass on your version?
In the continuous integration, the test still fails, see here. Can you adapt the test for flare_model
? So far, it looks like it's just a copy of test_aflare
.
Hi @ekaterinailin! I adapted the test and got things to pass on my end. I also caught a bug in the upsample feature of flare_model and fixed that as well. Let me know how things look on your end. Thanks!
Looks good to me, thanks for updating the pull request! I will make sure, that the new flare model is accessible in FlareLightCurve
.
I added in the new Tovar Mendoza et al. (2022) flare model.