Welcome to iraf.net Thursday, May 09 2024 @ 09:57 PM GMT
chewbacca |
07/24/2014 09:06PM (Read 1140 times)
|
|
|
Status: offline
Registered: 07/17/2014
Posts: 14
|
Hi,
If I want to use a file to specify wavelengths, widths, fluxes etc for the lines I am trying to fit with the deblending 'd' routine in splot, in what order should I list the information in the file e.g.
wavelength1 flux1 g fwhm1 eqw1 ...
wavelength2 flux2 g fwhm2 eqw2 ...
I couldn't find this information anywhere in the help files.
Thanks!
|
|
|
|
fitz |
07/25/2014 04:19PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
This is discussed in the SPLOT help page section "PROFILE FITTING AND DEBLENDING" when discussing the use of the 'f' keystroke command. Specifically,
The 'f' key asks for a line list file. The format of this file has one or more columns. The columns are the wavelength, the peak value (relative to the continuum with negative values being absorption), the profile type (gaussian, lorentzian, or voigt), and the
gaussian and/or lorentzian FWHM. End columns may be missing or INDEF values may be used to have values be approximated.
Below are examples of the file line formats
wavelength
wavelength peak
wavelength peak (gaussian|lorenzian|voigt)
wavelength peak gaussian gfwhm
wavelength peak lorentzian lfwhm
wavelength peak voigt gfwhm
wavelength peak voigt gfwhm lfwhm
1234.5 <- Wavelength only
1234.5 -100 <- Wavelength and peak
1234.5 INDEF v <- Wavelength and profile type
1234.5 INDEF g 12 <- Wavelength and gaussian FWHM
where peak is the peak value, gfwhm is the gaussian FWHM, and lfwhm is the lorentzian FWHM. This format is the same as used by fitprofs and also by artdata.mk1dspec (except in the latter case the peak is normalized to a continuum of 1).
See the help page for additional details.
|
|
|
|
chewbacca |
07/25/2014 08:06PM
|
|
|
Status: offline
Registered: 07/17/2014
Posts: 14
|
Alright, thanks!
I was looking at
http://www.astro.rug.nl/~onderwys/OWCLUSTER/splothelp.html
which is missing this information, but I just realized it is not an official iraf page...
|
|
|
|
| |
|
Content generated in: 0.09 seconds |
|