turbustat.statistics.
SCF_Distance
(cube1, cube2, size=11, 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
cube2 : numpy.ndarray
size : int, optional
fiducial_model : SCF
weighted : bool, optional
|
---|
Methods Summary
Methods Documentation
distance_metric
(verbose=False)[source] [edit on github]¶Compute the distance between the surfaces.
Parameters: | verbose : bool, optional
|
---|