vipr.plugins.normalizers.interfaces package¶
Submodules¶
vipr.plugins.normalizers.interfaces.normalizer module¶
Simple interface for normalizers in vipr.
This module defines a simple interface for normalizers that use the filter pattern.
- class vipr.plugins.normalizers.interfaces.normalizer.NormalizerInterface¶
Bases:
ABCA simple interface for normalizers.
All normalizers should implement this interface to ensure consistent behavior.
- abstract normalize_filter(x: ndarray, y: ndarray, **kwargs) Tuple[ndarray, ndarray]¶
Normalize the data in a filter pattern.
- Parameters:
x – Independent variable array (e.g., q-values)
y – Dependent variable array to normalize (e.g., reflectivity curve)
**kwargs – Additional parameters specific to the normalization method
- Returns:
Tuple containing the x and normalized y arrays
Module contents¶
Interfaces for normalizer handlers.