Skip to content

Commit cf71d47

Browse files
committed
Prepare to open source
1 parent d92a19d commit cf71d47

7 files changed

+26
-5
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 PerlinWarp
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

myo_multithreading_examp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import multiprocessing
2-
from myo_serial import MyoRaw
2+
from pyomyo import MyoRaw
33

44
# ------------ Myo Setup ---------------
55
q = multiprocessing.Queue()

plot_emgs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from pygame.locals import *
33
import multiprocessing
44

5-
from myo_serial import MyoRaw
5+
from pyomyo import MyoRaw
66

77
# ------------ Myo Setup ---------------
88
q = multiprocessing.Queue()

plot_emgs_mat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from matplotlib import animation
88
from matplotlib.cm import get_cmap
99

10-
from myo_serial import MyoRaw
10+
from pyomyo import MyoRaw
1111

1212
print("Press ctrl+pause/break to stop")
1313

myo_serial.py renamed to pyomyo.py

File renamed without changes.

simple_classifier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from pygame.locals import *
3131
import numpy as np
3232

33-
from myo_serial import MyoRaw
33+
from pyomyo import MyoRaw
3434

3535
SUBSAMPLE = 3
3636
K = 15

speedtest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import time
33
import multiprocessing
44

5-
from myo_serial import MyoRaw
5+
from pyomyo import MyoRaw
66

77
PLOT = True
88
RAW = True

0 commit comments

Comments
 (0)