Welcome to iraf.net Friday, May 10 2024 @ 06:44 AM GMT
mnmaulana |
11/06/2016 06:43AM (Read 1040 times)
|
|
|
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
|
|
|
|
fitz |
11/14/2016 05:17PM
|
|
|
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?
|
|
|
|
| |
|
Content generated in: 0.06 seconds |
|