turbustat.statistics.
VCS_Distance
(cube1, cube2, breaks=None, fiducial_model=None, vel_units=False)[source] [edit on github]¶Bases: object
Calculate the distance between two cubes using VCS. The 1D power spectrum is modeled by a broked linear model to account for the density and velocity dominated scales. The distance is the sum of the t-statistics for each model.
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 : VCS
vel_units : bool, optional
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Implements the distance metric for 2 VCS transforms. |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, save_name=None)[source] [edit on github]¶Implements the distance metric for 2 VCS transforms. This distance is the t-statistic of the difference in the slopes.
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
save_name : str,optional
|
---|