calix.spiking.refractory_period.Settings
-
class
calix.spiking.refractory_period.
Settings
(refractory_counters: Optional[numpy.ndarray] = None, reset_holdoff: Optional[numpy.ndarray] = None, input_clock: Optional[numpy.ndarray] = None, fast_clock: int = 0, slow_clock: int = 0) Bases:
object
Class providing array-like access to settings related to the refractory clock.
-
__init__
(refractory_counters: Optional[numpy.ndarray] = None, reset_holdoff: Optional[numpy.ndarray] = None, input_clock: Optional[numpy.ndarray] = None, fast_clock: int = 0, slow_clock: int = 0) → None Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([refractory_counters, …])Initialize self.
apply_to_chip
(chip)Apply refractory settings in the given chip object.
Attributes
-
apply_to_chip
(chip: pylola_vx_v3.Chip) Apply refractory settings in the given chip object.
The settings have to cover a whole chip, i.e. 512 neurons.
- Parameters
chip – Chip object to reconfigure with refractory settings.
- Raises
ValueError – If array shapes do not match a whole chip.
-
fast_clock
: int = 0
-
input_clock
: Optional[numpy.ndarray] = None
-
refractory_counters
: Optional[numpy.ndarray] = None
-
reset_holdoff
: Optional[numpy.ndarray] = None
-
slow_clock
: int = 0
-