turbustat.statistics.
DeltaVariance_Distance
(dataset1, dataset2, weights1=None, weights2=None, diam_ratio=1.5, lags=None, fiducial_model=None, xlow=None, xhigh=None, boundary='wrap')[source] [edit on github]¶Bases: object
Compares 2 datasets using delta-variance. The distance between them is given by the Euclidean distance between the curves weighted by the bootstrapped errors.
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
weights1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
weights2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
diam_ratio : float, optional
lags : numpy.ndarray or list, optional
fiducial_model : DeltaVariance
ang_units : bool, optional
xlow : float or np.ndarray, optional
xhigh : float or np.ndarray, optional
boundary : str, np.ndarray or list, optional
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Applies the Euclidean distance to the delta-variance curves. |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, ang_units=False, unit=Unit("deg"), save_name=None)[source] [edit on github]¶Applies the Euclidean distance to the delta-variance curves.
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
ang_units : bool, optional
unit : u.Unit, optional
save_name : str,optional
|
---|