From 1370a94c4e076d0f948038523765d4f647e54b0f Mon Sep 17 00:00:00 2001 From: sldesnoo-Delft <s.l.desnoo@tudelft.nl> Date: Fri, 11 Nov 2022 08:42:26 +0100 Subject: [PATCH] Added comment --- pulse_lib/segments/utility/looping.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pulse_lib/segments/utility/looping.py b/pulse_lib/segments/utility/looping.py index 76a3279b..607022ef 100644 --- a/pulse_lib/segments/utility/looping.py +++ b/pulse_lib/segments/utility/looping.py @@ -27,6 +27,7 @@ class loop_obj(): units (str/tuple<str>) : unit of the sweep data setvals (array/np.ndarray) : if you want to display different things on the axis than the normal data point. When None, setvals is the same as the data varaible. ''' + # NOTE: data MUST be float for qcodes save_metadata self.data = np.asarray(data).astype(float) self.dtype = self.data.dtype -- GitLab