NSLS-II-CSX / profile_collection

BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

FIX: Use correct event time in flyer, not time collect() is run. #3

Closed danielballan closed 5 years ago

danielballan commented 8 years ago

Today at the beamline, we discovered that diag6_flyer1 was generating events with an event.time that corresponded to when the event documents were composed -- after the scan, during the collect() phase -- not when their respective data points were generated.

We worked around this by accessing event.timestamps['diag6_flyer1'] instead of event.time. This PR makes event.time the same value as event.timestamps['diag6_flyer1']. Now get_table and other tools that use event.time will be usable on this data.

gwbischof commented 5 years ago

Closing this PR. This change is not relevant any longer 20-detectors no longer exists.