turbustat.statistics.
GenusDistance
(img1, img2, smoothing_radii=None, fiducial_model=None)[source] [edit on github]¶Bases: object
Distance Metric for the Genus Statistic.
Parameters: | img1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
img2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or spectral_cube.LowerDimensionalObject
smoothing_radii : list, optional
fiducial_model : Genus
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Data is centered and normalized (via normalize). |
Methods Documentation
distance_metric
(verbose=False, label1=None, label2=None, save_name=None)[source] [edit on github]¶Data is centered and normalized (via normalize). The distance is the difference between cubic splines of the curves.
All values are normalized by the area of the image they were calculated from.
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
save_name : str,optional
|
---|