Titles: TNPF - NCD Pulse Frequency Analysis Inputs =================================================== Contact: N. Tolich, LBNL. Revision History:- ================ 5.01 A. Poon First version. 5.03 A. Poon Store the last physical string number Titles Files ------------ npf_fft.dat Verification ------------ Description ----------- Average power spectrum for each string (0-39) and scope (1,2) Each power spectrum has 3001 bins (=KPULSE_POWER_SPECT_LEN). The power spectrum are arranged as: String 0, Scope 1 String 0, Scope 2 String 1, Scope 1 String 1, Scope 2 . . . String 38, Scope 1 String 38, Scope 2 String 39, Scope 1 String 39, Scope 2 Therefore, bin C of the average power spectrum for Scope N on String S is given by (N * 2 + (S-1)) * KPULSE_POWER_SPECT_LEN + C The range of frequency is 0 to 500 MHz (=1/(2.*1 ns)) Data Words --------- Data types: B(bit), I, F, D(double), H(hollerith 4 char) Fixed length Database Header. See titles_dbhdr.html. +1 I KTNPF_POWER_SPECT_LEN Length of each power spectrum +2 I KTNPF_LAST_VALID_STRING String number of last physical string +3 I Spare word ... +10 I Spare word +11 F KTNPF_POWER_SPECT Beginning of average power spectrum (String 0, Scope 1) ... +KTNPF_POWER_SPECT+ KTNPF_POWER_SPECT_LEN F Beginning of average power spectrum (String 0, Scope 2) ... +KTNPF_POWER_SPECT+ 2*KTNPF_POWER_SPECT_LEN F Beginning of average power spectrum (String 1, Scope 1) ... +KTNPF_POWER_SPECT+ 3*KTNPF_POWER_SPECT_LEN F Beginning of average power spectrum (String 1, Scope 2) ... +KTNPF_POWER_SPECT+ 79*KTNPF_POWER_SPECT_LEN F Beginning of average power spectrum (String 39, Scope 2) ... +KTNPF_POWER_SPECT+ 80*KTNPF_POWER_SPECT_LEN- 1 F End of average power spectrum (String 39, Scope 2)