dfm / tess-atlas

MIT License
9 stars 8 forks source link

Accessing planet_transit_model outside the toi_template #243

Closed avivajpeyi closed 1 year ago

avivajpeyi commented 1 year ago

We have kept the code for the planet model inside toi_template.ipynb so that the model is clearly visible (isnt being hidden inside the tess_atlas src) and anyone can download and hack at it without having to download + hack tess_atlas src.

However, this makes creating the model outside the toi_template a bit challenging (one might want to do this for plotting).

Maybe the model code can be kept in a file inside tess_atlas/model.py, and pasted into the correct cell of the toi_template.ipynb before execution.

This would allow users to also have a nice way of importing the model (without having to manually copy-paste code from the template).