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

Fix delay claculation in DSSC1module.py

parent e8ff7017
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ class DSSC1module: ...@@ -106,7 +106,7 @@ class DSSC1module:
except: except:
self.delay_mm = 0*self.nrj self.delay_mm = 0*self.nrj
self.t0 = t0 self.t0 = t0
self.delay_ps = tb.positionToDelay(self.delay_mm, origin=self.t0) self.delay_ps = tb.positionToDelay(self.delay_mm, origin=self.t0, invert=True)
def collect_dssc_module_file(self): def collect_dssc_module_file(self):
""" Collect the raw DSSC module h5 files. """ Collect the raw DSSC module h5 files.
......
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