catrionamurray / chromatic_fitting

chromatic_fitting tool to perform multi-wavelength spectrophotometry built on top of chromatic
MIT License
10 stars 1 forks source link

Add trapezoidal transit model. #18

Closed zkbt closed 2 years ago

zkbt commented 2 years ago

As we just discussed, it might be nice to add a simple trapezoidal transit model to chromatic_fitting. Following https://arxiv.org/abs/1001.2010, the parameters of this might be something like the out-of-transit baseline flux, the transit depth, the total transit duration, and the ingress/egress time. This would be quick to calculate and conceptually simple.

Possible applications would include:

zkbt commented 2 years ago

I realized I wrote one of these along time ago for a class here. I don't know how this gets most efficiently translated to jax/pymc-ish, but maybe it's a helpful starting place?

catrionamurray commented 2 years ago

Added trapezoid model in commit https://github.com/catrionamurray/chromatic_fitting/commit/9fd4e44487cf7210623ff37aae077f43851ebf34