voigt¶
- tayph.voigt(x, x0, sigma, gamma)[source] [edit on github]¶
Return the Voigt line shape at x with Lorentzian component HWFM gamma and Gaussian sigma.
Adopted from https://scipython.com/book/chapter-8-scipy/examples/the-voigt-profile/ as a faster alternative (approx 6x) to astropy’s Voigt1D in default.