Welcome to iraf.net Monday, May 13 2024 @ 02:31 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Using RSPEC
   
rohit
 11/03/2007 03:28PM (Read 3423 times)  
++++-
Regular Member

Status: offline


Registered: 06/01/2006
Posts: 86
I am trying to create an image file from a text file. In my text file I have two columns; wavelength and flux, like the sample shown below. When I use RSPEC, it plots the correct flux but arbitrary wavelength scale, basically from 0 to 1000. I want it to use MY wavelength and NOT assign arbitrary wavelength. Please let me know how I should do this. Thanks!
1.24 1.1300
1.24 1.1200
1.24 1.1100
1.24 1.0600
1.24 0.9800
1.24 0.8830
1.24 0.8290
1.24 0.8280
1.24 0.8690

 
Profile Email
 Quote
IvanRamirez
 11/03/2007 03:28PM  
+----
Newbie

Status: offline


Registered: 09/16/2007
Posts: 12
Set: "dtype=inter" in the parameter section; by default "dtype=linear" which ignores the wavelength values; in that case you should give "rspec" the wavelength of your first point and the step. But if your data is not equally spaced in wavelength that's trouble. "dtype=interp" makes a linear interpolation to your data so it might introduce some resampling and rounding errors but that's usually very small.

 
Profile Email Website
 Quote
   
Content generated in: 0.06 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