Skip to content
Snippets Groups Projects

Dssc1module

Merged Loïc Le Guyader requested to merge DSSC1module into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -155,9 +155,9 @@ class DSSC1module:
print('finished:', strftime('%X'))
# rearange the multiprocessed data
self.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.module_data['run'] = self.run_nr
module_data = xr.concat(res, dim='worker').transpose('worker', 'pulse', 'x', 'y').sum(dim='worker')
self.dark_data = module_data['data']/module_data['counts']
self.dark_data['run'] = self.run_nr
def binning(self):
""" Bin the DSSC data by the predifined scan type (DSSC.define()) using multiprocessing
Loading