calix.hagen.HagenSyninCalibResult

class calix.hagen.HagenSyninCalibResult(target: Optional[CalibTarget], options: Optional[CalibOptions], cadc_result: cadc.CADCCalibResult, synapse_driver_result: synapse_driver.SynapseDriverCalibResult, syn_i_bias_dac: np.ndarray)

Bases: calix.common.base.CalibResult

Calib results needed for hagen mode integration on the synaptic inputs.

Contains synapse driver calibration, CADC calibration and calibrated bias currents of the synapse DAC.

Refer to the documentation of calix.hagen.cadc.CADCCalibResult and calix.hagen.synapse_driver.SynapseDriverCalibResult for details about the contained result objects.

__init__(target: Optional[CalibTarget], options: Optional[CalibOptions], cadc_result: cadc.CADCCalibResult, synapse_driver_result: synapse_driver.SynapseDriverCalibResult, syn_i_bias_dac: np.ndarray)None

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

Methods

__init__(target, options, cadc_result, …)

Initialize self.

apply(builder)

Apply the calib to the chip.

apply(builder: calix.common.base.WriteRecordingPlaybackProgramBuilder)

Apply the calib to the chip.

Assumes the chip to be initialized already, which can be done using the stadls ExperimentInit().

Parameters

builder – Builder or dumper to append instructions to.

cadc_result: cadc.CADCCalibResult
syn_i_bias_dac: np.ndarray
synapse_driver_result: synapse_driver.SynapseDriverCalibResult