turbustat.statistics.
PowerSpectrum
(img, header, weights=None)[source] [edit on github]¶Bases: object
Compute the power spectrum of a given image. (Burkhart et al., 2010)
Parameters: | img : numpy.ndarray
header : FITS header
|
---|
Methods Summary
Methods Documentation
compute_pspec
()[source] [edit on github]¶Compute the 2D power spectrum.
compute_radial_pspec
(return_index=True, wavenumber=False, return_stddev=False, azbins=1, binsize=1.0, view=False, **kwargs)[source] [edit on github]¶Computes the radially averaged power spectrum. This uses Adam Ginsburg’s code (see https://github.com/keflavich/agpy). See the above url for parameter explanations.
run
(phys_units=False, verbose=False)[source] [edit on github]¶Full computation of the Spatial Power Spectrum.
Parameters: | phys_units : bool, optional
verbose: bool, optional
|
---|