hxtorch.spiking.execution_instance.SpikingCalibTarget

class hxtorch.spiking.execution_instance.SpikingCalibTarget(cadc_target: calix.common.cadc.CADCCalibTarget = <factory>, neuron_target: calix.spiking.neuron.NeuronCalibTarget = <factory>, correlation_target: Optional[calix.spiking.correlation.CorrelationCalibTarget] = None, stp_target: calix.spiking.synapse_driver.STPCalibTarget = <factory>)

Bases: calix.common.base.TopLevelCalibTarget

Data class containing targets for spiking neuron calibration.

Variables
  • cadc_target – Target parameters for CADC calibration.

  • neuron_target – Target parameters for neuron calibration.

  • correlation_target – Target parameters for calibration of correlation sensors. If None, they will not be calibrated.

  • stp_target – Target for STP calibration.

__init__(cadc_target: calix.common.cadc.CADCCalibTarget = <factory>, neuron_target: calix.spiking.neuron.NeuronCalibTarget = <factory>, correlation_target: Optional[calix.spiking.correlation.CorrelationCalibTarget] = None, stp_target: calix.spiking.synapse_driver.STPCalibTarget = <factory>)None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([cadc_target, neuron_target, …])

Initialize self.

calibrate(connection[, options])

Execute a calibration for this target.

Attributes

correlation_target

cadc_target: cadc.CADCCalibTarget
calibrate(connection: pyhxcomm_vx.ConnectionHandle, options: Optional[calix.spiking.SpikingCalibOptions] = None)calix.spiking.SpikingCalibResult

Execute a calibration for this target.

Parameters
  • connection – Connection to be used

  • options – Calibration options

Returns

Calibration result

correlation_target: Optional[correlation.CorrelationCalibTarget] = None
neuron_target: neuron.NeuronCalibTarget
stp_target: synapse_driver.STPCalibTarget