hcmlab / nova

NOVA is a tool for annotating and analyzing behaviours in social interactions. It supports Annotators using Machine Learning already during the coding process. Further it features both, discrete labels and continuous scores and a visuzalization of streams recorded with the SSI Framework.
http://openssi.net/
GNU General Public License v3.0
174 stars 37 forks source link

Having frequency in the project #461

Open Elthion opened 2 years ago

Elthion commented 2 years ago

Hi,

Currently, when a new csv file is opened in NOVA or when a NOVA project is loaded, a window ("Selection Dialog") appears to get the input from the user of the data frequency from the corresponding csv file. The function that opens this window is in "Signal.cs" and is called "SelectDataType(string filename, ref Signal.Type type, ref double rate)". When the frequency of the file is different for each csv files it can be very cumbersome to fill in the value and it is quite time consuming.

Would it be possible to automatically load the frequency of each csv file from the .nova project file as long as it has been entered at least one time?

For example: the first time the project is opened, user has to input the frequency from the "Selection Dialog" because it is not already written in the .nova file, except if the project file was created directly from NOVA and csv were already opened at this time. Then, the next time the project is opened, the frequency values are automatically selected from the .nova project file based on what has been saved from the first user input. I think 2 values have to be saved (combobox value + frequency value).

I believe the modification to be able to get frequency from project file seems relatively easy to implement compared to the gain of time when opening projects with multiple files.

Thanks in advance for your consideration and for this great tool you provide, Best