knuth_bw_selector

cosmic.utils.knuth_bw_selector(dat_list)[source]

Selects the kde bandwidth using Knuth’s rule implemented in Astropy If Knuth’s rule raises error, Scott’s rule is used

Parameters:
dat_listlist

List of data arrays that will be used to generate a kde

Returns:
bw_minfloat

Minimum of bandwidths for all of the data arrays in dat_list