Mahalanobis_Distance

class turbustat.statistics.Mahalanobis_Distance(cube1, cube2)[source] [edit on github]

Bases: object

docstring for Mahalanobis_Distance

Methods Summary

compute_distmats([data_format]) Create a 2D representation of the data.
distance_metric([correlation, verbose]) This serves as a simple wrapper in order to remain with the coding convention used throughout the rest of this project.

Methods Documentation

compute_distmats(data_format='spectra', *args)[source] [edit on github]

Create a 2D representation of the data. args are passed to _format_data.

distance_metric(correlation='pearson', verbose=False)[source] [edit on github]

This serves as a simple wrapper in order to remain with the coding convention used throughout the rest of this project.