turbustat.statistics.
PCA_Distance
(cube1, cube2, n_eigs=50, fiducial_model=None, mean_sub=True)[source] [edit on github]¶Bases: object
Compare two data cubes based on the eigenvalues of the PCA decomposition. The distance is the Euclidean distance between the eigenvalues.
Parameters: | cube1 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
cube2 : numpy.ndarray or astropy.io.fits.PrimaryHDU or SpectralCube
n_eigs : int
fiducial_model : PCA
mean_sub : bool, optional
|
---|
Methods Summary
distance_metric ([verbose, label1, label2, ...]) |
Computes the distance between the cubes. |
Methods Documentation
distance_metric
(verbose=False, label1='Cube 1', label2='Cube 2', save_name=None)[source] [edit on github]¶Computes the distance between the cubes.
Parameters: | verbose : bool, optional
label1 : str, optional
label2 : str, optional
save_name : str, optional
|
---|