Skip to content
Snippets Groups Projects
Commit 8d51bb72 authored by Ryan Godwin's avatar Ryan Godwin
Browse files

Made some progress on comparing ecg and meg... ecg read is a dictionary of subjects

parent b4f78afc
No related branches found
No related tags found
1 merge request!1Progress toward getting the evaluation integrated
......@@ -3,11 +3,11 @@ import mpld3
import numpy as np
import pandas as pd
import scipy.signal as signal
from data import GetRPeaks
from hrvmeg import data
class CompareMEGICAtoECG:
def __init__(self, output_sub_dir, subject_id, subject_path):
def __init__(self, output_sub_dir, input_ecg, input_cardiac_ic):
"""
The function takes in the subject_id, subject_path, output_sub_dir, and ICA_value and assigns
them to the class.
......@@ -23,7 +23,7 @@ class CompareMEGICAtoECG:
self.output_sub_dir = output_sub_dir
def get_ica_rr(self):
ica_rr = GetRPeaks(output_sub_dir = self.output_sub_dir,
ica_rr = data.GetRPeaks(output_sub_dir = self.output_sub_dir,
subject_id = self.subject_id,
subject_path = self.subject_path
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment