squidpy.experimental.im.ReinhardParams
- class squidpy.experimental.im.ReinhardParams(luminosity_threshold=0.8, mask_background=True)[source]
Tuning knobs for Reinhard stain normalization.
Pass an instance (or a
Mappingof field names to values) asmethod_params. Frozen so validation in__post_init__cannot be silently bypassed by later mutation.Methods
Attributes
Normalised Ruderman Lab-L cutoff in
(0, 1]; pixels brighter than this are excluded from the fit.If
True, fit channel statistics over tissue pixels only; ifFalse, use every pixel (vanilla Reinhard).