Welcome to iraf.net Friday, May 10 2024 @ 05:51 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 imarith floating point invalid operation
   
GalacticKitten
 09/10/2010 08:14AM (Read 1205 times)  
+----
Newbie

Status: offline


Registered: 07/29/2010
Posts: 8
I'm getting this error when I try to run imarith on a set of 2min exposures I have. The odd thing is that it works fine for both 30sec and 60sec exposure times of the same night.
I am trying to subtract the dark from the light, and it comes up
ERROR: floating point invalid operationThe thing is, I've checked all the images in ds9 and they all look fine. Usually when there is a problem, ds9 won't open them. It seems to be that only the 2 minute exposures from one night don't work, and I'm not sure why.
Any suggestions for even just troubleshooting?

 
Profile Email
 Quote
fitz
 09/10/2010 08:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
An invalid operation can occur when there is a floating-point under/overflow, and operation on a NaN pixel, etc. Does an IMSTAT on the image show exceptionally large/small pixel values that might cause a problem when computing the difference? Does setting the 'calctype' parameter to 'double' let the operation continue?

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