hxtorch.spiking.functional.li.CalibratedParams
-
class
hxtorch.spiking.functional.li.
CalibratedParams
(leak: torch.Tensor = 80, reset: torch.Tensor = 80, threshold: torch.Tensor = 125, tau_mem: torch.Tensor = 1e-05, tau_syn: torch.Tensor = 1e-05, i_synin_gm: Union[int, torch.Tensor] = 500, e_coba_reversal: Optional[torch.Tensor] = None, e_coba_reference: Optional[torch.Tensor] = None, membrane_capacitance: torch.Tensor = 63, refractory_time: torch.Tensor = 2e-06, synapse_dac_bias: Union[int, torch.Tensor] = 600, holdoff_time: torch.Tensor = 0) Bases:
object
Parameters for any (of currently available) forward and backward path.
-
__init__
(leak: torch.Tensor = 80, reset: torch.Tensor = 80, threshold: torch.Tensor = 125, tau_mem: torch.Tensor = 1e-05, tau_syn: torch.Tensor = 1e-05, i_synin_gm: Union[int, torch.Tensor] = 500, e_coba_reversal: Optional[torch.Tensor] = None, e_coba_reference: Optional[torch.Tensor] = None, membrane_capacitance: torch.Tensor = 63, refractory_time: torch.Tensor = 2e-06, synapse_dac_bias: Union[int, torch.Tensor] = 600, holdoff_time: torch.Tensor = 0) → None Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([leak, reset, threshold, tau_mem, …])Initialize self.
from_calix_targets
(targets, neurons)Load the params from a calix calibration target.
to_calix_targets
(targets, neurons)Add the params to a calix calibration target.
Attributes
-
e_coba_reference
: Optional[torch.Tensor] = None
-
e_coba_reversal
: Optional[torch.Tensor] = None
-
from_calix_targets
(targets: NeuronCalibTarget, neurons: List[halco.LogicalNeuronOnDLS]) → None Load the params from a calix calibration target.
- Parameters
targets – The calix calibration targets to read the params from.
neurons – The neuron coordinates to which this params object is assigned to.
-
holdoff_time
: torch.Tensor = 0
-
i_synin_gm
: Union[int, torch.Tensor] = 500
-
leak
: torch.Tensor = 80
-
log
= <pylogging.Logger object>
-
membrane_capacitance
: torch.Tensor = 63
-
refractory_time
: torch.Tensor = 2e-06
-
reset
: torch.Tensor = 80
-
synapse_dac_bias
: Union[int, torch.Tensor] = 600
-
tau_mem
: torch.Tensor = 1e-05
-
tau_syn
: torch.Tensor = 1e-05
-
threshold
: torch.Tensor = 125
-
to_calix_targets
(targets: NeuronCalibTarget, neurons: List[halco.LogicalNeuronOnDLS]) → NeuronCalibTarget Add the params to a calix calibration target.
- Parameters
targets – The calix calibration targets to append configuration indicated by this params object to.
neurons – The neuron coordinates to which this params object is assigned to.
- Returns
Returns the calibration target with desired target parameters at the neuron coordinates associated with this params object.
-