5.7.2 MK_BSC


next up previous contents
Next: 5.7.3 SEL_BSC Up: 5.7 BSC Routines Previous: 5.7.1 HELP_BSC

5.7.2 MK_BSC

   

MK_BSC makes BSC_INDEX and BSC_DATA structures from the BDA INDEX and DATA. These structures contain instrumentally corrected BCS data for selected channels and accumulation times. A typical run would look like:
IDL> mk_bsc,index,data,bsc_index,bsc_data,dp_sync=dp_sync
  To analyze BCS data, you would begin by using YODAT to read the BDA data file for the dates and times you are interested in. Yodat will return a BDA index structure INDEX, a BDA data array DATA, and a structure DP_SYNC which contains the DP synchronous data needed for deadtime corrections.

MK_BSC will prompt for various inputs such as start and stop times, channels to process, integration times, and which corrections (deadtime, crystal curvature, flux calibration) to apply. The DP_SYNC keyword is optional, but must be entered the first time if deadtime corrections are required. Subsequent calls to MK_BSC will use the last values of DP_SYNC data passed via this keyword.

The following keywords are also accepted:

The instrumentally corrected data will be output to a new set of structures BSC_INDEX and BSC_DATA. The data in BSC_DATA are stored as 256 element floating point arrays in fields with the following definitions:

Not all the above fields will be present. The fields that are present will depend on the corrections requested in MK_BSC. The actual data in each field array will occupy the first 0:NBINS-1 locations, where NBINS is the number of actual detector bins containing valid data. The value of NBINS is stored in BSC_INDEX.BSC.NBINS.


next up previous contents
Next: 5.7.3 SEL_BSC Up: 5.7 BSC Routines Previous: 5.7.1 HELP_BSC


ydac@mssly1.mssl.ucl.ac.uk