astrobase.periodbase package¶
This package contains various useful tools for finding periods in astronomical time-series observations.
astrobase.periodbase.spdm
: Stellingwerf (1978) phase-dispersion minimization period search algorithm.astrobase.periodbase.saov
: Schwarzenberg-Czerny (1989) analysis of variance period search algorithm.astrobase.periodbase.smav
: Schwarzenberg-Czerny (1996) multi-harmonic AoV period search algorithm.astrobase.periodbase.zgls
: Zechmeister & Kurster (2009) generalized Lomb-Scargle period search algorithm.astrobase.periodbase.kbls
: Kovacs et al. (2002) Box-Least-Squares search using a wrapped eebls.f from G. Kovacs.astrobase.periodbase.abls
: Kovacs et al. (2002) BLS using Astropy’s implementation.astrobase.periodbase.htls
: Hippke & Heller (2019) Transit-Least-Squares period search algorithm.astrobase.periodbase.macf
: McQuillan et al. (2013a, 2014) ACF period search algorithm.
Some utility functions are present in:
astrobase.periodbase.utils
: Functions to generate frequency grids and other useful bits.astrobase.periodbase.falsealarm
: Functions to calculate false-alarm probabilities.
This module¶
This top-level module hoists all period-finder functions up into the
astrobase.periodbase
namespace, so you can do:
from astrobase import periodbase
periodbase.<name of period-finder function>
-
astrobase.periodbase.
use_astropy_bls
()[source]¶ This function can be used to switch from the default astrobase BLS implementation (kbls) to the Astropy version (abls).
If this is called, subsequent calls to the BLS periodbase functions will use the Astropy versions instead:
from astrobase import periodbase # initially points to periodbase.kbls.bls_serial_pfind periodbase.bls_serial_pfind(...) # initially points to periodbase.kbls.bls_parallel_pfind periodbase.bls_parallel_pfind(...) periodbase.use_astropy_bls() # now points to periodbase.abls.bls_serial_pfind periodbase.bls_serial_pfind(...) # now points to periodbase.abls.bls_parallel_pfind periodbase.bls_parallel_pfind(...)
Submodules¶
- astrobase.periodbase.utils module
- astrobase.periodbase.falsealarm module
- astrobase.periodbase.abls module
- astrobase.periodbase.kbls module
- astrobase.periodbase.htls module
- astrobase.periodbase.macf module
- astrobase.periodbase.saov module
- astrobase.periodbase.smav module
- astrobase.periodbase.spdm module
- astrobase.periodbase.zgls module