-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allowing for negative extinction when plotting too #123
Comments
Thanks for the suggestion! Using negative extinction values should now be possible with |
Thanks! First of all, with the recent updates to Now trying again my script, I get an error pointing to
namely:
I have both Actually, that was accidentally using python 3.8, but now using the correct version (using
coming from |
There was indeed an issue with the return, which should be fixed now! |
I tested it and now it is perfect. Thank you very much, also for your swift action! |
I will just an add that it might be good to rename |
Yes I agree, these name are not ideal, but will leave them for now. At some point, I want to implement a more generic approach for the extinction, which requires refactoring. |
Hello Tomas,
Hurt et al. (2024) allowed for negative amounts of extinction AV, which gave better fits in several cases. The justification is:
That does sound very physical. Currently, it works in
species
when doing the spectral fitting but not when plotting the spectrum (!), as it leads towhich of course
if isinstance(wavelength[0], (np.float32, np.float64)):
does not like, etc..Would it be possible to allow for this? Thanks!
Gabriel
The text was updated successfully, but these errors were encountered: