- eradiate.ckd.bin_filter_interval(wmin, wmax, endpoints=True)[source]#
Select bins in a wavelength interval.
pint.Quantity) – Lower bound of the spectral interval defining the filter.
pint.Quantity) – Upper bound of the spectral interval defining the filter. Must be equal to or greater than
bool) – If
True, bins must have at least one of their bounds within the interval to be selected. If
False, bins must have both bounds in the interval to be selected.
callable()– A callable which returns
Trueiff a bin is in the specified interval.
ValueError – If
wmin > wmax.