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 Trappist-1 Notebook #123

Open
canavarrete01 opened this issue Nov 12, 2024 · 2 comments
Open

Update Trappist-1 Notebook #123

canavarrete01 opened this issue Nov 12, 2024 · 2 comments

Comments

@canavarrete01
Copy link

canavarrete01 commented Nov 12, 2024

Fix the order cells to work with new SEDkit version (Nov. 2024)
https://github.com/BDNYC/sedkit/blob/main/sedkit/notebooks/Trappist-1.ipynb

@kelle
Copy link
Member

kelle commented Nov 13, 2024

https://github.com/BDNYC/sedkit/blob/main/sedkit/notebooks/Trappist-1.ipynb

Can you please be more specific about the problem you are describing?

@canavarrete01
Copy link
Author

The order in which the cells are currently organized can cause problems when loading make_sed and plotting the SED. This is solved by initializing evo_model, age, and parallax/distance at the beginning of the notebook rather than later.

from sedkit import SED
trap1 = SED(name='Trappist-1', substellar=True) 
trap1.evo_model = "DUSTY00" 
trap1.age = 7.6*q.Gyr, 2.2*q.Gyr, '2017ApJ...845..110B' 
trap1.parallax = 82.4*q.mas, 0.8*q.mas 

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

No branches or pull requests

2 participants