Welcome to iraf.net Tuesday, May 07 2024 @ 12:30 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Radprof Display Question
   
mwh
 06/04/2010 07:31PM (Read 2684 times)  
+----
Newbie

Status: offline


Registered: 06/04/2010
Posts: 9
Hello,I recently installed iraf and am interested in doing photometry. I had a question about the radprof command...I am interested in using it to measure the radial profiles of my target objects so that I can set my aperture size appropriately. When I try to run radprof, however, I get a bunch of scrambled code in my iraf window followed by the numerical value for the FWHM (as well as the magnitude and all the other outputs) rather than seeing the radial plot displayed. While I know I could in principle just use the numerical value, I would like to be able to see that radial plot display. Is this just something I missed in the installation? What do I do to set up the radprof display?Thanks a lot!
Matt

 
Profile Email
 Quote
fitz
 06/04/2010 07:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
See earlier posts such as https://iraf.net/phpBB2/viewtopic.php?t=86437&highlight=garbage-Mike

 
Profile Email
 Quote
mwh
 06/04/2010 07:31PM  
+----
Newbie

Status: offline


Registered: 06/04/2010
Posts: 9
Thanks for the help! I had another question, this one regarding FITS image headers. I've inherited some image data that I am trying to work with. They are in a FITS format, with a full image header, but have the extension name of .fts. IRAF doesn't seem to recognize .fts, so I have explored two options: either copy the files to a filename with a .fits extension, or use the command "set fts=fits". Both ways seem to work, as I can then display and work with the image in ds9. Unfortunately, I seem to lose all of the information in my original image header when I do this...is there a way to copy the image header information over?Thanks again!Matt

 
Profile Email
 Quote
fitz
 06/04/2010 07:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'imextn' environment variable controls which extensions correspond to which image kernels (e.g. try "cl> show imextn"). This can be set in your login.cl file by first uncommenting the value there and then adding 'fts' to the list of FITS extensions.Alternatively, the RENAME task can change the extension to .fits automatically, i.e.[code:1:f51d0b5ca8]cl> rename *.fts fits field=extn[/code:1:f51d0b5ca8]If by "lose information in the header" you mean DS9 doesn't see the WCS when you use DISPLAY, this is a separate issue (and a long-time problem that requires a change in DS9 to fix). The "set fts=fits" thing shouldn't actually do anything to help.-Mike

 
Profile Email
 Quote
mwh
 06/04/2010 07:31PM  
+----
Newbie

Status: offline


Registered: 06/04/2010
Posts: 9
Thanks again for your quick response! I really appreciate the help, I am a student without much programming or software experience so I've never done anything like this before.It does appear that DS9 doesn't see the WCS when I use display...I can open the image files outside of IRAF (and thus without using the DISPLAY command) with DS9 and the image header is fine. It's only when I try to access the image within IRAF using the DISPLAY command that the header loses the information. Could you point me in the direction of the DS9 fix?Thanks!
Matt

 
Profile Email
 Quote
fitz
 06/04/2010 07:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:f09648d7b7]Could you point me in the direction of the DS9 fix? [/quote:f09648d7b7]You'll need to write to SAO and request that they actually implement it. Like I said, it's a long-time issue but requires SAO to fix it so displays from IRAF work as they're supposed to. Otherwise you can use XImtool.[/quote]

 
Profile Email
 Quote
mwh
 06/04/2010 07:31PM  
+----
Newbie

Status: offline


Registered: 06/04/2010
Posts: 9
Ok, thanks again! The DS9 contact told me to open the images straight into DS9 rather than using the DISPLAY command (so using File -> Open in DS9 itself), and then I'm able to use the IRAF commands from there.-Matt

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