diff --git a/client/check.py b/client/check.py index 33be335..f5760a1 100644 --- a/client/check.py +++ b/client/check.py @@ -1,10 +1,12 @@ import argparse -import json import datetime +import json import os + import h5py import numpy as np + def run(): parser = argparse.ArgumentParser(description='check consistency of produced files') diff --git a/client/client_example.py b/client/client_example.py index fba9a4b..59361a1 100644 --- a/client/client_example.py +++ b/client/client_example.py @@ -1,8 +1,8 @@ -import time -import sys -import signal import datetime import os +import signal +import sys +import time import daq_client diff --git a/client/daq_client.py b/client/daq_client.py index 7ea4d5d..af347e5 100644 --- a/client/daq_client.py +++ b/client/daq_client.py @@ -1,7 +1,8 @@ -import requests import argparse import json +import requests + broker_address = "http://sf-daq:10002" TIMEOUT_DAQ = 10 diff --git a/client/jungfrau_convert_gainmaps.py b/client/jungfrau_convert_gainmaps.py index 80621bb..7401b47 100644 --- a/client/jungfrau_convert_gainmaps.py +++ b/client/jungfrau_convert_gainmaps.py @@ -1,9 +1,10 @@ -import h5py -import numpy as np import argparse import os from datetime import datetime +import h5py +import numpy as np + # a = np.fromfile("gainMaps_M022.bin", np.double) GAINS = ["G0", "G1", "G2", "HG0", "HG1", "HG2"]