eradiate.ckd.bin_filter#
- eradiate.ckd.bin_filter(type, filter_kwargs)[source]#
Create a bin filter function dynamically.
- Parameters:
- Returns:
callable()
– Generated bin filter function.
Notes
Valid filter types are:
all
(lambda x: True
);ids
(bin_filter_ids()
);interval
(bin_filter_interval()
).
See the corresponding API entry for expected arguments.