From 2605e504da92c396e2071741daa891c548a2929d Mon Sep 17 00:00:00 2001 From: Josh Veitch-Michaelis Date: Fri, 2 Oct 2020 21:41:29 -0700 Subject: [PATCH] fix class method --- flirpy/camera/tau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flirpy/camera/tau.py b/flirpy/camera/tau.py index 003eb45..afffef0 100644 --- a/flirpy/camera/tau.py +++ b/flirpy/camera/tau.py @@ -630,7 +630,7 @@ def _sync_uart(self, allow_timeout=False): return data[data.find(magic):] - def _convert_frame(data, to_temperature=False, width=640): + def _convert_frame(self, data, to_temperature=False, width=640): # This is reported by the camera. Some cameras may default to other settings. frame_width = np.frombuffer(data[5:7], dtype='uint16')[0]