BiSpectrum_Distance

class turbustat.statistics.BiSpectrum_Distance(data1, data2, nsamples=100, fiducial_model=None)[source] [edit on github]

Bases: object

Calculate the distance between two images based on their bicoherence. The distance is the L2 norm between the bicoherence surfaces.

Parameters:

data1 : FITS hdu

Contains the data and header of the image.

data2 : FITS hdu

Contains the data and header of the image.

nsamples : int, optional

Sets the number of samples to take at each vector magnitude.

fiducial_model : Bispectrum

Computed Bispectrum object. use to avoid recomputing.

Methods Summary

Methods Documentation

distance_metric(verbose=False)[source] [edit on github]