Skip to content
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

Update CenCols notebook #1

Merged
merged 1 commit into from Nov 2, 2023
Merged

Conversation

rhiannonlynne
Copy link
Contributor

Hi Joe,

Thanks for the example, I went through and this works now.
I'm not entirely sure what the problem was before, as you said you did try some other things that weren't reflected in the notebook.
In the notebook, the wavelength ranges for the Pholus SED were definitely not going quite as red as the filters, so that was why nans were coming up. The max wavelength for the filters was (by default) 1150, while your sed went down to about 1103.
I reworked some of the notebook a little bit, basically just ensuring that the wavelength extensions for the sed went far enough into the red (you also have to be careful about numpy.arange cutting off a little bit earlier than expected, sometimes).
I was able to calculate magnitudes at the end, so hopefully this works for you!

@astjoephysics astjoephysics merged commit d9e4645 into astjoephysics:main Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants