The dtacq A/D converter has a file format that has data units chirp, sample, channel from largest to smallest. The channel
index has a pattern of IQ and antenna numbers rather than being separated.
The WERA software uses a RAW file format that has data units chirp, antenna, sample, IQ from largest to smallest.
The code dtacq2wera.m
converts from dtacq file format to WERA file format, while also adding in the WERA standard
header, reducing the sampling rate through averaging of two time points, and shifting from 32 to 16 bit data.
The script process_DTA.sh
starts the processing by setting variables and triggering do_process_DTA.sh
to start.
The do_process_DTA.sh
script creates the filenames to be used, starts dtacq2wera.m
, and uses the WERA software to
make currents and spectra.
Work by L Benjamin to have the dtacq2wera.m
file work with only a single chirp at a time was completed in April 2015:
New do_process_DTA.sh
New do_process_CAL.sh
New dtacq2wera.m
Thus far, KAK, KOK, KAL, PPK, and KKH are using these new files.
Initial software to translate Dtacq .dta
files into Wera .RAW
and .CAL
files included the following files:
Old process_DTA.sh
Old do_process_DTA.sh
Old do_process_CAL.sh
Old dtacq2wera.m
Normal Wera header file
Calibration Wera header file
If the number of antennas changes, the following places in the following files must be changed:
- the number of antennas on site in
params.cfg
- the number of antennas in the sites header file (e.g.,
kok.hdr
)
- the number of files compounded into a single
SORT_ant.gif
by do_process_SORT
(line 84)
- the number of antennas in
dtacq2werea.m
(line 6)
LPWR Compression