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