brainspy.processors.hardware.drivers.ni.channels#
This file contains a set of functions that are used to initialise the channels used to specify the connection between the National Instrument devices and the electrodes of DNPU hardware devices. It supports to declare channels for one or more DNPU hardware devices simultaneously.
Functions
|
Adds a value to a list if the value does not exist already in that list. |
|
It creates a single array of voltage ranges, as defined in the activation_voltage_ranges flag of the driver's configs files. |
|
This method retrieves a list of the masks for the channels from a configuration dictionary and transforms it into a numpy array. |
|
Method to retrieve all the activation channel lists from more than one hardware DNPU devices, in cases where the PCB supports writing to more than one DNPU hardware device simultaneously. |
|
It creates a single array of voltage ranges, as defined in the activation_voltage_ranges flag of the driver's configs files. |
|
Method to retrieve all the readout channel lists from more than one hardware DNPU devices, in cases where the PCB supports reading from more than one DNPU hardware device simultaneously. |
|
Checks if a configuration key from the instruments_setup configuration dictionary contains the name of a DNPU device, in the case of having a PCB with multiple DNPU devices (multiple_devices = True). |
|
Check the type of the configurations provided |