turbustat.statistics.
VCA_Distance
(cube1, cube2, slice_size=1.0, breaks=None, fiducial_model=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 : FITS hdu
cube2 : FITS hdu
slice_size : float, optional
breaks : float, list or array, optional
fiducial_model : VCA
|
---|
Methods Summary
Methods Documentation
distance_metric
(labels=None, verbose=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: | labels : list, optional
verbose : bool, optional
|
---|