turbustat.statistics.
VCA_Distance
(cube1, cube2, slice_size=1.0, breaks=None, fiducial_model=None, logspacing=False, low_cut=None, high_cut=None)[source] [edit on github]¶Bases: object
Calculate the distance between two cubes using VCA. The 1D power spectrum is modeled by a linear model. The distance is the t-statistic of the interaction between the two slopes.
Parameters: | cube1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
cube2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
slice_size : float, optional
breaks : float, list or array, optional
fiducial_model : VCA
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Implements the distance metric for 2 VCA transforms, each with the same channel width. |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, ang_units=False, unit=Unit("deg"), save_name=None, use_wavenumber=False)[source] [edit on github]¶Implements the distance metric for 2 VCA transforms, each with the same channel width. 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
use_wavenumber : bool, optional
|
---|