J***@gmail.com
2006-02-14 21:00:43 UTC
Hello,
I am trying to display an image using tv and atv and I have some
problems.
First, I read my .fits file using readfits:
device,decomposed=0 (because I have a 24-bit display mode)
IDL>img1=readfits('example.fits',h)
and then I try to use tv:
IDL>tv,img1
What I get from the tv command is:
% Program caused arithmetic error: Floating illegal operand
and a small part of my image appears zoomed in, in the idl window but
not the whole image.
When I type:
IDL>tvscl,img1
the result is that my idl window turns completely white and nothing
shows up on it.
Any suggestions on what might be the problem?
Thank you in advance,
Jay
I am trying to display an image using tv and atv and I have some
problems.
First, I read my .fits file using readfits:
device,decomposed=0 (because I have a 24-bit display mode)
IDL>img1=readfits('example.fits',h)
and then I try to use tv:
IDL>tv,img1
What I get from the tv command is:
% Program caused arithmetic error: Floating illegal operand
and a small part of my image appears zoomed in, in the idl window but
not the whole image.
When I type:
IDL>tvscl,img1
the result is that my idl window turns completely white and nothing
shows up on it.
Any suggestions on what might be the problem?
Thank you in advance,
Jay