hxtorch.spiking.modules.iaf_neuron.NeuronHandle
-
class
hxtorch.spiking.modules.iaf_neuron.
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
-
property
current
-
property
spikes
-
property
v_cadc
-
property
v_madc
-