Next: SURFLIB_CLIP_GRID - Remove spikes from grid
Up: Library APIs
Previous: SURFLIB_CALC_OUTPUT_GRID - Calculate the grid required to contain data given the X,Y positions
SURFLIB_CALC_POLPACK_ANGROT
- Average rotations angles over integration
- Description:
- This routine calculates the mean rotation angle for each
integration. The input data contains one angle per sample
and this is averaged to calculate the rotation angle per
integration.
The input angle is the rotation angle (anti-clockwise)
between the RA frame and the nasmyth (waveplate) frame.
The output angle is the angle between the waveplate 0 and
the X PIXEL axis (not the RA axis)
Since the supplied angle is the angle from the Y-axis
(ie all angles are from Nasmyth Y axis) we need to add
90 degrees
- Invocation:
- CALL SURFLIB_CALC_POLPACK_ANGROT(N_POS, N_EXPOSURES,
N_INTEGRATIONS, N_MEASUREMENTS, DEM_PNTR, ANGROT_IN,
ANGROT_OUT, STATUS)
- Arguments:
-
-
N_POS = INTEGER (Given)
-
Size of ANGROT_IN array
-
N_EXPOSURES = INTEGER (Given)
-
Number of exposures in DEM_PNTR
-
N_INTEGRATIONS = INTEGER (Given)
-
Number of integrations in DEM_PNTR
-
N_MEASUREMENTS = INTEGER (Given)
-
Number of measurements in DEM_PNTR
-
DEM_PNTR(1,N_EXPOSURES,N_INTEGRATIONS,N_MEASUREMENTS) = INTEGER (Given)
-
Start position for each EXP, INT, MEAS
-
ANGROT_IN (N_POS) = REAL (Given)
-
Rotation for each sample (N_POS)
-
ANGROT_OUT (N_INTEGRATIONS, N_MEASUREMENTS) = REAL (Returned)
-
Rotation angle averaged over each integration
-
ANGROT_VAR (N_INTEGRATIONS, N_MEASUREMENTS) = REAL (Returned)
-
Variance on averaged angle
-
STATUS = INTEGER (Given & Returned)
-
Global status
-
Copyright
- Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy
Research Council. All Rights Reserved.
Next: SURFLIB_CLIP_GRID - Remove spikes from grid
Up: Library APIs
Previous: SURFLIB_CALC_OUTPUT_GRID - Calculate the grid required to contain data given the X,Y positions
SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk
Copyright © 2008 Science and Technology Facilities Council