next up previous
Next: NDF_SBAD - Set the bad-pixel flag for an NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_RESET - Reset an NDF component to an undefined state

   
NDF_SAME - Enquire if two NDFs are part of the same base NDF

Description:
The routine determines whether two NDF identifiers refer to parts of the same base NDF. If so, it also determines whether their transfer windows intersect.

Invocation:
CALL NDF_SAME( INDF1, INDF2, SAME, ISECT, STATUS )

Arguments:
INDF1 = INTEGER (Given)
Identifier for the first NDF (or NDF section).
INDF2 = INTEGER (Given)
Identifier for the second NDF (or NDF section).
SAME = LOGICAL (Returned)
Whether the identifiers refer to parts of the same base NDF.
ISECT = LOGICAL (Returned)
Whether their transfer windows intersect.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • If the transfer windows of the two NDFs (or NDF sections) intersect, then (i) they both refer to the same base NDF, and (ii) altering values in an array component of one of the NDFs can result in the values in the corresponding component of the other NDF changing in consequence. Thus, the array components of the two NDFs are not mutually independent.



next up previous
Next: NDF_SBAD - Set the bad-pixel flag for an NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_RESET - Reset an NDF component to an undefined state


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils