SCULIB_CALC_GRID

calculate the minimum rectangular grid that would contain the input jiggle pattern

Description:

This routine takes the x,y coords of the mapped points and attempts to fit them onto a rectangular grid. The grid contains the minimum number of points required to hold the measured positions.

Invocation

CALL SCULIB_CALC_GRID (N, X, Y, XMIN, XMAX, XSPACE, NX, YMIN, YMAX, YSPACE, NY, IPOS, JPOS, STATUS)

Arguments

N = INTEGER (Given)
the number of positions in the jiggle pattern
X (N) = REAL (Given)
the x offsets of the jiggle
Y (N) = REAL (Given)
the y offsets
XMIN = REAL (Returned)
the minimum of the output map’s x-axis
XMAX = REAL (Returned)
the maximum of the x-axis
XSPACE = REAL (Returned)
the pixel spacing in x
NX = INTEGER (Returned)
the map dimension in x
YMIN = REAL (Returned)
the minimum of the output map’s y-axis
YMAX = REAL (Returned)
the maximum of the y-axis
YSPACE = REAL (Returned)
the pixel spacing in y
NY = INTEGER (Returned)
the map dimension in y
IPOS (N) = INTEGER (Returned)
the I index of each jiggle position in the map
JPOS (N) = INTEGER (Returned)
the J index of each jiggle position in the map
STATUS = INTEGER (Given and returned)
global status

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.