You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to add an option to generate a list of HRV features under the statistics tab, or create a new features tab. An option could be added to export this list of features as a '.csv' file.
It is very easy to generate these features from the peaks file which is already included in the GUI by using neurokit2.
# Read the peaks filedf=pd.read_csv(input_file)
rpeaks=df['peaks'].values# Convert R peak times to sample indicessampling_rate=250rpeaks_indices= (rpeaks*sampling_rate).astype(int)
# Generate HRV valueshrv=nk.hrv(rpeaks_indices, sampling_rate=sampling_rate, show=True)
The main goal for many users is often to use the peak intervals to generate HRV features, so this would make the process more efficient.
No description provided.
The text was updated successfully, but these errors were encountered: