Skip to content
Snippets Groups Projects
Commit 9d8193f3 authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Changed dark data name

parent d36778a5
No related branches found
No related tags found
1 merge request!54Dssc1module
This commit is part of merge request !54. Comments created here will be created in the context of that merge request.
...@@ -155,9 +155,9 @@ class DSSC1module: ...@@ -155,9 +155,9 @@ class DSSC1module:
print('finished:', strftime('%X')) print('finished:', strftime('%X'))
# rearange the multiprocessed data # rearange the multiprocessed data
self.module_data = xr.concat(res, dim='worker').transpose('worker', 'pulse', 'x', 'y').sum(dim='worker') module_data = xr.concat(res, dim='worker').transpose('worker', 'pulse', 'x', 'y').sum(dim='worker')
self.module_data = self.module_data['data']/self.module_data['counts'] self.dark_data = module_data['data']/module_data['counts']
self.module_data['run'] = self.run_nr self.dark_data['run'] = self.run_nr
def binning(self): def binning(self):
""" Bin the DSSC data by the predifined scan type (DSSC.define()) using multiprocessing """ Bin the DSSC data by the predifined scan type (DSSC.define()) using multiprocessing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment