Welcome to iraf.net Thursday, March 28 2024 @ 11:54 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Deblending with splot using input file 'f'
   
chewbacca
 07/24/2014 09:06PM (Read 1131 times)  
+----
Newbie
okay

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!

 
Profile Email
 Quote
fitz
 07/25/2014 04:19PM  
AAAAA
Admin

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.



 
Profile Email
 Quote
chewbacca
 07/25/2014 08:06PM  
+----
Newbie

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...

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login