turbustat.statistics.
PowerSpectrum
(img, header=None, weights=None)[source] [edit on github]¶Bases: turbustat.statistics.base_statistic.BaseStatisticMixIn
, turbustat.statistics.base_pspec2.StatisticBase_PSpec2D
Compute the power spectrum of a given image. (e.g., Burkhart et al., 2010)
Parameters: | img : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
header : FITS header, optional
weights : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
|
---|
Methods Summary
compute_pspec () |
Compute the 2D power spectrum. |
run ([verbose, logspacing, return_stddev, ...]) |
Full computation of the spatial power spectrum. |
Methods Documentation
compute_pspec
()[source] [edit on github]¶Compute the 2D power spectrum.
run
(verbose=False, logspacing=False, return_stddev=True, low_cut=None, high_cut=0.5, ang_units=False, unit=Unit("deg"), save_name=None, use_wavenumber=False)[source] [edit on github]¶Full computation of the spatial power spectrum.
Parameters: | verbose: bool, optional
logspacing : bool, optional
return_stddev : bool, optional
low_cut : float, optional
high_cut : float, optional
ang_units : bool, optional
unit : u.Unit, optional
save_name : str,optional
use_wavenumber : bool, optional
|
---|