Skip to content

Commit e230a12

Browse files
committed
Added comment to utils changes
1 parent d6463e7 commit e230a12

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

libemg/utils.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
import os
2-
31
import numpy as np
4-
from PIL import Image, UnidentifiedImageError
5-
import matplotlib.pyplot as plt
6-
from matplotlib.backends.backend_agg import FigureCanvasAgg
7-
from matplotlib.patches import Circle
8-
92

103
def get_windows(data, window_size, window_increment, channel_last=False):
114
"""Extracts windows from a given set of data.
@@ -19,7 +12,7 @@ def get_windows(data, window_size, window_increment, channel_last=False):
1912
window_increment: int
2013
The number of samples that advances before next window.
2114
channel_last: bool, default=False
22-
Output will be NxLxC if True.
15+
Output will be NxLxC if True. By default the LibEMG feature extractor assumes default is False.
2316
2417
Returns
2518
----------

0 commit comments

Comments
 (0)