C SURF Constants
The SURF_PAR include file defines the global constants that are used in Surf for preallocating arrays
and defining useful mathematical constants and strings. Only top level Surf routines (ie names of
surf_*
include this file; all other library routines obtain the value from argument.
C.1 Constant strings
-
PACKAGE = ’SURF’
-
Name of the software package. Used in output messages. (CHAR*10)
C.2 Convenient numeric definitions
-
PI = 3.14159265359D0
-
[DOUBLE]
-
R2AS = 206264.806247D0
-
Used to convert radians to arcseconds:
[DOUBLE]
C.3 Parameters controlling the observation limits
-
SCUBA__MAX_BEAM = 3
-
maximum number of bolometers in a single sub-instrument that actually
observer the source in a PHOTOM observation. [INTEGER]
-
SCUBA__MAX_MEAS = 200
-
maximum number of measurements in an observation. [INTEGER]
-
SCUBA__MAX_INT = 1000
-
maximum number of integrations in a measurement. [INTEGER]
-
SCUBA__MAX_EXP = 128
-
maximum number of exposures per integration. [INTEGER]
-
SCUBA__MAX_SWITCH = 3
-
maximum number of switches per exposure. [INTEGER]
-
SCUBA__MAX_JIGGLE = 512
-
maximum number of offsets in a jiggle pattern. [INTEGER]
C.4 Parameters governing the instrument itself
-
SCUBA__MAX_SUB = 5
-
Maximum number of sub-instruments (i.e. for SCUBA there are LONG,
SHORT, P2000, P1350 and P1100 sub-instruments). [INTEGER]
-
SCUBA__NUM_ADC = 9
-
Number of A/D cards (called A, B, C, D, E, F, G, H and I for SCUBA).
-
SCUBA__NUM_CHAN = 16
-
Number of channels on each A/D card.
C.5 Parameters dealing with automatic output filename generation
-
SUFFIX_ENV = ’SCUBA_SUFFIX’
-
Name of the environment variable dealing with the format of the automatically
generated output filename. [CHAR*15]
-
SCUBA__N_SUFFIX = 3
-
Number of suffix options [INTEGER]
-
SUFFIX_OPTIONS = ’LONG’,’SHORT’,’VERBOSE’
-
The allowed suffix options i.e. these are the
values that are valid for the environment variable specified by SUFFIX_ENV
[CHAR*10 (SCUBA_N_SUFFIX)]
C.6 General limits
-
SCUBA__MAX_POINT = 20
-
Maximum number of pointing corrections.
-
SCUBA__MAX_FITS = 200
-
Maximum number of FITS items in header.
-
SCUBA__MAX_SECT = 10
-
Maximum number of SCUBA sections that can be specified.
-
SCUBA__N_TEMPS = 3
-
Number of temperatures per reading for SKYDIP observations: AMBIENT,
SKY, COLD.