NCLA: NCD MUX Log Amp constants



				Titles: NCLA:  NCD MUX Log Amp constants
                                =======================================
				
Contact: Jan Wouters / Adam Cox

Revision History:-
================
	2004-04-20 (gac) - Original
        2004-06-17 (gac) - changed PREAMP_CHARGE -> PREAMP_RC_FACTOR so name reflects change in fitting routine.
	2004-07-28 (gac) - changed STARTPOS -> TIMEDELAY.  We know approximately where the pulse should start, 
                           so instead of measuring the overall start position, we record the time delay due to 
                           the electronics (the MUX should produce approximately 320 ns of delay)
                         - added Chi Squared per degree of freedom
                         - added sine wave period measurement and uncertainty
        2006-04-25 (gac) - added number of events, and RMS words
 				
 
  Current NCLA_VERSION Number: 2
  Current Bank Number = 2

Titles Files
------------

Verification
------------

Description
-----------

Bank Number: Bank Version Number  = 1

Holds the fitted values that characterize the MUX logamp.

Data Words
----------

	Fixed length Database Header. See titles_dbhdr.html

    Data types: B(bit), I, F, D(double), H(hollerith 4 char)

Word		Type		Mnemonic			Description

1               I               NCLA_VERSION                    Version Number of this bank = 2
2               I               NCLA_NUM_RECORDS                Number of NCD string records that follow
3               I               NCLA_NUM_WORDS                  Number of words in each record (currently = 117)
4               I               NCLA_TABLE                      Base address of table - will be equal to the last word 
                                                                  in this header
                                                                (which is currently equal to 20)
5..20           I               NCLA_SPARE_GLOBAL               lots of spare words - just in case

there will be NCLA_NUM_RECORDS sets of values in the following format
i                 Start of nth record in table. i = NCLA_TABLE + (n-1)*NCLA_NUM_WORDS where n=1..40

i+1             I               NCLA_NCD_STRING_NUM             NCD string number
i+2             F               NCLA_PARAM_A_0                  Parameter "a", or "km" depending upon which document
                                                                you're looking at - for calibration pulse in scope 0
i+3             F               NCLA_PARAM_A_UNCER_0            Uncertainty in parameter a - calib pulse in scope 0
i+4             F               NCLA_PARAM_B_0                  Parameter "b", or V_offset - calib pulse in scope 0
i+5             F               NCLA_PARAM_B_UNCER_0            Uncertainty in parameter b - calib pulse in scope 0
i+6             F               NCLA_PARAM_C_0                  Parameter "c", Mux + preamp offsets - calib pulse in scope 0
i+7             F               NCLA_PARAM_C_UNCER_0            Uncertainty in c - calib pulse in scope 0
i+8             F               NCLA_TIMEDELAY_0                The time delay produced by the electronics (mostly due 
                                                                  to the MUX) - calib pulse in scope 0
i+9             F               NCLA_TIMEDELAY_UNCER_0          Uncertainty in time delay - calib pulse in scope 0
i+10            F               NCLA_PREAMP_RC_FACTOR_0         Fit to Preamp's RC time constant - calib pulse in scope 0
i+11            F               NCLA_PREAMP_RC_FACTOR_UNCER_0   Uncertainty in  Preamp's RC time constant - calib pulse 
                                                                  in scope 0
i+12            F               NCLA_PERIOD_0                   Measured width of the sine wave - pulse in scope 0
i+13            F               NCLA_PERIOD_UNCER_0
i+14            F               NCLA_CHISQ_DOF_0                Chi Squared per degree of freedom for the fit to pulse in scope 0
i+15            F               KNCLA_SCOPE_OFFSET_0            Measured scope offset using the pre-pulse baseline
i+16            F               KNCLA_SCOPE_OFFSET_UNCER_0      Uncertainty in Scope offset
i+17            F               KNCLA_COR_A_B_0                 Covariance matrix value between parameter A and B
i+18            F               KNCLA_COR_A_C_0                 Covariance matrix value between parameter A and C
i+19            F               KNCLA_COR_A_TIMEDELAY_0         Covariance matrix value between parameter A and Time Delay
i+20            F               KNCLA_COR_A_RC_0                Covariance matrix value between parameter A and RC
i+21            F               KNCLA_COR_A_PERIOD_0            Covariance matrix value between parameter A and Period
i+22            F               KNCLA_COR_B_C_0                 Covariance matrix value between parameter B and C
i+23            F               KNCLA_COR_B_TIMEDELAY_0         Covariance matrix value between parameter B and Time Delay
i+24            F               KNCLA_COR_B_RC_0                Covariance matrix value between parameter B and RC
i+25            F               KNCLA_COR_B_PERIOD_0            Covariance matrix value between parameter B and Period
i+26            F               KNCLA_COR_C_TIMEDELAY_0         Covariance matrix value between parameter C and Time Delay
i+27            F               KNCLA_COR_C_RC_0                Covariance matrix value between parameter C and RC
i+28            F               KNCLA_COR_C_PERIOD_0            Covariance matrix value between parameter C and Period
i+29            F               KNCLA_COR_TIMEDELAY_RC_0        Covariance matrix value between parameter Time Delay and RC
i+30            F               KNCLA_COR_TIMEDELAY_PERIOD_0    Covariance matrix value between parameter Time Delay and Period
i+31            F               KNCLA_COR_RC_PERIOD_0           Covariance matrix value between parameter RC and Period
i+32            F               KNCLA_EVENTCOUNT_0              Number of calibration events found on this ncd/scope
i+33            F               KNCLA_BASELINE_LOG_RMS_0        The RMS of the baseline in the log domain
i+34            F               KNCLA_BASELINE_DELOG_RMS_0      The RMS of the baseline in the linear domain (delogged)
i+35            F               KNCLA_PRETRIG_LOG_RMS_0         The RMS of the pretrigger in the log domain
i+36            F               KNCLA_PRETRIG_DELOG_RMS_0       The RMS of the pretrigger in the linear domain (delogged)
i+37..59        F               NCLA_SPARE_0                    Room for future Covariance matrix values + more words (23 spares

i+60            F               NCLA_PARAM_A_1                  Parameter "a", or "km" depending upon which document
                                                                you're looking at - for calibration pulse in scope 1
i+61            F               NCLA_PARAM_A_UNCER_1            Uncertainty in parameter a - calib pulse in scope 1
i+62            F               NCLA_PARAM_B_1                  Parameter "b", or V_offset - calib pulse in scope 1
i+63            F               NCLA_PARAM_B_UNCER_1            Uncertainty in parameter b - calib pulse in scope 1
i+64            F               NCLA_PARAM_C_1                  Parameter "c", scope + Mux + preamp offsets - calib pulse 
                                                                  in scope 1
i+65            F               NCLA_PARAM_C_UNCER_1            Uncertainty in c - calib pulse in scope 1
i+66            F               NCLA_TIMEDELAY_1                The time delay produced by the electronics (mostly due 
                                                                  to the MUX) - calib pulse in scope 1
i+67            F               NCLA_TIMEDELAY_UNCER_1          Uncertainty in time delay - calib pulse in scope 1
i+68            F               NCLA_PREAMP_RC_FACTOR_1         Preamp's RC time constant - calib pulse in scope 1
i+69            F               NCLA_PREAMP_RC_FACTOR_UNCER_1   Uncertainty in Preamp's RC time constant - calib pulse in scope
i+70            F               NCLA_PERIOD_1                   Measured width of the sine wave - pulse in scope 1
i+71            F               NCLA_PERIOD_UNCER_1
i+72            F               NCLA_CHISQ_DOF_1                Chi Squared per degree of freedom for the fit to pulse in scope 1
i+73            F               KNCLA_SCOPE_OFFSET_1            Measured scope offset using the pre-pulse baseline
i+74            F               KNCLA_SCOPE_OFFSET_UNCER_1      Uncertainty in Scope offset
i+75            F               KNCLA_COR_A_B_1                 Covariance matrix value between parameter A and B
i+76            F               KNCLA_COR_A_C_1                 Covariance matrix value between parameter A and C
i+77            F               KNCLA_COR_A_TIMEDELAY_1         Covariance matrix value between parameter A and Time Delay
i+78            F               KNCLA_COR_A_RC_1                Covariance matrix value between parameter A and RC
i+79            F               KNCLA_COR_A_PERIOD_1            Covariance matrix value between parameter A and Period
i+80            F               KNCLA_COR_B_C_1                 Covariance matrix value between parameter B and C
i+81            F               KNCLA_COR_B_TIMEDELAY_1         Covariance matrix value between parameter B and Time Delay
i+82            F               KNCLA_COR_B_RC_1                Covariance matrix value between parameter B and RC
i+83            F               KNCLA_COR_B_PERIOD_1            Covariance matrix value between parameter B and Period
i+84            F               KNCLA_COR_C_TIMEDELAY_1         Covariance matrix value between parameter C and Time Delay
i+85            F               KNCLA_COR_C_RC_1                Covariance matrix value between parameter C and RC
i+86            F               KNCLA_COR_C_PERIOD_1            Covariance matrix value between parameter C and Period
i+87            F               KNCLA_COR_TIMEDELAY_RC_1        Covariance matrix value between parameter Time Delay and RC
i+88            F               KNCLA_COR_TIMEDELAY_PERIOD_1    Covariance matrix value between parameter Time Delay and Period
i+89            F               KNCLA_COR_RC_PERIOD_1           Covariance matrix value between parameter RC and Period
i+90            F               KNCLA_EVENTCOUNT_1              Number of calibration events found on this ncd/scope
i+91            F               KNCLA_BASELINE_LOG_RMS_1        The RMS of the baseline in the log domain
i+92            F               KNCLA_BASELINE_DELOG_RMS_1      The RMS of the baseline in the linear domain (delogged)
i+93            F               KNCLA_PRETRIG_LOG_RMS_1         The RMS of the pretrigger in the log domain
i+94            F               KNCLA_PRETRIG_DELOG_RMS_1       The RMS of the pretrigger in the linear domain (delogged)
i+95..117       F               NCLA_SPARE_1                    Room for future Covariance matrix values + more words (23 spare)


Go Back to the Snoman Companion Top Page