pvtend.auto_prenorm
- pvtend.auto_prenorm(fields: list[ndarray], mask: ndarray | None = None) list[float][source]
Compute per-event pre-normalization constants.
Each constant is 1 / P95(|field|) over the masked region, so that the pre-normalized field has O(1) magnitude.
- Parameters:
fields – List of raw SI-unit basis fields.
mask – Optional boolean mask (True = include).
- Returns:
List of scale factors, one per field.