Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Wrong timestamps when using Wizard.save() with evt3 files #20

Open
akdavid opened this issue Nov 20, 2023 · 2 comments
Open

Wrong timestamps when using Wizard.save() with evt3 files #20

akdavid opened this issue Nov 20, 2023 · 2 comments

Comments

@akdavid
Copy link

akdavid commented Nov 20, 2023

Hi,

As I am on macOS I cannot use the metavision library to work with evt3 files, and so I am using expelliarmus. So first thank you for this package !

Here is the context of my issue. I use expelliarmus to convert an evt3 file into a numpy array, and then I split the numpy array into sub-arrays, and then I save the sub-arrays into evt3 raw files using Wizard.save(). However, the timestamps of the raw saved sub-arrays are not the same as the ones of the numpy sub-arrays.

Any advice to correct this issue ?

Moreover, when I open the saved raw files with a text editor, I observe that the date appearing in the header is not the good one (year 1970 instead of 2023). I guess this is related to my issue.

Best,
Anthony

PS : I have already seen the issue #19 about timestamps problems, but I think that here it is a different issue.

@fabrizio-ottati
Copy link
Member

Ah, this seems a nasty bug indeed.

The header issue is due to the fact that I hardcoded a random date in the source code :)

Regarding your issue, I need to take a look at it using Prophesee data.

@akdavid
Copy link
Author

akdavid commented Nov 21, 2023

Thank you for the answer. I will be grateful if you find a solution :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants