eradiate.ckd.bin_filter#

eradiate.ckd.bin_filter(type, filter_kwargs)[source]#

Create a bin filter function dynamically.

Parameters
  • type (str) – Filter type.

  • filter_kwargs (dict) – Keyword arguments passed to the filter generator.

Returns

callable() – Generated bin filter function.

Notes

Valid filter types are:

See the corresponding API entry for expected arguments.