Print

Print


Tim,

I put the new GaiaCubeSpectrum.tcl in the /star/lib/gaia4.2/  
directory (where the old pne was, I renamed the old one to a .old)  
but when I try to extract a spectrum from the cube I get an error, it  
is attached.  Did I miss something else in the installation?

cheers,
colin



On Feb 18, 2008, at 8:34 PM, Tim Jenness wrote:

> Colin, you can get the patch from
>
> http://starlink.jach.hawaii.edu/viewvc?view=rev&revision=26134
>
> so you can apply it yourself (it doesn't require compilation since  
> it's in the tcl code).
>
> tim
>
> On Feb 18, 2008 8:05 AM, Peter W. Draper <[log in to unmask]>  
> wrote:
> On Wed, 13 Feb 2008, Colin Aspin wrote:
>
> > Ah, maybe.  It depends on whether you interpret "Low index" as  
> pixels or
> > channels I guess.
>
> Hi Colin,
>
> thanks for the report. Yes, it is an issue to do with having the  
> sense of
> the spectral coordinates different to the pixel coordinates. I've  
> fixed
> GAIA so that this will work as you expect (and classed this as a  
> bug since
> it is counter-intuitive, although things still work).
>
> Cheers,
>
> Peter.
>
> > On Feb 13, 2008, at 9:10 AM, Tim Jenness wrote:
> >
> >> Are you sure this isn't because the pixel coordinates are in the  
> opposite
> >> direction to the world coordinates?
> >>
> >> Tim
> >>
> >> On Feb 13, 2008 8:02 AM, Colin Aspin <[log in to unmask]> wrote:
> >> Hi All,
> >>
> >> I'm using gaia and some datacubes (HARP-B and UIST IFU) and I've  
> seen
> >> strange behaviour for both when using the "Spectrum" tab.  If I  
> click
> >> on the image and extract a spectrum and then click the "Show  
> limits on
> >> plot" button, I get the orange limit lines on the plot fine.  
> However,
> >> if I drag the extremes to the location I want (towards the  
> center) I
> >> can extract a new spectrum OK but the limits shown in pixels on the
> >> window are the wrong way around, the lower limit has the higher  
> number
> >> and the higher limit has the lower number.  If I then use the  
> slidebars
> >> to move the limits I have to move the lower- limit slidebar away  
> from
> >> the center to get the limit lines to move towards the center and
> >> visa-versa for the upper slidebar.  I am using humu but this was  
> also
> >> the case with puana and whatever came before (just never  
> bothered to
> >> report it).  See attached screen grab for evidence where the
> >> lower-limit says 86 and the upper limit says 70.
>
> --
> Peter W. Draper, http://astro.dur.ac.uk/~pdraper
>