peak_height
Syntax
peak_height = 8.0e-7
- Meaning
Minimum SED intensity required for pySED to treat a point in a q-slice as a real peak. It is the basic intensity cutoff for automatic Lorentzian peak fitting.
- Default
No parser default.
- Notes
This is the first gate for automatic peak detection. A peak must be higher than this value before pySED attempts a Lorentzian fit.
Set this parameter from a single-q-point slice first. Use
plot_slice = 1and inspect both the plotted spectrum and the frequencies printed by pySED. Ifpeak_heightis too high, weak but real branches are missed. If it is too low, random noise and small shoulders may be fitted as artificial phonon modes.For noisy spectra, tune
peak_heighttogether withpeak_prominence. Height controls the absolute intensity threshold, while prominence controls how clearly a peak stands out from its local background.