Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Algorithm 916: Computing the Faddeyeva and Voigt Functions

Published: 05 January 2012 Publication History
  • Get Citation Alerts
  • Abstract

    We present a MATLAB function for the numerical evaluation of the Faddeyeva function w(z). The function is based on a newly developed accurate algorithm. In addition to its higher accuracy, the software provides a flexible accuracy vs efficiency trade-off through a controlling parameter that may be used to reduce accuracy and computational time and vice versa. Verification of the flexibility, reliability, and superior accuracy of the algorithm is provided through comparison with standard algorithms available in other libraries and software packages.

    Supplementary Material

    ZIP File (916.zip)
    Software for Computing the Faddeyeva and Voigt Functions

    References

    [1]
    Abramowitz, M. and Stegun, I. A. 1972. Handbook of mathematical functions. Dover Publications, Inc., New York.
    [2]
    Abrarov, S. M., Quine, B. M., and Jagpal, R. K. 2010a. Rapidly convergent series for high-accuracy calculation of the Voigt function. J. Quant. Spectrosc. Radiat. Transfer 111, 372--375.
    [3]
    Abrarov, S. M., Quine, B. M., and Jagpal, R. K. 2010b. High-accuracy approximation of the complex probability functions by Fourier expansion of exponential multiplier. Comput. Phys. Comm. 181, 876--882.
    [4]
    Armstrong, B. H. 1967. Spectrum line profiles: The Voigt function. J. Quant. Spectrosc. Radiat. Transfer 7, 61--88.
    [5]
    Boas, M. L. 2006. Mathematical Methods in the Physical Sciences. 3rd Ed. Wiely.
    [6]
    Dominguez, H. J., Llamas, H. F., Prieto, A. C., and Ortega, A. B. 1987. A simple relationship between the Voigt integral and the plasma dispersion function. Additional methods to estimate the Voigt integral. Nuclear Instrum. Methods Phys. Res. A 278, 625--626.
    [7]
    Gautschi, W. 1967. Algorithm 363 - Complex error function. Comm. ACM 12, 635.
    [8]
    Gautschi, W. 1970. Efficient computation of the complex error function. SIAM J. Numer. Anal. 7, 187--198.
    [9]
    Hui, A. K., Armstrong, B. H., and Wray, A. A. 1978. Rapid computation of the Voigt and complex error functions. J. Quant. Spectrosc. Radiat. Transfer 19, 509--516. http://www.hmet.net/software/matlab/astrolib/math/cerf.m
    [10]
    Humlíček, J. 1982. Optimized computation of the Voigt and complex probability functions. J. Quant. Spectrosc. Radiat. Transfer 27, 4, 437--444.
    [11]
    Letchworth, K. L. and Benner, D. C. 2007. Rapid and accurate calculation of the Voigt function. J. Quant. Spectrosc. Radiat. Transfer 107, 173--192.
    [12]
    Lether, F. G. and Wenston, P. R. 1991. The numerical computation of the Voigt function by a corrected midpoint quadrature rule for (-∞, ∞). J. Computat. Appl. Math. 34, 75--92.
    [13]
    Luque, J. M., Calzada, M. D., and Saez, M. 2005. A new procedure for obtaining the Voigt function dependent upon the complex error function. J. Quant. Spectrosc. Radiat. Transfer 94, 151--161.
    [14]
    Poppe, G. P. M. and Wijers, M. J. 1990a. More efficient computation of the complex error function. ACM Trans. Math. Softw. 16, 1, 38--46.
    [15]
    Poppe, G. P. M. and Wijers, C. M. J. 1990b. Algorithm 680, Evaluation of the complex error function. ACM Trans. Math. Softw. 16, 1, 47.
    [16]
    Salzer, H. E. 1951. Formulas for calculating the error function of a complex variable. Math. Tables Other Aids Computat. 5, 67--70.
    [17]
    Schreier, F. 1992. The Voigt and complex error function: A comparison of computational methods. J. Quant. Spectrosc. Radiat. Transfer 48, 5/6, 743--762.
    [18]
    Shippony, Z. and Read, W. G. 1993. A highly accurate Voigt function algorithm. J. Quant. Spectrosc. Radiat. Transfer 50, 635--646.
    [19]
    Shippony, Z. and Read, W. G. 2003. A correction to a highly accurate Voigt function algorithm. J. Quant. Spectrosc. Radiat. Transfer 78, 2, 255.
    [20]
    Weideman, J. A. C. 1994. Computation of the complex error function. SIAM J. Numer. Anal. 31, 5, 1497--1518.
    [21]
    Wells, R. J. 1999. Rapid approximation to the Voigt/Faddeeva function and its derivatives. J. Quant. Spectrosc. Radiat. Transfer 62, 29--48.
    [22]
    Wolfram Research, Inc., 2008. Mathematica, Version 7.0, Champaign, IL.
    [23]
    Zaghloul, M. R. 2007. On the calculation of the Voigt Line-Profile: A single proper integral with a damped sine integrand. Mon. Not. R. Astron. Soc. 375, 3, 1043--1048.
    [24]
    Zaghloul, M. R. 2008. Comment on: A fast method of modeling spectral lines. J. Quant. Spectrosc. Radiat. Transfer 109, 2895--2897.

    Cited By

    View all
    • (2024)Extracting Physical Information from the Voigt Profile Using the Lambert W FunctionPlasma10.3390/plasma70200237:2(427-445)Online publication date: 27-May-2024
    • (2024)Simulation Analysis and Retrieval of Venusian Lower Atmosphere Based on Microwave SoundingIEEE Transactions on Geoscience and Remote Sensing10.1109/TGRS.2024.337667462(1-14)Online publication date: 2024
    • (2024)Rapid computation of the plasma dispersion function: Rational and multi-pole approximation, and improved accuracyAIP Advances10.1063/5.021643314:7Online publication date: 2-Jul-2024
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Mathematical Software
    ACM Transactions on Mathematical Software  Volume 38, Issue 2
    December 2011
    136 pages
    ISSN:0098-3500
    EISSN:1557-7295
    DOI:10.1145/2049673
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 05 January 2012
    Accepted: 01 May 2011
    Revised: 01 July 2010
    Received: 01 January 2010
    Published in TOMS Volume 38, Issue 2

    Permissions

    Request permissions for this article.

    Check for updates

    Badges

    Author Tags

    1. Faddeyeva function
    2. Function evaluation
    3. Matlab
    4. accuracy

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)73
    • Downloads (Last 6 weeks)3
    Reflects downloads up to 14 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Extracting Physical Information from the Voigt Profile Using the Lambert W FunctionPlasma10.3390/plasma70200237:2(427-445)Online publication date: 27-May-2024
    • (2024)Simulation Analysis and Retrieval of Venusian Lower Atmosphere Based on Microwave SoundingIEEE Transactions on Geoscience and Remote Sensing10.1109/TGRS.2024.337667462(1-14)Online publication date: 2024
    • (2024)Rapid computation of the plasma dispersion function: Rational and multi-pole approximation, and improved accuracyAIP Advances10.1063/5.021643314:7Online publication date: 2-Jul-2024
    • (2024)REDEN: Interactive multi-fitting decomposition-based NMR peak picking assistantJournal of Magnetic Resonance10.1016/j.jmr.2023.107600358(107600)Online publication date: Jan-2024
    • (2024)A new approach to the evaluation and solution of the relativistic kinetic dispersion relation and verification with continuum kinetic simulationJournal of Computational Physics10.1016/j.jcp.2024.113001508(113001)Online publication date: Jul-2024
    • (2024)Shape Anisotropy and Magnetic Texture Determination in Anisotropic and Isotropic Alnico MagnetsJOM10.1007/s11837-024-06586-3Online publication date: 14-May-2024
    • (2024)Efficient numerical algorithms for multi-precision and multi-accuracy calculation of the error functions and Dawson integral with complex argumentsNumerical Algorithms10.1007/s11075-023-01727-2Online publication date: 20-Feb-2024
    • (2024)Efficient multiple-precision computation of the scaled complementary error function and the Dawson integralNumerical Algorithms10.1007/s11075-023-01608-895:3(1291-1308)Online publication date: 1-Mar-2024
    • (2023)A Characteristic-Spectral-Mixed Scheme for Six-Dimensional Wigner–Coulomb DynamicsSIAM Journal on Scientific Computing10.1137/22M149429445:6(B906-B931)Online publication date: 7-Dec-2023
    • (2023)Three-dimensional coupling of electron cyclotron drift instability and ion–ion two stream instabilityPhysics of Plasmas10.1063/5.012229330:3Online publication date: 21-Mar-2023
    • Show More Cited By

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media