728x90
반응형
SMALL
np.load 배열 로드
f = np.load('eeg.npz')
for i in data:
print(i)
f['data']
f['chan']
data, ch_names = f['data'], f['chan']
sf = 100.
times = np.arange(data.size) / sf
print(data.shape, ch_names)
print(np.round(data[:, 0:5], 3))
728x90
반응형
LIST
'Python Library > NumPy' 카테고리의 다른 글
[NumPy] numpy.random.choice (0) | 2022.07.30 |
---|---|
[NumPy] numpy array 전체 출력 (0) | 2021.12.31 |
[NumPy] numpy 원소 재배열 (0) | 2021.12.30 |
[NumPy] numpy 원소 제거 및 추가 (0) | 2021.12.29 |
[NumPy] asarray() (0) | 2021.12.27 |