hxtorch.spiking.handle.NeuronHandle

class hxtorch.spiking.handle.NeuronHandle(spikes: Optional[torch.Tensor] = None, 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__(spikes: Optional[torch.Tensor] = None, v_cadc: Optional[torch.Tensor] = None, current: Optional[torch.Tensor] = None, v_madc: Optional[torch.Tensor] = None)None

Instantiate a neuron handle able to hold spike and membrane tensors.

Parameters
  • spikes – Optional spike tensor.

  • 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__([spikes, v_cadc, current, v_madc])

Instantiate a neuron handle able to hold spike and membrane tensors.

Attributes

current

spikes

v_cadc

v_madc

property current
property spikes
property v_cadc
property v_madc