nova icon indicating copy to clipboard operation
nova copied to clipboard

.csv External Signal Data Format

Open ishouldbedany opened this issue 6 years ago • 7 comments

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!

ishouldbedany avatar Feb 28 '18 17:02 ishouldbedany

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

tobiasbaur avatar Mar 03 '18 12:03 tobiasbaur

@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!

ishouldbedany avatar Mar 05 '18 12:03 ishouldbedany

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?

tobiasbaur avatar Mar 05 '18 12:03 tobiasbaur

@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! :+1:

ishouldbedany avatar Mar 06 '18 09:03 ishouldbedany

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?

anthopper avatar Apr 20 '18 18:04 anthopper

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?

tobiasbaur avatar Apr 25 '18 13:04 tobiasbaur

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.

anthopper avatar Apr 25 '18 14:04 anthopper