- qspec. estimate_skewnorm ( med , per_0 , per_1 )[source]
-
Estimate the parameters of a skew normal distribution from its median and 1-sigma percentiles.
- Parameters:
- Returns:
-
- poptndarray | None
The estimated parameters
(a, loc, scale)ofscipy.stats.skewnormthat match the given percentiles, orNoneifper_0orper_1is 0.
- Raises:
-
- ValueError
If the ratio between the left-(right-) and right-(left-)sided uncertainty exceeds 1.5.