On Wed, 6 May 2009, Sarah Casewell wrote:
> I am having some problems using figaro.
> I'm using the latest release of starlink on a SL4 system.
> When I use ystract and enter my start and end parameters (10 and 1000), I
> get errors that read as
>
> !! SUBPAR: 10 is less than the MINIMUM value, 125.647, for parameter XSTART.
> ! SUBPAR: Failed constraints check for parameter XSTART
> !! SUBPAR: 1000 is greater than the MAXIMUM value, 125.816, for parameter XEND.
> ! SUBPAR: Failed constraints check for parameter XEND
> !! SUBPAR: 10 is greater than the MAXIMUM value, 7.60858, for parameter YSTART.
> ! SUBPAR: Failed constraints check for parameter YSTART
> !! SUBPAR: 1000 is greater than the MAXIMUM value, 7.60858, for parameter YEND.
> ! SUBPAR: Failed constraints check for parameter YEND
>
> In my sdf file that has a wcs (attatched to it using gaia "fit to star
> positions") the min xstart value is the SFT1_C keyword. I assume this is a
> coincindence as the ystart value is close to another crval keyword, but not
> the same.
>
> If I run ystract on an image that has no wcs, I also get the same answer
> however.
>
> Does anyone have any idea as to where these values are coming from and
> how I can stop this?
Hi Sarah,
since this is figaro these are AXIS coordinate values, so if you want to
set the limits in pixel ranges instead you'll need to remove the AXES
structures from your NDFs:
% kappa
% erase myndf.AXES ok
should do it.
A modern alternative to ystract is the KAPPA application collapse. That
will use the WCS to define the limits, or you can switch to other
coordinate systems:
% kappa
% wcsframe myndf PIXEL
% collapse myndf outndf 2
etc.
Cheers,
Peter.
|