feat: plotting from streamer

This commit is contained in:
wyzula-jan
2023-08-08 18:26:20 +02:00
parent 1ea90eb8f5
commit 180ed300fb
2 changed files with 10 additions and 7 deletions

View File

@@ -104,6 +104,7 @@ class StreamProcessorPx(StreamProcessor):
stream_output = {
self.config["output"]: {
# 0: {"x": np.asarray(x), "y": np.asarray(y), "z": np.asarray(out)},
0: {"z": np.asarray(out)},
},
# "input": self.config["input_xy"],
}
@@ -200,8 +201,7 @@ if __name__ == "__main__":
"channels": ["data", "metadata", "q", "norm_sum"],
"output": "px_dap_worker",
"parameters": {
"qranges" : [20,50],
"roi_stream": "px_roi_stream",
"qranges" : [20,50], #TODO this will be signal from ROI selector
"contrast": 0, # "contrast_stream" : 'px_contrast_stream',
},
}