hxtorch.spiking.modules.readout_neuron.ReadoutNeuronHandle

class hxtorch.spiking.modules.readout_neuron.ReadoutNeuronHandle(v_cadc: Optional[torch.Tensor] = None, current: Optional[torch.Tensor] = None, v_madc: Optional[torch.Tensor] = None)

Bases: hxtorch.spiking.handle.TensorHandle

Specialization for HX neuron observables

__init__(v_cadc: Optional[torch.Tensor] = None, current: Optional[torch.Tensor] = None, v_madc: Optional[torch.Tensor] = None)None

Instantiate a readout neuron handle able to hold MADC, current, and CADC data. This handle defines the CADC values as the observable state, this can be changed by deriving this class.

Parameters
  • v_cadc – Optional membrane tensor, holding CADC recordings.

  • current – Optional current tensor, holding synaptic current.

  • v_madc – Optional membrane tensor, holding MADC recordings.

Methods

__init__([v_cadc, current, v_madc])

Instantiate a readout neuron handle able to hold MADC, current, and CADC data.

Attributes

current

v_cadc

v_madc

property current
property v_cadc
property v_madc