-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I was having issues with the timestamp field losing accuracy when being calculated in a single line. I haven't looked much more in to it, but I needed to patch with the code below to get the accuracy back after calculation. I'm working with nanosecond resolution timestamp captures.
@property
def timestamp(self):
# First, get the accuracy from the ts_resol option
high_scaled = (self.timestamp_high << 32) * self.timestamp_resolution
low_scaled = (self.timestamp_low) * self.timestamp_resolution
scaled = high_scaled + low_scaled
return scaledReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels