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

Generated by IDLdoc

common/

ifsf_masklin.pro


top ifsf_masklin

IFSFIT

result = ifsf_masklin(lambda, linelambda, halfwidth [, nomaskran=dblarr(2,nreg)])

Mask data near emission lines.

Return value

Array of lambda-array indices indicating non-masked wavelengths.

Parameters

lambda in required type=dblarr

Wavelengths of spectrum

linelambda in required type=hash(lines,maxncomp)

Central wavelengths of lines to mask

halfwidth in required type=hash(lines,maxncomp)

Half width (in km/s) of masking region around each line

Keywords

nomaskran in optional type=dblarr(2,nreg)

Set of lower and upper wavelength limits of regions *not* to mask.

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 base code from Harus Jabran Zahid 2013oct, DSNR, documented, added nomaskran keyword 2013nov21, DSNR, renamed, added license and copyright 2013dec11, DSNR, renamed a couple of variables for clarity 2013jan14, DSNR, moved to hash input for line wavelengths and widths

File attributes

Modification date: Mon Feb 17 14:08:26 2014
Lines: 93
Docformat: rst rst