View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

fitcoords error: bus error

nickthealmighty wrote on Aug 02, 2006

I'm having trouble running fitcoords on my outputted data from Identify. It seems the program can find the file (though I'm not sure if it can find the right extensions), but I just get the output:

longslit> fitcoords
Images whose coordinates are to be fit (r855806[1].fit): r855806.fit[1]
Fit r855806.fit[1] interactively (yes):

NOAO/IRAF V2.13-BETA nick@saint.star.ucl.ac.uk Wed 12:38:24 02-Aug-2006
Longslit coordinate fit name is idr855806.fit[1].
Longslit database is database.
Features from images:
r855806.fit[1]
ERROR: bus error
called as: `fitcoords ()'
longslit>

for reference, the file database/idr855806.fit has:

# Thu 17:43:35 27-Jul-2006
begin identify r855806.fit[1][*,512]
id r855806.fit[1]
task identify
image r855806.fit[1][*,512]
units Angstroms
features 21
14.00 14099.5538 14097.5 4.0 1 1
73.22 14646.5441 14654.3 4.0 1 1
83.05 14737.9693 14736.8 4.0 1 1
116.40 15049.4577 15050.6 4.0 1 1
130.00 15176.9787 15176.8 4.0 1 1
145.25 15320.448 15306.1 4.0 1 1
155.70 15418.9098 15422.6 4.0 1 1
206.48 15900.0935 15904. 4.0 1 1
216.16 15992.3324 15993.9 4.0 1 1
222.74 16055.043 16057.7 4.0 1 1
272.06 16527.334 16524.4 4.0 1 1
293.57 16734.3426 16732.6 4.0 1 1
315.26 16943.772 16945.2 4.0 1 1
355.10 17329.9821 17330.5 4.0 1 1
367.41 17449.7521 17449.7 4.0 1 1
415.55 17919.5728 17919.6 4.0 1 1
468.02 18434.2157 18434.5 4.0 1 1
504.56 18793.954 18793.2 4.0 1 1
653.39 20267.1093 20267.8 4.0 1 1
689.17 20622.3366 20621.9 4.0 1 1
726.51 20991.7988 20991.8 4.0 1 1
function spline3
order 3
sample *
naverage 1
niterate 0
low_reject 3.
high_reject 3.
grow 0.
coefficients 10
3.
3.
1.
1024.
1822.756517313018
2323.626665385341
2863.171558700929
3426.496319652371
3991.893845987861
3859.288631131409

Thanks to anyone who knows what this problem is!

Nick

Francisco Valdes wrote on Aug 02, 2006

Hi Nick,

I don't see the source of the problem. The only oddities I noted are that your identify/reidentify database shows only one cut at line 512. Normally you would trace with reidentify. But this could just be that you are only showing a small part of the database file. The other thing I notice is that it says

Longslit coordinate fit name is idr855806.fit[1]

Normally if you don't specify a fit name then you would see r855806.fit[1]; i.e. without the "id" prefix. But maybe you put fitname="id" in the hidden parameter. This should not be a problem.

For further help I would need to know the host system, the version of IRAF. To reproduce this you could send me the full database file and a header listing of the image.

Yours,
Frank Valdes[/quote]

Last post on Aug 02, 2006