turbustat.statistics.
SCF_Distance
(cube1, cube2, size=21, boundary='continuous', fiducial_model=None, weighted=True)[source] [edit on github]¶Bases: object
Calculates the distance between two data cubes based on their SCF surfaces. The distance is the L2 norm between the surfaces. We weight the surface by 1/r^2 where r is the distance from the centre.
Parameters: | cube1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
cube2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
size : int, optional
boundary : {“continuous”, “cut”}
fiducial_model : SCF
weighted : bool, optional
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Compute the distance between the surfaces. |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, ang_units=False, unit=Unit("deg"), save_name=None)[source] [edit on github]¶Compute the distance between the surfaces.
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
ang_units : bool, optional
unit : u.Unit, optional
save_name : str,optional
|
---|