![]() |
LASP 1.0
Library for Acoustic Signal Processing
|
DaqConfigurations stores a set containing an input configuration and an output configuration. More...
Public Member Functions | |
__init__ (self, bool duplex_mode, DaqConfiguration input_config, DaqConfiguration output_config) | |
Initialize set of DaqConfigurations. | |
save (self, str name) | |
Save the current set of configurations to the shelve store. | |
Static Public Member Functions | |
getNames () | |
Get a list of all names of DaqConfigurations sets. | |
loadAll () | |
Returns a dictionary of all configurations presets. | |
load (str name) | |
Load a single configuration preset, containing input config and output config. | |
loadRaw () | |
Returns configurations presets in the raw form they are stored. | |
saveRaw (configs_raw) | |
Save configurations presets, using already formatted data. | |
delete (str name) | |
Delete a DaqConfigurations set from the store. | |
Public Attributes | |
input_config | |
output_config | |
duplex_mode | |
DaqConfigurations stores a set containing an input configuration and an output configuration.
Definition at line 19 of file lasp_daqconfigs.py.
lasp.lasp_daqconfigs.DaqConfigurations.__init__ | ( | self, | |
bool | duplex_mode, | ||
DaqConfiguration | input_config, | ||
DaqConfiguration | output_config | ||
) |
Initialize set of DaqConfigurations.
Args: duplex_mode: If true, the input configuration is used for output as well. This makes only sense when the device is capable of having simultaneous input / output. input_config: The configuration settings for the input output_config: The configuration settoutgs for the output
Definition at line 25 of file lasp_daqconfigs.py.
|
static |
Delete a DaqConfigurations set from the store.
Definition at line 136 of file lasp_daqconfigs.py.
|
static |
Get a list of all names of DaqConfigurations sets.
Returns: list of names
Definition at line 47 of file lasp_daqconfigs.py.
|
static |
Load a single configuration preset, containing input config and output config.
Args: name: The name of the configuration to load.
Definition at line 77 of file lasp_daqconfigs.py.
|
static |
Returns a dictionary of all configurations presets.
The dictionary keys are the names of the configurations
Returns: all configurations, as a dictionary
Definition at line 60 of file lasp_daqconfigs.py.
|
static |
Returns configurations presets in the raw form they are stored.
Returns: all configurations, raw
Definition at line 96 of file lasp_daqconfigs.py.
lasp.lasp_daqconfigs.DaqConfigurations.save | ( | self, | |
str | name | ||
) |
Save the current set of configurations to the shelve store.
Args: name: The name of the configuration set.
Definition at line 107 of file lasp_daqconfigs.py.
|
static |
Save configurations presets, using already formatted data.
Arg: all configurations, raw data format in form they are stored
Definition at line 125 of file lasp_daqconfigs.py.
lasp.lasp_daqconfigs.DaqConfigurations.duplex_mode |
Definition at line 44 of file lasp_daqconfigs.py.
lasp.lasp_daqconfigs.DaqConfigurations.input_config |
Definition at line 42 of file lasp_daqconfigs.py.
lasp.lasp_daqconfigs.DaqConfigurations.output_config |
Definition at line 43 of file lasp_daqconfigs.py.