pyacs.gts.lib.filters.minimum_component module
Minimum component filter for Gts.
- pyacs.gts.lib.filters.minimum_component.minimum_component(self, mask_period=[], p=1, fcut=None, Q=None, in_place=False, verbose=True)[source]
Minimum component filtering for Gts (background signal in the presence of spikes).
- Parameters:
mask_period (list, optional) – Period(s) to ignore for smoothing (list or list of lists).
p (int, optional) – Polynomial degree for the fit (default 1).
fcut (float, optional) – Cutoff frequency for the low-pass filter. Default f_nyq / sqrt(N).
Q (float, optional) – Strength of the low-pass filter; larger Q = steeper cutoff. Default 0.1 * fcut.
in_place (bool, optional) – If True, replace the current time series; otherwise return a new Gts.
verbose (bool, optional) – Verbose mode.
- Returns:
Filtered time series.
- Return type:
Notes
Follows “Practical Statistics for Astronomers” (Wall & Jenkins) and Wall, J, A&A 122:371, 1997.