agauss, zagauss: gaussian line profile in wavelength space

A simple gaussian line profile. If the width is then it is treated as a delta function. The zagauss variant computes a redshifted gaussian.

where:

par1 = | line wavelength in Angstrom |

par2 = | line width in Angstrom |

Norm = K | total photons/cm/s in the line |

For zagauss the corresponding formula is:

and the parameters are:

par1 = | line wavelength in Angstrom |

par2 = | line width in Angstrom |

par3 = z | redshift |

Norm = K | total photons/cm/s in the line |

The line is truncated at the point that the integrated flux under the line is within a critical value of the total flux. This critical value can be changed using xset LINECRITLEVEL. The default critical value is .