hxtorch.spiking.experiment.HardwareObservablesExtractor
-
class
hxtorch.spiking.experiment.
HardwareObservablesExtractor
Bases:
object
-
__init__
() Initialize self. See help(type(self)) for accurate signature.
Methods
get
([descriptor])Get the
HardwareObservables
assigned to theHXModule
with grenade Population/Projection descriptordescriptor
.set_data
(network_graph, result_map)Set the data to be extracted.
-
get
(descriptor: Optional[Union[_pygrenade_vx_network.PopulationOnNetwork, _pygrenade_vx_network.ProjectionOnNetwork, Tuple[_pygrenade_vx_network.ProjectionOnNetwork, …]]] = None) → hxtorch.spiking.observables.HardwareObservables Get the
HardwareObservables
assigned to theHXModule
with grenade Population/Projection descriptordescriptor
.- Parameters
descriptor – The Population/Projection grenade descriptor to get the data for
- Returns
The hardware data assigned to the HXModule with descriptor
descriptor
-
set_data
(network_graph: _pygrenade_vx_network.NetworkGraph, result_map: _pygrenade_vx_signal_flow.OutputData) → None Set the data to be extracted. This method also evokes data extraction.
- Parameters
network_graph – The logical grenade network graph describing the logic of th experiment.
result_map – The result map returned by grenade holding all recorded hardware observables.
-