Welcome to iraf.net Thursday, April 25 2024 @ 06:36 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 [ask] how to get spesific wavelength with rspectext
   
andreas
 07/01/2010 12:21AM (Read 2393 times)  
++---
Junior

Status: offline


Registered: 05/29/2010
Posts: 16
hi all , i have spectrum (gacrux.fits) which cover spectrum in visible wavelength (400 nm - 800 nm). I want to get wavelength from 580 nm - 620 nm. First, i convert gacrux.fits into ASCII text (I used WSPECTEXT) with header and two columns (wavelength and intensity). From its ASCII text file, i select spesific wavelength which i want to get (580 nm - 620 nm) and delete rest wavelength with its correlated intensity (I used RSPECTEXT). The result was error message, "Premature EOF seen in rt_rfpixels"I tried to see the result, using SPLOT. There was spectrum with weird result.I tried another way. I didn't print its header (option in wspectext) and then rspectext. It was worked, but its wavelength was not like it used to be. For example, it wavelength should have value 580 nm - 620 nm with intensity about 30,000 - 50,000 (gaussian pattern), but i get in .fits file value of wavelength was from 1 nm - 40 nm with with intensity about 30,000 - 50,000 (gaussian pattern). Maybe it because i delete its header which contain spectrum database?I think intensity value is right, but how about wavelength? How i solve my problem? Any help would be appreciated!Thank youAndreas

Regards Andreas =============== Engineering Physics Student Photonics Laboratory Sepuluh Nopember Institute of Technology Indonesia
 
Profile Email Website
 Quote
fitz
 07/01/2010 12:21AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Have a look at the SCOPY task as a way to pull out a specific wavelength range. I think your problem is due to the FITS headers not being updated with new NAXIS or wcs keywords after you edit the ascii file.

 
Profile Email
 Quote
andreas
 07/01/2010 12:21AM  
++---
Junior

Status: offline


Registered: 05/29/2010
Posts: 16
[quote:07bf721497="fitz"]Have a look at the SCOPY task as a way to pull out a specific wavelength range. I think your problem is due to the FITS headers not being updated with new NAXIS or wcs keywords after you edit the ascii file.[/quote:07bf721497]Thank you! It's been solved! Big Grin

Regards Andreas =============== Engineering Physics Student Photonics Laboratory Sepuluh Nopember Institute of Technology Indonesia
 
Profile Email Website
 Quote
   
Content generated in: 0.14 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