common/
ifsf_optstelz.pro
top ifsf_optstelz
IFSFIT
result = ifsf_optstelz(wave, data, model [, lrange=dblarr(2)] [, dzrange=dblarr(2)] [, dzstep=double] [, quiet=byte])
Find best-fit stellar redshift via cross-correlation with a stellar model. Data and model are assumed to be either both in the rest frame or both in the observed frame.
Return value
Best fit redshift, as a redshift difference between the data and model.
Parameters
- wave in required type=dblarr(N)
Wavelengths.
- data in required type=dblarr(N)
Flux of spectrum to fit.
- model in required type=dblarr(N)
Stellar model.
Keywords
- lrange in optional type=dblarr(2) default=[0,Inf]
Wavelength range over which to do x-correlation.
- dzrange in optional type=dblarr(2) default=[-0.005,0.005]
Range of lags, in redshift space.
- dzstep in optional type=double default=0.00002
Lag step, in redshift space.
- quiet in optional type=byte default=0
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:
2013sep25, DSNR, created 2013nov21, DSNR, documented, renamed, added license and copyright
File attributes
Modification date: | Thu Nov 21 10:12:05 2013 |
Lines: | 109 |
Docformat: | rst rst |