turbustat.statistics.
StatMoments
(img, radius=5, periodic=True, nbins=None)[source] [edit on github]¶Bases: object
Statistical Moments of a given image are returned. See Burkhart et al. (2010) for methods used.
Parameters: | img : numpy.ndarray
radius : int, optional
periodic : bool, optional
bins : array or int, optional
|
---|
Methods Summary
Methods Documentation
array_moments
()[source] [edit on github]¶Moments over the entire image.
compute_spatial_distrib
()[source] [edit on github]¶Compute the moments over circular region with the specified radius.
make_spatial_histograms
(mean_bins=None, variance_bins=None, skewness_bins=None, kurtosis_bins=None)[source] [edit on github]¶Create histograms of the moments.
Parameters: | mean_bins : array, optional
variance_bins : array, optional
skewness_bins : array, optional
kurtosis_bins : array, optional
|
---|
run
(verbose=False, kwargs={})[source] [edit on github]¶Compute the entire method.
Parameters: | verbose : bool, optional
kwargs : dict, optional
|
---|