turbustat.statistics.
Tsallis
(img, lags=None, num_bins=500, periodic=False)[source] [edit on github]¶Bases: turbustat.statistics.base_statistic.BaseStatisticMixIn
The Tsallis Distribution (see Tofflemire et al., 2011)
Parameters: | img : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
lags : numpy.ndarray or list
num_bins : int, optional
periodic : bool, optional
|
---|---|
Parameters: | periodic : bool, optional
|
Methods Summary
fit_tsallis ([sigma_clip]) |
Fit the Tsallis distributions. |
make_tsallis () |
Calculate the Tsallis distribution at each lag. |
run ([verbose, sigma_clip, save_name]) |
Run all steps. |
Methods Documentation
fit_tsallis
(sigma_clip=2)[source] [edit on github]¶Fit the Tsallis distributions.
Parameters: | sigma_clip : float
|
---|
make_tsallis
()[source] [edit on github]¶Calculate the Tsallis distribution at each lag. We standardize each distribution such that it has a mean of zero and variance of one.
run
(verbose=False, sigma_clip=2, save_name=None)[source] [edit on github]¶Run all steps.
Parameters: | verbose : bool, optional
sigma_clip : float
save_name : str,optional
|
---|