common/
ifsf_manygauss.pro
top ifsf_manygauss
IFSFIT
result = ifsf_manygauss(wave, param)
This function is input to MPFIT, which uses it to compute the emission line spectrum of multiple Gaussian emission lines simultaneously. This routine assumes constant dispersion (in A/pix), and uses this fact to optimize the computation by working with smaller sub-arrays. Use MANYGAUSS_SLOW (which works with large arrays) for data without constant dispersion.
Return value
An N-element array containing an emission-line spectrum.
Parameters
- wave in required type=dblarr(N)
Wavelengths
- param in required type=dblarr
Best-fit parameter array output by MPFIT.
Author information
- Author:
David S. N. Rupke:
Rhodes College Department of Physics 2000 N. Parkway Memphis, TN 38104 drupke@gmail.com
- Copyright:
Copyright (C) 2013 David S. N. Rupke
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
- History:
ChangeHistory:
2009, DSNR, copied from manygauss_slow.pro and rewritten 2013sep, DSNR, switch sigma from wavelength to velocity space 2013nov13, DSNR, documented, renamed, added license and copyright
File attributes
Modification date: | Mon Feb 17 09:46:52 2014 |
Lines: | 99 |
Docformat: | rst rst |