turbustat.statistics.
Wavelet_Distance
(dataset1, dataset2, scales=None, num=50, xlow=None, xhigh=None, fiducial_model=None)[source] [edit on github]¶Bases: object
Compute the distance between the two cubes using the Wavelet transform. We fit a linear model to the two wavelet transforms. The distance is the t-statistic of the interaction term describing the difference in the slopes.
Parameters: | dataset1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
dataset2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
scales : numpy.ndarray or list
num : int
fiducial_model : wt2D
xlow : float or np.ndarray, optional
xhigh : float or np.ndarray, optional
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Implements the distance metric for 2 wavelet transforms. |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, ang_units=False, unit=Unit("deg"), save_name=None)[source] [edit on github]¶Implements the distance metric for 2 wavelet transforms. We fit the linear portion of the transform to represent the powerlaw
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
ang_units : bool, optional
unit : u.Unit, optional
save_name : str,optional
|
---|