taylorbell57 / Bell_EBM

An object-oriented Energy Balance Model that can be used to model exoplanet observations
https://bell-ebm.readthedocs.io
MIT License
4 stars 3 forks source link

Allow faster modelling by pre-computing orbit #1

Closed taylorbell57 closed 5 years ago

taylorbell57 commented 5 years ago

Speed up orbital calculations when running models by pre-computing distances and true anomaly to avoid duplication of effort.

This could allow for the future possibility of using the code for inverting phasecurves of eccentric planets. That's not overly likely though, given that the computation time would need to be ~1 millisecond at most. That's not impossible though - current runs including plotting take ~10 seconds and I'm burning in the model way longer than needed for inverting noisy Spitzer phasecurves.

taylorbell57 commented 5 years ago

Implemented with previous commit: https://github.com/taylorbell57/Bell_EBM/commit/d48ed1cb48b089f8509e70b3c6f7ed6dc8d2724a