old musi stuff

This commit is contained in:
2025-10-29 21:50:43 -05:00
parent c3b0526f59
commit 6897f996ee
11 changed files with 1319 additions and 7 deletions

23
data.py Normal file
View File

@@ -0,0 +1,23 @@
from compute_vector_feature import *
import numpy as np
import pandas as pd
def data():
# sampling rate
Fs = 256
temp_file = "data/hasini/brain_1761337390.csv"
df = pd.read_csv(temp_file)
df.drop(columns = 'timestamps',inplace=True)
eegdata = df.to_numpy()
print(eegdata.shape)
ret = compute_feature_vector(eegdata, Fs)
return ret
if __name__ == '__main__':
print(data())