From d296ff7bdbe3fcd6c3a4e40447a649001649323d Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Fri, 2 Feb 2024 16:51:35 +0000 Subject: [PATCH] time_to_center is no longer optional --- src/readouts/ADCs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/readouts/ADCs.jl b/src/readouts/ADCs.jl index afdad3d..f5c0c2d 100644 --- a/src/readouts/ADCs.jl +++ b/src/readouts/ADCs.jl @@ -21,7 +21,7 @@ Adds a readout event with `nsamples` readouts. struct ADC <: BuildingBlock nsamples :: Integer dwell_time :: VariableType - time_to_center :: Union{Nothing, VariableType} + time_to_center :: VariableType end function ADC(nsamples; dwell_time=nothing, time_to_center=nothing, center_halfway=true, kwargs...) -- GitLab