phitter.fit.phase_bin
#
Module Contents#
Classes#
phase_bin is a class to assist in binning observations by phase. Instantiate this object with an observables object to indicate the observed observables. |
API#
- class phitter.fit.phase_bin.phase_bin(observations)#
Bases:
object
phase_bin is a class to assist in binning observations by phase. Instantiate this object with an observables object to indicate the observed observables.
- observationsobservables
observables object, specified with the observations to be fit.
Initialization
- phase_in_bins(phase_period, phase_t0, num_bins=100, normalize_uncs=False)#
Function to perform the phasing of observations.
- phase_periodfloat
Period to phase the observations to.
- phase_t0float
t0 to use when performing the phasing.
- num_binsint, default=100
Number of bins to use when phasing. Makes num_bins equal sized bins between phase of 0 – 1.
- normalized_uncsboolean, default=False
Whether or not to normalize the output uncertainties. If False, output uncertainties reflect number of data points in each phase bin. If True, output uncertainties for each phase bin are normalized so that more observations do not result in smaller uncertainties for a given bin.
- phased_observablesobservables
A substitute observables object
phased_model_observables : observables