Closed fergalm closed 4 years ago
I am going to turn this into a draft PR. When you think it is truly ready for review, you can remove the draft status and ping us again. 😄
Modulo pep8 details, this PR is ready for review. The Tce is a standalone data class, while model generation has been separated off into models.py
This is a proposal for a new TCE class. It adds small modifications to a standard python dictionary. It ensures that certain quantities (period, depth, duration etc.) are astropy Quantities, and refuses to accept efforts to set their values to non-Quantities (e.g floats).
It also adds a method get_model() which returns a model transit in the requested time system (e.g bkjd, bjd etc.).