Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
assignment Programming 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gastel, L. van (Lex, Student B-BMT)
assignment Programming 2
Commits
998fe038
Commit
998fe038
authored
1 week ago
by
LexvanGastel
Browse files
Options
Downloads
Patches
Plain Diff
230403: 2: Data Retrieval: added code to retrieve EMG channel names
parent
0ab81e52
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
emg_data_walking.mat
+0
-0
0 additions, 0 deletions
emg_data_walking.mat
main.py
+6
-0
6 additions, 0 deletions
main.py
vraag3.py
+2
-0
2 additions, 0 deletions
vraag3.py
vraag4.py
+8
-0
8 additions, 0 deletions
vraag4.py
with
16 additions
and
0 deletions
emg_data_walking.mat
0 → 100644
+
0
−
0
View file @
998fe038
File added
This diff is collapsed.
Click to expand it.
main.py
+
6
−
0
View file @
998fe038
...
...
@@ -23,3 +23,9 @@ def load_emg_data(file_path):
file_path
=
"
emg_data_walking.mat
"
load_emg_data
(
file_path
)
chosen_muscles
=
{
'
rectus_fomoris
'
:
0
,
'
tibialis_anterior
'
:
7
}
print
(
f
"
Gekozen spieren:
{
chosen_muscles
}
"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vraag3.py
0 → 100644
+
2
−
0
View file @
998fe038
t
=
"
hoi
"
print
(
t
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vraag4.py
0 → 100644
+
8
−
0
View file @
998fe038
import
numpy
as
np
import
scipy.signal
as
signal
class
Dataretrieval
:
def
__init__
(
self
,
filiepath
:
str
):
self
.
filepath
=
filepath
self
.
data
=
None
self
.
sampling_rate
\ No newline at end of file
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