draco.analysis.powerspectrum
Power spectrum estimation code.
Classes
Estimate a power spectrum from a set of KLModes. |
- class draco.analysis.powerspectrum.QuadraticPSEstimation[source]
Bases:
SingleTask
Estimate a power spectrum from a set of KLModes.
- psname
Name of power spectrum to use. Must be precalculated in the driftscan products.
- Type:
str
- pstype
Type of power spectrum estimate to calculate. One of ‘unwindowed’, ‘minimum_variance’ or ‘uncorrelated’.
- Type:
str
Initialize pipeline task.
May be overridden with no arguments. Will be called after any config.Property attributes are set and after ‘input’ and ‘requires’ keys are set up.
- process(klmodes)[source]
Estimate the power spectrum from the given data.
- Parameters:
klmodes (containers.KLModes) – KLModes for which to estimate the power spectrum
- Returns:
ps
- Return type:
containers.PowerSpectrum