turbustat.statistics.
VCS
(cube, header, phys_units=False)[source] [edit on github]¶Bases: object
The VCS technique (Lazarian & Pogosyan, 2004).
Parameters: | cube : numpy.ndarray
header : FITS header
phys_units : bool, optional
|
---|
Attributes Summary
brk |
|
brk_err |
|
slope_errs |
|
slopes |
Methods Summary
Attributes Documentation
brk
¶brk_err
¶slope_errs
¶slopes
¶Methods Documentation
compute_fft
()[source] [edit on github]¶Take the FFT of each spectrum in velocity dimension.
fit_pspec
(breaks=None, log_break=True, lg_scale_cut=2, verbose=False)[source] [edit on github]¶Fit the 1D Power spectrum using a segmented linear model. Note that the current implementation allows for only 1 break point in the model. If the break point is estimated via a spline, the breaks are tested, starting from the largest, until the model finds a good fit.
Parameters: | breaks : float or None, optional
log_break : bool, optional
lg_scale_cut : int, optional
verbose : bool, optional
|
---|
make_ps1D
()[source] [edit on github]¶Create a 1D power spectrum by averaging the correlation cube over all pixels.
run
(verbose=False, breaks=None)[source] [edit on github]¶Run the entire computation.
Parameters: | verbose: bool, optional
breaks : float, optional
|
---|