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).
We have kept the code for the planet model inside
toi_template.ipynb
so that the model is clearly visible (isnt being hidden inside thetess_atlas
src) and anyone can download and hack at it without having to download + hacktess_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 thetoi_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).