2.2 Examining Data in the BDA Files


next up previous contents
Next: 2.2.1 Listing the BDA Up: 2 Bragg Crystal Spectrometer Previous: 2.1.3 Browsing

2.2 Examining Data in the BDA Files

 

These routines (except where stated) assume that the required spectral data has already been read in (e.g. using YODAT).

The data extracted from the BDA file is in compressed form and is not normalized for the integration time. Also, spectra from all channels are included in the data array and extraction of a channel may be needed before the data can be properly displayed. A single channel can be extracted from the BDA data array, and then decompressed and normalized for integration time using BCS_DSPEC. By default, channel 3 data are returned.
IDL> chan_data = bcs_dspec(index,data)

IDL> chan_data = bcs_dspec(index,data,chan=n [,etc.])
  Essentially, this is the same as the following expression, but BCS_DSPEC also does some additional things.
IDL> chan_data = bcs_norm(index,bcs_decomp(ext_bcschan(index,data,channel)))
 



ydac@mssly1.mssl.ucl.ac.uk