hxtorch.spiking.handle.ReadoutNeuronHandle

class hxtorch.spiking.handle.ReadoutNeuronHandle(membrane_cadc: Optional[torch.Tensor] = None, current: Optional[torch.Tensor] = None, membrane_madc: Optional[torch.Tensor] = None)

Bases: hxtorch.spiking.handle.Handle

Specialization for HX neuron observables

__init__(membrane_cadc: Optional[torch.Tensor] = None, current: Optional[torch.Tensor] = None, membrane_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
  • membrane_cadc – Optional membrane tensor, holding CADC recordings.

  • current – Optional current tensor, holding synaptic current.

  • membrane_madc – Optional membrane tensor, holding MADC recordings.

Methods

__init__([membrane_cadc, current, membrane_madc])

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

Attributes

current

membrane_cadc

membrane_madc

property current
property membrane_cadc
property membrane_madc