sherlockpipe.ttvs.TtvFitter
- class sherlockpipe.ttvs.TtvFitter(only_initial, ttvs_error, fit_dir, ttvs_dir)
Bases:
objectFit transit timing variations (TTVs) using allesfitter’s nested sampling.
Prepares the fitting directory, fixes ephemeris parameters to the previously obtained best-fit values, and launches dynamic nested sampling to measure TTVs.
Parameters
- only_initialbool
If
True, only display the initial TTV guess without running the fit.- ttvs_errorfloat
The error window (in days) for each single transit TTV fit.
- fit_dirstr
Path to the main fit results directory.
- ttvs_dirstr
Path to the TTV-specific working directory.
- __init__(only_initial, ttvs_error, fit_dir, ttvs_dir)
Initialize the TTV fitter.
Parameters
- only_initialbool
If
True, only display the initial TTV guess without running the fit.- ttvs_errorfloat
The error window (in days) for each single transit TTV fit.
- fit_dirstr
Path to the main fit results directory.
- ttvs_dirstr
Path to the TTV-specific working directory.
Methods
__init__(only_initial, ttvs_error, fit_dir, ...)Initialize the TTV fitter.
fit()Run the TTV fitting workflow.
- fit()
Run the TTV fitting workflow.
Copies necessary files, fixes ephemeris parameters from the previous best-fit results, prepares TTV parameters, and runs allesfitter nested sampling.