Skip to content

Commit

Permalink
Merge pull request #701 from kevin218/dev/tjb3
Browse files Browse the repository at this point in the history
Better documenting multi-channel and multi-planet EPF settings
  • Loading branch information
kevin218 authored Sep 24, 2024
2 parents 6919a48 + 6e14b1f commit b797446
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/source/ecf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,10 @@ Optional. Determines whether to correct the astrophysical model for the light tr
The light travel time effect is caused by the finite speed of light which means that the signal from a secondary eclipse (which occurs on the far side of the orbit) arrive later than would be expected if the speed of light were infinite.
Unless specified, compute_ltt is set to True for batman_ecl and starry models but set to False for batman_tr models (since the light travel time is insignificant during transit).

num_planets
'''''''''''
Optional. By default, the code will assume that you are only fitting for a single exoplanet. If, however, you are fitting signals from multiple planets simultaneously, you must set ``num_planets`` to the number of planets being fitted.

force_positivity
''''''''''''''''
Optional boolean. Used by the sinusoid_pc and poet_pc models. If True, force positive phase variations (phase variations that never go below the bottom of the eclipse). Physically speaking, a negative phase curve is impossible, but strictly enforcing this can hide issues with the decorrelation or potentially bias your measured minimum flux level. Either way, use caution when choosing the value of this parameter.
Expand Down Expand Up @@ -1082,11 +1086,12 @@ This file describes the transit/eclipse and systematics parameters and their pri

``Name Value Free PriorPar1 PriorPar2 PriorType``

``Name`` defines the specific parameter being fit for. Available options are:
``Name`` defines the specific parameter being fit for. When fitting for multiple channels simultaneously, you can add optionally add ``_ch#`` after the parameter (e.g., ``rprs``, ``rprs_ch1``, ``rprs_ch2``, etc.) to set channel-specific priors; if you don't manually set a different prior for each channel, the code will default to the prior for the 0th channel (e.g., ``rprs``).
Available fitting parameters are:
- Transit and Eclipse Depth Parameters
- ``rp`` or ``rprs`` - planet-to-star radius ratio, for the transit models.
- ``fp`` or ``fpfs`` - planet-to-star flux ratio, for the eclipse models.
When fitting for multiple planets, add a number after the parameter (e.g., ``rprs``, ``rprs1``, ``rprs2``, etc.). This also applies to the planet orbital parameters below.
When fitting for multiple planets, add ``_pl#`` after the parameter (e.g., ``rprs``, ``rprs_pl1``, ``rprs_pl2``, etc.). This also applies to the planetaty orbital parameters below. Also be sure to set the ``num_planets`` parameter in your ECF (not EPF) to specify the number of planets being modelled simultaneously.
- Orbital Parameters
- ``per`` - orbital period (in days)
- ``t0`` - transit time (in the same units as your input data - most likely BMJD_TDB)
Expand Down

0 comments on commit b797446

Please sign in to comment.