N511_VS_HVSPEC $SSW/cgro/batse/idl/n511_vs_hvspec.pro
[Previous] [Next]
 PROJECT:
	SDAC
 NAME: 
	N511_VS_HVSPEC

 PURPOSE:
	This procedure finds the coefficients of a crude 2nd order fit to the linear
	channel number of the 511 line vs the reported high voltage in the BATSE SPEC detectors.

 CATEGORY:
	BATSE

 CALLING SEQUENCE:
	N511_vs_hvspec t

 CALLS: ***
	CHECKVAR [1], LOC_FILE [1], LOC_FILE [2], LOC_FILE [3], MORE [1], MORE [2], POLY
	POLYFITW, RESISTANT_Mean [3], Resistant_Mean [1], Resistant_Mean [2]
	checkvar [2], restgen [1], restgen [2]
 INPUTS:
       none explicit, only through commons;

 OPTIONAL INPUTS:
	none

 OUTPUTS:
       none explicit, only through commons;

 OPTIONAL OUTPUTS:
	none

 KEYWORDS:
	none
 COMMON BLOCKS:
	none

 SIDE EFFECTS:
	none

 RESTRICTIONS:
	Must be run on hxrbs.nascom.nasa.gov where it expects to find the database file,
	~richard/../data/richard/batse/spec_gain_str.genx.  Otherwise, it must be edited accordingly.
	The database file tag elements, see the code for a description, are obtained by using 
	HKG_DBASE and GET_DISCSP511.  Only the HV and 511 lines are really used here.
 PROCEDURE:
	none

 MODIFICATION HISTORY:
	richard.schwartz@gsfc.nasa.gov, 27-mar-1998.


NEXTBDB $SSW/cgro/batse/idl/nextbdb.pro
[Previous] [Next]

 NAME: 
       NEXTBDB

 PURPOSE:


 CATEGORY:
       BATSE

 CALLING SEQUENCE:


 CALLS: ***
	ATIME [1], ATIME [2], FIND_DBFILE
 INPUTS:
       none explicit, only through commons;

 OPTIONAL INPUTS:
	none

 OUTPUTS:
       none explicit, only through commons;

 OPTIONAL OUTPUTS:
	none

 KEYWORDS:
	none
 CALLED BY:
	FS_READ_DD, WRITE_FDB, read_dd
 COMMON BLOCKS:
	none

 SIDE EFFECTS:
	none

 RESTRICTIONS:
	none

 PROCEDURE:
	none

 MODIFICATION HISTORY: