NormalizeProfile
Rescales a profile linearly, so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum.
Syntax
C++
C#
Python
def NormalizeProfile( inProfile: Profile, inSaturateHighestFraction: float, inSaturateLowestFraction: float, outProfile: Profile, /, *, inRange: Range | None = None, inNewMinimum: float | None = None, inNewMaximum: float | None = None ) -> ( outA: float, outB: float )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inProfile | Profile | Input profile | ||
![]() |
inRange | Range | None | None | ||
![]() |
inNewMinimum | float | None | None | Desired minimum value of the resulting profile (if set to Nil, the minimum of the input profile is used) | |
![]() |
inNewMaximum | float | None | None | Desired maximum value of the resulting profile (if set to Nil, the maximum of the input profile is used) | |
![]() |
inSaturateHighestFraction | float | 0.0 - 1.0 | Fraction of the highest values skipped during normalization | |
![]() |
inSaturateLowestFraction | float | 0.0 - 1.0 | Fraction of the lowest values skipped during normalization | |
![]() |
outProfile | Profile | Normalized profile | ||
![]() |
outA | float | Multiplicative parameter of the applied linear transformation | ||
![]() |
outB | float | Additive parameter of the applied linear transformation |


