calix.spiking.correlation.CorrelationCalibOptions
-
class
calix.spiking.correlation.
CorrelationCalibOptions
(branches: calix.spiking.correlation.CorrelationBranches = <CorrelationBranches.BOTH: 3>, v_res_meas: quantities.quantity.Quantity = array(0.9) * V, v_reset: quantities.quantity.Quantity = array(1.85) * V, calibrate_synapses: bool = False, time_constant_priority: float = 0.3, default_amp_calib: Optional[int] = None, default_time_calib: Optional[int] = None) Bases:
calix.common.base.CalibOptions
Further options for correlation calibration.
- Variables
calibrate_synapses – Decide whether individual synapses’ calibration bits shall be calibrated. This requires hours of runtime and may not improve the usability singificantly.
time_constant_priority – Priority given to time constant during individual calibration of synapses. Has to be in the range from 0 to 1, the remaining priority is given to the amplitude.
branches – Correlation traces to consider during calibration. Use the Enum type CorrelationBranches to select from causal, acausal or both.
v_res_meas – Reset voltage for the measurement capacitors. Affects the achievable amplitudes: In case your desired amplitudes cannot be reached at sensible CapMem currents, consider increasing v_res_meas. However, this also increases problems observed on some synapses, like traces no longer behaving exponentially. Generally, you should set this as low as possible - we recommend some 0.9 V.
v_reset – Reset voltage for the accumulation capacitors in each synapse. Controls the baseline measurement when the sensors’ accumulation capacitors were reset and no correlated events were recorded. The baseline read should be near the upper end of the reliable range of the CADC, which is the case when v_reset is set to some 1.85 V. (There’s a source follower circuit in the correlation readout.)
default_amp_calib – Amplitude calibration setting used for all synapses when calibrating CapMem bias currents. Should allow headroom for adjusting amplitudes in both directions if individual synapses are to be calibrated. Otherwise, a value of 0 is recommended. Set sensibly by default.
default_time_calib – Time constant calibration setting used for all synapses when calibrating CapMem bias currents. Should allow headroom for adjusting amplitudes in both directions if individual synapses are to be calibrated. Set sensibly by default.
-
__init__
(branches: calix.spiking.correlation.CorrelationBranches = <CorrelationBranches.BOTH: 3>, v_res_meas: quantities.quantity.Quantity = array(0.9) * V, v_reset: quantities.quantity.Quantity = array(1.85) * V, calibrate_synapses: bool = False, time_constant_priority: float = 0.3, default_amp_calib: Optional[int] = None, default_time_calib: Optional[int] = None) → None Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([branches, v_res_meas, v_reset, …])Initialize self.
check
()Check if given parameters are in a valid range.
Attributes
-
branches
: calix.spiking.correlation.CorrelationBranches = 3
-
calibrate_synapses
: bool = False
-
check
() → None Check if given parameters are in a valid range.
-
default_amp_calib
: Optional[int] = None
-
default_time_calib
: Optional[int] = None
-
time_constant_priority
: float = 0.3
-
v_res_meas
: quantities.quantity.Quantity = array(0.9) * V
-
v_reset
: quantities.quantity.Quantity = array(1.85) * V