common/
ifsf_refinestz.pro
top ifsf_refinestz
IFSFIT
result = ifsf_refinestz(zinit, wave, flux, err [, sigma=double])
Refine initial guess for stellar redshift by fitting CaII K.
Return value
Best-fit redshift.
Parameters
- zinit in required type=double
Initial redshift guess.
- wave in required type=dblarr(N)
Wavelengths of spectrum.
- flux in required type=dblarr(N)
Fluxes of spectrum.
- err in required type=dblarr(N)
Flux errors of spectrum.
Keywords
- sigma out optional type=double
Best-fit sigma.
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:
2011mar, Joshua Fuchs, created 2011may09, DSNR, ported to generic function 2013nov25, DSNR, documented, renamed, added license and copyright
File attributes
Modification date: | Mon Feb 17 09:46:52 2014 |
Lines: | 96 |
Docformat: | rst rst |