SCULIB_SKYDIP_TEMPERATURES

derive sky temperatures from chopper-wheel data

Description:

This routine derives sky brightness temperatures from data containing the measured signals from cold and ambient loads and sky. The sky temperature is calculated for each sample by linear interpolation between the signals from the cold and ambient loads.

In addition, mean values of the sky temperature for each bolometer are derived from the samples taken. If more than one sample contributes to the mean then the variance is calculated from the spread of samples about the mean.

Invocation

CALL SCULIB_SKYDIP_TEMPERATURES (T_COLD, T_HOT, N_SUB, : SUB_INSTRUMENT, WAVELENGTH, NUM_CHAN, NUM_ADC, BOL_TYPE, : N_BOLS, BOL_CHAN, BOL_ADC, N_SAMPLES_IN, RAW_DATA, : N_SAMPLES_OUT, J_SKY, J_SKY_VARIANCE, J_SKY_QUALITY, J_SKY_AV, : J_SKY_AV_VARIANCE, J_SKY_AV_QUALITY, STATUS)

Arguments

T_COLD (N_SUB) = REAL (Given)
the temperature of the cold load for each sub-instrument
T_HOT (N_SUB) = REAL (Given)
the temperature of the hot load for each sub-instrument
N_SUB = INTEGER (Given)
the number of sub-instruments being used
SUB_INSTRUMENT (N_SUB) = CHARACTER() (Given)
the names of the sub-instruments being used
WAVELENGTH (N_SUB) = REAL (Given)
the wavelengths of the filters in front of the sub-instruments (microns)
NUM_CHAN = INTEGER (Given)
number of A/D channels per A/D card
NUM_ADC = INTEGER (Given)
number of A/D cards
BOL_TYPE (NUM_CHAN, NUM_ADC) = CHARACTER() (Given)
the types of the bolometers
N_BOLS = INTEGER (Given)
the number of bolometers making measurements
BOL_CHAN (N_BOLS) = INTEGER (Given)
channel numbers of selected bolometers
BOL_ADC (N_BOLS) = INTEGER (Given)
ADC numbers of selected bolometers
N_SAMPLES_IN = INTEGER (Given)
the number of samples taken by each bolometer
RAW_DATA (3, N_BOLS, N_SAMPLES_IN) = REAL (Given)
the measured signals from the cold and ambient loads and sky
  • RAW_DATA (1,i,j) = ambient load signal

  • RAW_DATA (2,i,j) = sky signal

  • RAW_DATA (3,i,j) = cold load signal

N_SAMPLES_OUT = INTEGER (Given)
the number of samples requested for each bolometer
J_SKY (N_BOLS, N_SAMPLES_OUT) = REAL (Returned)
the brightness temperature of the sky
J_SKY_VARIANCE (N_BOLS, N_SAMPLES_OUT) = REAL (Returned)
the variance on J_SKY
J_SKY_QUALITY (N_BOLS, N_SAMPLES_OUT) = BYTE (Returned)
the quality on J_SKY
J_SKY_AV (N_BOLS) = REAL (Returned)
the average of J_SKY for each bolometer
J_SKY_AV_VARIANCE (N_BOLS) = REAL (Returned)
the variance on the average of J_SKY
J_SKY_AV_QUALITY (N_BOLS) = BYTE (Returned)
the quality of the average of J_SKY
STATUS = INTEGER (Given and returned)
Global status

Copyright

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

Implementation Status: