Skip to content
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

.csv External Signal Data Format #358

Open
ishouldbedany opened this issue Feb 28, 2018 · 7 comments
Open

.csv External Signal Data Format #358

ishouldbedany opened this issue Feb 28, 2018 · 7 comments
Labels

Comments

@ishouldbedany
Copy link

Hi. New user of NOVA here.

I have some accelerometer signals (in .csv format) I want to load in parallel with a video, to help the labeling process. How should my .csv files be formated? I cannot find info about it in the documentation.

Thanks!

@tobiasbaur
Copy link
Member

Hi,

we will add this to the documentation,
the format should be like this:

1.0;0.7;0.0 <- First sample with 3 dimensions (e.g. x,y and z direction)
0.9;0.8;0.1 <- Second sample with 3 dimensions
...

either use semicolons as in the example (;) commas, spaces or tabs between dimensions.

Please update to the latest version, then simply drag and drop the csv file, you will see a dialog asking for the data type (most probably floats) and the samplerate in hz. (How many samples represent one second of data).

Please let me know if this solves your question.
T

@ishouldbedany
Copy link
Author

@tobiasbaur Thanks. Loaded it successfully and working well. Great piece of software.

Any tips on how to add a referential to the graphs and how to overlay specific points (landmark) over the signals? (I don't mind diving into the code, so any pointers are appreciated) Thanks!

@tobiasbaur
Copy link
Member

What exactly are you planning to do? The painting of the signals is done in: Controls/Signal/SignalTrack.cs
Depending on the task you could simply add annotations in a parallel track?

@ishouldbedany
Copy link
Author

ishouldbedany commented Mar 6, 2018

@tobiasbaur Annotating a signal where maxima, minima and zero-crossings are useful label indicators, hence why it would be helpful to plot them over the original signal. I'll take a look, thanks! 👍

@anthopper
Copy link

anthopper commented Apr 20, 2018

Hi,

We are exporting Microsoft Kinect data from Nova to analyze body position. We're exporting the stream data to .csv. Unfortunately, there is no timestamp on the exported data. Would it be possible to add the time stamp on the exported data?

@tobiasbaur
Copy link
Member

hi @anthopper.
Indeed there are no timestamps right now BUT each frame is written in a single line, meaning if you recorded your kinect stream with 30hz, in the 30th line you are at exactly 1 second, after 45 lines in at 1.5 seconds and so on. Hope this helps. What would you imagine instead?

@anthopper
Copy link

anthopper commented Apr 25, 2018

That makes sense. We hadn't thought of that. I suppose we imagined, like on video, eye trackers, or log files, we were looking for unix time or mm:ss time since the beginning. But interpolating hz to time as you mention does just as well. So all I could recommend is make it more obvious in the documentation how that works.

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

No branches or pull requests

3 participants