Documentation for /Users/drupke/Dropbox/git/ifsfit/

Generated by IDLdoc

common/

ifsf_normnad.pro


top ifsf_normnad

IFSFIT

result = ifsf_normnad(wave, flux, err, z [, fitord=double] [, fitranlo=dblarr(2)] [, fitranhi=dblarr(2)])

Normalize region around Na D using a polynomial.

Return value

type=dblarr(Nwave,2): Normalized flux and error vectors.

Parameters

wave in required type=dblarr(N)

Wavelengths of data to fit.

flux in required type=dblarr(N)

Fluxes of data to fit.

err in required type=dblarr(N)

Flux errors of data to fit.

z in required type=double

Redshift to use in computing default fit ranges.

Keywords

fitord in optional type=double default=2

Polynomial order to use in fitting continuum.

fitranlo in optional type=dblarr(2) default=[5810,5865]*(1+z)

Wavelength limits of region below Na D to use in fit.

fitranhi in optional type=dblarr(2) default=[5905,5960]*(1+z)

Wavelength limits of region above Na D to use in fit.

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:

2013nov22, DSNR, created (copied normalization bits from old routine 'printnadspec')

File attributes

Modification date: Mon Feb 17 09:46:52 2014
Lines: 80
Docformat: rst rst