gftool.pade.apply_filter¶
-
gftool.pade.apply_filter(*filters, validity_iter)[source]¶ Handle usage of filters for Pade.
Parameters: - filters : callable
Functions to determine which continuations to keep.
- validity_iter : iterable of (…, N_z) complex np.ndarray
The iterable of analytic continuations as generated by
calc_iterator.
Returns: - is_valid : (…) bool np.ndarray
Array to index which continuations are good.