Digital Towed Array¶
DTLA support toolbox.
-
arlpy.dtla.
check
(filename)¶ Check if a file is likely to be a valid DTLA datafile.
-
arlpy.dtla.
get_channels
(filename=None)¶ Get the number of available data channels.
-
arlpy.dtla.
get_data
(filename, channel=None, start=0, length=None, detrend='linear')¶ Load selected data from DTLA recording.
Parameters: - filename – name of the datafile
- channel – list of channels to read (base 0, None to read all channels)
- start – sample index to start from
- length – number of samples to read (None means read all available samples)
- detrend – processing to be applied to each channel to remove offset/bias
(supported values:
'linear'
,'constant'
,None
)
-
arlpy.dtla.
get_data_length
(filename)¶ Get the length of the datafile in samples.
-
arlpy.dtla.
get_sampling_rate
(filename=None)¶ Get the sampling rate in Hz.