MarcusVollmer / HRV

Methods for analyzing Heart Rate Variability
http://marcusvollmer.github.io/HRV/
MIT License
83 stars 37 forks source link

Can we get the HRV measures in mat or any other format #5

Open MarcusVollmer opened 4 years ago

MarcusVollmer commented 4 years ago

Can we get the HRV measure part in mat or any other format like I have to save the HRV measure coming through the tool

Originally posted by @pinanshu in https://github.com/MarcusVollmer/HRV/issues/4#issuecomment-578080416

MarcusVollmer commented 4 years ago

Dear Pinanshu,

there are two ways of doing it:

1. Use the copy-to-clipboard button Screenshot from 2020-01-24 14-17-53 to generate a Matlab-readable matrix of measurement values. You can paste that to your m-file or directly into the console: Screenshot from 2020-01-24 14-13-50 Screenshot from 2020-01-24 14-14-04

2. Use the save as option from the 'file' menu and select *.mat or *.csv to save the results directly in a Matlab object or an open readable text file: Screenshot from 2020-01-24 14-14-51

pinanshu commented 4 years ago

I am trying to import a mat file in HRV tool but I am unable to do so. I actually converted .dat file to .mat and then tried to import it in the tool but some error is coming and I am unable to resolve it.

Screenshot (18)

apavlo89 commented 4 years ago

For the love of god can you please PLEASE make/give instructions for script that saves output in a csv file and instructions/way to automate the process of analysing multiple recordings? PLEASE. I know how to automate variable outputs in EEG analysis python scripts (MNE, YASA) but every single Python HRV module is busting my balls and can't get it to work because every single HRV python script either has no instructions/tutorial or assumes high programming knowledge and instructions are unclear. Your tool is fantastic and works great but it is lacking scripting automation capabilities that save analysis time... Getting the values manually each time is doing my head in.. Thanks for listening. :P

A very frustrated researcher.

apavlo89 commented 4 years ago

Also the copy function is pasting all the values in a single cell. If you could change it so that each value is copy-pasted in a different cell that would be amazing.