pint.eventstats
Various routines for calculating pulsation test statistics on event data and helper functions.
author: M. Kerr <matthew.kerr@gmail.com>
Functions
|
|
|
Return the cosine test for each harmonic up to the specified m. |
|
Return the empirical Fourier coefficients up to the mth harmonic. |
|
Evaluate the light curve at the provided phases (0 to 1) for the provided coeffs, e.g., as estimated by em_four. |
|
|
|
Shortcut function for calculating sigma from the H-test. |
|
Calculate the H statistic (de Jager et al. 1989) for given phases. |
|
Calculate the H statistic (de Jager et al. 1989) and weight each sine/cosine with the weights in the argument. |
Use the approximate asymptotic calibration from de Jager et al. 2010. |
|
|
Return (analytic, asymptotic) survival function (1-F(h)) for the generalized H-test. |
|
Return the chance probability for a stacked H test assuming the null df for H is exponentially distributed with scale l and that there are k sub-integrations yielding a total TS of h. |
|
Return the survival function (chance probability) according to the asymptotic calibration for the Z^2_m test. |
|
Use approximate (de Jager 2010) relation to invert. |
|
Convert tail probability to "sigma" units. |
|
Convert "sigma" units to chance probability, i.e., return the integral of the normal distribution from sigma to infinity, or twice that quantity if two_tailed. |
|
|
|
|
|
|
|
Return the Z^2_m test for each harmonic up to the specified m. |
|
Return the Z^2_m test for each harmonic up to the specified m. |