multiple extentions
douglas brenner wrote on Jan 12, 2009
Shouldn't this work?
for ( i = 1; i <= numspect; i+= 1)
{
imstat image = "/DATA/HIP7918/HIP7918_10-25-08_O_359.fits["//str(i)//"]"
}
end
The file is a multi-extension fits file. (at least that's what they tell me)
for ( i = 1; i <= numspect; i+= 1)
{
imstat image = "/DATA/HIP7918/HIP7918_10-25-08_O_359.fits["//str(i)//"]"
}
end
The file is a multi-extension fits file. (at least that's what they tell me)
James Turner wrote on Jan 12, 2009
Try putting round brackets around the imstat call, ie.:
James.
imstat (image = "/DATA/HIP7918/HIP7918_10-25-08_O_359.fits["//str(i)//"]") James.
douglas brenner wrote on Jan 12, 2009
thanks
douglas brenner wrote on Jan 12, 2009
Didn't work. Used imslice first. Thanks again.
Last post on Jan 12, 2009