From e473e5a0462ebae52658ed1ef3af4448d39d83e7 Mon Sep 17 00:00:00 2001 From: esea_info Date: Wed, 19 Apr 2023 19:28:11 +0800 Subject: [PATCH] uncomment --- Ramses.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ramses.py b/Ramses.py index e0e7598..3f103a9 100644 --- a/Ramses.py +++ b/Ramses.py @@ -125,8 +125,8 @@ class Ramses(object): def __ConvertBytesToInt(self ) -> None: res = {} d = [] # List [ Tuple[ it:int, sing_set:tuple[int] ] ] - print(f" ================= ") - print(f" {self.buf.hex()} ") + # print(f" ================= ") + # print(f" {self.buf.hex()} ") self.it = 2 << int(self.buf[1]) # integrated time # self.it = 2 << int(self.buf[0]) # integrated time self.light_int = struct.unpack( @@ -134,7 +134,7 @@ class Ramses(object): HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH \ HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH \ HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH", self.buf[2:]) - print( self.light_int ) + # print( self.light_int ) def __CalibrateSpectrumData(self ,) : t0 = 8092