pyepr.hardware.ETH_awg_load

Functions

uwb_load(matfile[, options, verbosity, compress, ...])

uwb_load This function is based upon the uwb_eval matlab function

uwb_eval_match(matfile[, sequence, scans, mask, ...])

find_max_pulse_length(estr)

digitally_upconvert(t, complex, fc)

calc_percieved_freq(sampling_freq, fc)

match_filter_dc(pulse, t, win, offset_freq)

scipy_filter_dc(dta, t, filter_width, offset_freq[, ...])

Module Contents

pyepr.hardware.ETH_awg_load.uwb_load(matfile, options=dict(), verbosity=0, compress=True, mask=None, sequence=None)[source]

uwb_load This function is based upon the uwb_eval matlab function developed by Andrin Doll. This is mostly a Python version of this software,

for loading data generated by Doll style spectrometers.

Parameters:
matfilenp.ndarray

_description_

optionsdict, optional

_description_, by default None

compressbool, optional

Compresses all the scans into a single scan.

Parameters:
  • matfile (numpy.ndarray)

  • options (dict)

  • compress (bool)

pyepr.hardware.ETH_awg_load.uwb_eval_match(matfile, sequence=None, scans=None, mask=None, filter_pulse=None, filter_type='match', filter_width=None, verbosity=0, corr_phase=False, **kwargs)[source]
Parameters:
matfilenp.ndarray

The data file to be loaded.

sequencead.Sequence, optional

The sequence used to generate the data.

scanslist, optional

The scans to be loaded.

masklist, optional

The mask to be used.

filter_pulsead.Pulse, optional

The pulse to be used as a matched filter. If None, the maximum pulse width will be used. This is only used if filter_type is ‘match’

filter_typestr, optional

The type of filter to be used. Options are ‘match’, ‘cheby2’ and ‘butter. Default is ‘match’

filter_widthfloat, optional

The width of the filter to be used. This is only used if filter_type is ‘cheby2’ or ‘butter’

verbosityint, optional

The verbosity of the function. Default is 0.

pyepr.hardware.ETH_awg_load.find_max_pulse_length(estr)[source]
pyepr.hardware.ETH_awg_load.digitally_upconvert(t, complex, fc)[source]
pyepr.hardware.ETH_awg_load.calc_percieved_freq(sampling_freq, fc)[source]
pyepr.hardware.ETH_awg_load.match_filter_dc(pulse, t, win, offset_freq)[source]
pyepr.hardware.ETH_awg_load.scipy_filter_dc(dta, t, filter_width, offset_freq, filter_type='cheby2')[source]