This adds an auxiliary function that can be used to generate cuts: generate_condition_function
For instance, the following code will create a function f_cond that upon being called with three conditions returns a boolean mask of the three conditions (as requested by the keyword condition) and the indices in which these are True which is often useful.
This adds an auxiliary function that can be used to generate cuts:
generate_condition_function
For instance, the following code will create a function
f_cond
that upon being called with three conditions returns a boolean mask of the three conditions (as requested by the keywordcondition
) and the indices in which these areTrue
which is often useful.This PR is pointing to PR #56
I'll add the docs directly in #58 though