pyfli.data_cc.preprocessing#
Apply threshold masks and shared boolean masks to one or more data arrays.
This module belongs to pyfli.data_cc and is part of PyFLI array preprocessing
helpers for normalization, masking, ROI extraction, and IRF alignment. Public API
includes classes DataPreprocessing.
Classes
|
Apply reusable masks and threshold filters to one or more aligned data arrays. |
- class DataPreprocessing(*data, mask=None)[source]#
Bases:
objectApply reusable masks and threshold filters to one or more aligned data arrays. It is useful before fitting, visualization, and statistical comparison steps that need shared valid-pixel selection.
- Parameters:
*data (
Any) – Additional positional values accepted by the object.mask (
np.ndarray | None) – Boolean mask selecting valid pixels or samples.