Welcome to iraf.net Friday, May 10 2024 @ 06:44 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ERROR: integer divide by zero
   
mnmaulana
 11/06/2016 06:43AM (Read 1040 times)  
+----
Newbie

Status: offline


Registered: 11/06/2016
Posts: 1
Hi all,
i'm new to iraf. i'm trying to display 1-D image i made but when i use display command i get this error "ERROR: integer divide by zero", anybody know why i get this error and how to fix it?

thanks,
mnmaulana

 
Profile Email
 Quote
fitz
 11/14/2016 05:17PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The problem could be related to the pixel values or perhaps missing keyworks. If this is a spectrum then more appropriate tasks are e.g. SPLOT on the onedspec package. If you really mean to display the image you'll see only one line of pixels which may not be that useful. Use the IMSTAT command to ensure there is actually a range of data, you can also "unlearn display" to reset the task parameters in case some old setting is causing the scaling to be done in some weird way. Otherwise, what is the range of pixel values? Can you use a task like IMPLOT to plot the image and get what you expect?

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