On Fri, 8 Oct 2004, Tim Jenness wrote:
> Peter,
>
> 3 times in the past 3 weeks I've come across people begging for some
> kind of control in GAIA to select a slice from a data cube. I'm beginning
> to sense a critical mass here. Everyone is being moved onto other display
> tools (DS9?).
>
> Would it be hard to have a tiny popup that allows a user to select the
> slcie that should be analysed? Or is the 2d-ness embedded so deeply in
> the code that it would require a major rewrite? I assume naively that the
> slice could be selected when the NDF is mapped such that it looked 2d to
> the rest of the system and that the real issue is the slice selection when
> sending to remote ADAM tasks?
Hi Tim,
the data access inside GAIA is a little complex (read more like FITS than
NDF) and very 2D in nature, so as you suspect, doing this job "correctly"
would be a major re-write of a lot of code. However, since you just want
something that works and probably don't care about how it's done, checkout
the latest GAIA from the CVS repository. Once this is up look in the File
menu and select the "Open cube..." item. This creates little toolbox in
which you can select a cube (NDF or FITS, but FITS will be converted on
the fly, the NDF library is doing all the hard work here) and then step
through one of the axes, displaying the image in GAIA. It should all work
with the various tasks and the world coordinates should be correct.
If you have a cube to hand I'd like to try out the speed of this for
myself as just did the testing on an IRAS cube, which was respectable, but
which wasn't very big.
Getting any more functionality in GAIA (like collapsing) would be a major
pain!
Peter.
|