View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

plotting image spectrum

ross58 wrote on Jun 24, 2006

when I plot an image spectrum of 16834 lines it gives back:
error: /usr/lib/iraf/iraf//noad/bin/x_onedspec.e: memory has been corrupted

What does it mean? What can I do?

Mike Fitzpatrick wrote on Jun 24, 2006

Memory corrupted is usually a bug in the task of some kind, but it also sometimes related to bad data (e.g. an invalid dispersion). What task were you using? Was this is response to a particular comman or right as the task started up? Does plotting a subset of the data show reasonable numbers, e.g.


cl> splot spec[1:5000]


to plot the first 5000 points of a 1-D spectrum. Is this even a 1-D spectrum?

Cheers,
-Mike

Last post on Jun 24, 2006