Variability Statistics (stats)#

Functions#

get_MAD(flux)

Get the median absolute deviation of an array of fluxes

get_sigmaG(flux)

Compute a rank-based estimate of the standard deviation

get_range(flux, bottom_percentile, ...)

get_skewness(flux)

Calculate the skewness of an array of fluxes

von_neumann_ratio(flux)

Calculate the (inverted) Von Neumann Ratio for an array of fluxes

J_stetson(time, mag, mag_err[, pair_threshold])

Calculate the J Stetson statistic as a measure of variability

periodogram(time, flux, flux_err, frequencies)

Generate a bootstrapped Lomb-Scargle periodogram and various associated statistics

longest_contiguous_chunk(times[, ...])

Create a mask for the largest contiguous chunk of observations

autocorr(time, flux[, largest_gap_allowed, plot])

Calculate the autocorrelation function for an array of fluxes