BCAR

This is a high-speed filter based on a moving average box car operator. It can do smoothing (ie. low pass) or high-pass filtering by subtracting a low pass result from the original data. For most applications, BSU has better filters (parameters in frequency rather than time), but this is quick and dirty, and is specified in time duration. Auto-Regressive-Moving-Average (ARMA) filtering can be done with BFIL 12.3.3. The command line arguments for BCAR are:
 bcar  infile  isign  ntimes  twide 
 
 infile    =input file name
 isign   -1=low-pass box car
          0=high-pass (1-sinc^ntimes)
         +1=high-pass (1-sinc)^ntimes 
 ntimes    =number of times to apply boxcar
 twide     =width of box car in seconds
An example is shown in Figure 92 where both a low and high-pass filter are demonstrated. The commands were:
bcar c008.seg -1 1 .1 for the low-pass filter
and
bcar c008.seg 1 1 .1 for the high-pass filter

Figure 92: BCAR: (A) low-pass filter, trace equalized with BEQU 12.0.9 (B) high-pass filter by subtracting low-pass from original data, also trace equalized. Input data are same as in Figure 91A.
\includegraphics[scale=.9]{Figurebcar.pdf}