turbustat.statistics.
Dendrogram_Stats
(cube, min_deltas=None, dendro_params=None)[source] [edit on github]¶Bases: object
Dendrogram statistics as described in Burkhart et al. (2013) Two statistics are contained: * number of leaves + branches vs. $delta$ parameter * statistical moments of the intensity histogram
Parameters: | cube : numpy.ndarray
min_deltas : numpy.ndarray or list
dendro_params : dict
|
---|
Methods Summary
Methods Documentation
compute_dendro
(verbose=False, save_dendro=False, dendro_name=None, dendro_obj=None)[source] [edit on github]¶Compute the dendrogram and prune to the minimum deltas. ** min_deltas must be in ascending order! **
Parameters: | verbose : optional, bool
save_dendro : optional, bool
dendro_name : str, optional
dendro_obj : Dendrogram, optional
|
---|
fit_numfeat
(size=5, verbose=False)[source] [edit on github]¶Fit a line to the power-law tail. The break is approximated using a moving window, computing the standard deviation. A spike occurs at the break point.
Parameters: | size : int. optional
verbose : bool, optional
|
---|
make_hist
()[source] [edit on github]¶Creates histograms based on values from the tree. Note: These histograms are remade whenc calculating the distance to ensure the proper form for the Hellinger distance.
Returns: | hists : list
|
---|
run
(verbose=False, dendro_verbose=False, save_results=False, output_name=None)[source] [edit on github]¶Compute dendrograms. Necessary to maintain the package format.
Parameters: | verbose : optional, bool dendro_verbose : optional, bool
|
---|