Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
HRV_MEG
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ryan Christopher Godwin
HRV_MEG
Commits
8d51bb72
Commit
8d51bb72
authored
2 years ago
by
Ryan Godwin
Browse files
Options
Downloads
Patches
Plain Diff
Made some progress on comparing ecg and meg... ecg read is a dictionary of subjects
parent
b4f78afc
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Progress toward getting the evaluation integrated
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hrvmeg/compare.py
+3
-3
3 additions, 3 deletions
src/hrvmeg/compare.py
with
3 additions
and
3 deletions
src/hrvmeg/compare.py
+
3
−
3
View file @
8d51bb72
...
...
@@ -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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment