juangpc on main
give time for producer thread t… (compare)
juangpc on main
ENH: return default fiffInfo bu… ENH: getting default fiffinfo o… MAINT: add missing params to dr… (compare)
Hello, I work at the Brain Electrophysiology Lab Company and we're looking into using MNE Analyze. There are a few potential features we are interested in.
.evefiles: I see that events can be saved to a
.evefile but I don't see any way to load one of these files.
[DEBUG] [AbstractModel::saveToFile] Saving data to "/path/to/file.fif" is not implemented for MODELTYPE = 5.
We are interested in working to contribute these features to the codebase if there's agreement that they would be useful.
@ianbrown9475 Hi, contributions are always greatly appreciated :)
1) Currently we only supporting reading events from fif file. See here https://github.com/mne-tools/mne-cpp/blob/226bf9036c4e73d393840d7bab2b06693430c471/libraries/mne/mne.cpp#L64. There is some code for loading text file based events commented out though. I guess adding code to read from .eve can be easily achieved, e.g., by using QTextStream.
2) In order to write the average data to file the virtual saveToFile function needs to be implemented for the AverageModel: https://github.com/mne-tools/mne-cpp/blob/226bf9036c4e73d393840d7bab2b06693430c471/applications/mne_analyze/libs/anShared/Model/abstractmodel.h#L222
3) Same as in 2) but for the constructor taking a file path: https://github.com/mne-tools/mne-cpp/blob/226bf9036c4e73d393840d7bab2b06693430c471/applications/mne_analyze/libs/anShared/Model/abstractmodel.h#L124
4) We are planning to implement a more abstract input output library which maps to an internal mne-cpp data format. Support for MFF would be great to have!
Feel free to stop by our slack channel: https://join.slack.com/t/mne-cpp/shared_invite/zt-cm5uwh2q-NLx92vkfNuT0Qf2iCq8TAA