-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timestamp reading problem #1027
Comments
from asammdf import MDF
m = MDF(r'c:\ASAP2_Demo_V171.mf4')
for i, df in enumerate(m.iter_groups()):
print(df)
print(df.index)
the timestamps are found in the dataframe index |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could anyone tell me how to extrace all the timestamps as epoch form inside of the dataframe?
My current reading of timestamps from channel groups using: mdf.channels_db only include results like this: {'Timestamp': ((0, 0), (1, 0), (2, 0), (3, 0), (4, 0), (5, 0), (6, 0), (7, 0), (8, 0), (10, 0), (12, 0), (14, 0), (16, 0), (17, 0), (18, 0), (19, 0), (20, 0), (21, 0), (22, 0), (23, 0), (24, 0), (25, 0), (26, 0), (27, 0), (28, 0), (29, 0), (31, 0), (33, 0), (35, 0), (37, 0), (38, 0), (39, 0)} that may determine where have the timestamp, not the timestamp itself.
Also the iter_groups() doesn't have timestamp as a column.
Thank you!
The text was updated successfully, but these errors were encountered: