Welcome to iraf.net Tuesday, April 16 2024 @ 09:38 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 daoedit gives weird text when pressing r - also request for demo/example
   
andrej
 01/11/2015 06:58PM (Read 2395 times)  
+++--
Chatty

Status: offline


Registered: 08/21/2009
Posts: 57
Greetings. I am trying to learn how to use daophot and daoedit. I am trying to follow an introduction located at:
http://www.astro.washington.edu/courses/astro480/IRAF/iraf5_tutorial.html

though I am using my own data. I already typed

help daoedit

though I didn't see an answer to my question in the help. When I load a FITS image into SAOimage DS9 (version 6.2), and then in IRAF I type

daoedit

I get the interactive cursor. I can move my cursor over to a star and type a, to give me things like the center coordinates, FWHM, counts, magnitude... but when I type r, I expect a plot; instead I get a lot of weird text in my Terminal window:



ir
irc[9] ` @ `?_8k?_8k @c[0]#r$L#r;R4x;R4x$Ldw[2]c[5]#r$L#r$O#{$O#r$O#r%L#{%L#r%L#r&J$c&J#r&Jc[6]"p&D0c[5]#r&J#r'G#{'G#r'G#r(E#{(E#r(E#r)B#{)B#r)B#r*@#{*@#r*@#r*]$c*]#r*]c[6]"p*W5c[5]#r*]#r+[#{+[#r+[#r,X#{,X#r,X#r-U#{-U#r-U#r.S#{.S#r.S#r/P$c/P#r/Pc[6]"p/C10c[5]#r/P#r0N#{0N#r0N#r1K#{1K#r1K#r2I#{2I#r2I#r3F#{3F#r3F#r4C$c4C#r4Cc[6]"p3W15c[5]#r4C#r5A#{5A#r5A#r5^#{5^#r5^#r6\#{6\#r6\#r7Y#{7Y#r7Y#r8W$c8W#r8Wc[6]"p8J20c[5]#r8W#r9T#{9T#r9T#r:Q#{:Q#r:Q#r;O#{;O#r;O#r;R#r$L$d$L$d$U$d$L$}$L$}$U$}$L%v$L%v$U%v$L&o$L&o$U&o$L'h$L'h$^'h$Lc[6]&|"S1000c[5]'h$L(a$L(a$U(a$L(y$L(y$U(y$L)r$L)r$U)r$L*k$L*k$U*k$L+d$L+d$^+d$Lc[6]*x"S2000c[5]+d$L+}$L+}$U+}$L,v$L,v$U,v$L-n$L-n$U-n$L.g$L.g$U.g$L/`$L/`$^/`$Lc[6].u"S3000c[5]/`$L/y$L/y$U/y$L0r$L0r$U0r$L1k$L1k$U1k$L2c$L2c$U2c$L2|$L2|$^2|$Lc[6]2q"S4000c[5]2|$L3u$L3u$U3u$L4n$L4n$U4n$L4x$Lc[3]!m)SRadius (b=pixels, t=scale units)-s ]C,| ]o,e ]u+n ]n*w ]t*` ]s7h!ZMicroscopiumD01MedianFN3Trimmed.fits: Radial profile at 1128.71 2101.266q&FSky: mean 420.8424 median 420.4416 sigma 6.6148955z'LFwhmpsf: 4.27 Counts: 57498.92 Mag: -11.899c[5]#r;R#r;R#r;I#r;R$i;R$i;I$i;R%`;R%`;@%`;Rc[6]$t;X0c[5]%`;R%w;R%w;I%w;R&n;R&n;I&n;R'e;R'e;I'e;R'{;R'{;@'{;Rc[6]'p;X.2c[5]'{


....and it just goes on and on. I also get the following message:

"Warning: Graphics overlay not available for display device."


What's going on?

I am using IRAF 2.16.1 64-bit on Mac OS X 10.10.1 and SAOimage DS9 version 6.2.



Also, I have a request. I have some data taken at a telescope when the tracker lost the guide stars due to clouds. The result is some egg-shaped stars (1 to 2 pixels in the image Y direction); actually the whole image is blurred like that. I was told that I could deconvolve the image. Can someone explain what I would do in IRAF, like, a step-by-step demo/example? I've already read through a few guides and they were just way too technical for me, plus many of them don't provide their own data files so it's difficult for me to see how it works.

 
Profile Email
 Quote
fitz
 01/13/2015 04:24AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
In answer to the first part of your post: garbage output like that almost always indicates an incorrect terminal setting, either because you aren't actually using a graphics-capable terminal (e.g. the Terminal.app on a Mac or an gnome-terminal under linux), or because you're using an XTerm but told IRAF it was an XGterm (or vice versa). Your output is what I would expect for an XTerm setting, be sure you are logged into the CL from that type of window.

As for the blurred stars, see the help page for the GAUSS task as a way to convolve the image with an elliptical gaussian, if you have the STSDAS package installed there are also several tasks in the RESTORE package in there for doing deconvolution. I'm not aware of any docs that give specific examples, Google might turn up something but you could also ask the STScI Help Desk (help@stsci.edu) for questions about the RESTORE tasks.

 
Profile Email
 Quote
andrej
 01/31/2015 04:52PM  
+++--
Chatty

Status: offline


Registered: 08/21/2009
Posts: 57
Hi so the problem that I am having is I have a bunch of "egg-shaped stars," which I originally mentioned in post 21 of this thread:

https://iraf.net/forum/viewtopic.php?msg=1&showtopic=1468607

Here is a picture of those egg-shaped stars:



I should probably clarify that this is an example: multiple individual exposures spanning about 15 minutes of observation time had a tracking error, so even before I use median combine I have this issue with the stars, and it's everywhere in the field.

I was thinking of using a deconvolution routine with an elliptical psf, but I don't see a way to tell IRAF that I want the PSF to be elliptical. (Maybe that's not the best option either, since the tracking error is a uniform 2-ish pixels and that gives different sigmay/sigmax ratios for each star.) All I can see is to use a convolution routine to get the stars to look as circular as possible, and then deconvolve.


1. In the gauss task, how do I tell IRAF to make sigmay larger than sigmax? IRAF does not let me enter 1.8 for the ratio, so what do I do?

2. What kind of shape do you recommend for a deconvolution?

3. For the deconvolution, how do I tell psf to give me an elliptical profile? None of the gauss or moffat options seemed to do that.

4. Also, I looked at "A User's Guide to Stellar CCD Photometry," but scrolling is really really slow and takes up a lot of my Macbook's CPU and battery... and it's even slower when I convert it to a PDF (I'm on a dual core machine). Is there any way to change the file so I can scroll through it faster? Also, is there a text-digitized version where I can input keywords into a search tool (e.g. "elliptical" appears on pages X, Y, and Z)?

 
Profile Email
 Quote
fitz
 02/01/2015 05:22PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

1. In the gauss task, how do I tell IRAF to make sigmay larger than sigmax? IRAF does not let me enter 1.8 for the ratio, so what do I do?


The ratio is always between 0.0 and 1.0, but there is the 'theta' parameter to allow you to rotate the ellipse as needed. For this I'd say ratio=0.55555 (i.e. 1. / 1.8) and the theta=90. will set an ellipse along the y axis.


2. What kind of shape do you recommend for a deconvolution?


The GAUSS task only allows a Gaussian, you might look at e.g. FITPSF for other options.


3. For the deconvolution, how do I tell psf to give me an elliptical profile? None of the gauss or moffat options seemed to do that.


I'm not sure I understand the question, but then again I'm also not very familiar with the tasks.


4. Also, I looked at "A User's Guide to Stellar CCD Photometry," but scrolling is really really slow and takes up a lot of my Macbook's CPU and battery... and it's even slower when I convert it to a PDF (I'm on a dual core machine). Is there any way to change the file so I can scroll through it faster? Also, is there a text-digitized version where I can input keywords into a search tool (e.g. "elliptical" appears on pages X, Y, and Z)?


A PDF is available for download from https://iraf.net/irafdocs/daophot2.pdf


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