BrainBitSignalData Python

I am saving raw data as follows def on_signal_received(sensor, data): for packet in data: data_queue.put(packet) #print(packet) save_raw_packet_data_to_csv(packet)

unfortunately, after about 3 minutes of collecting the data. it looks like this when I read it back from the csv file. raw_packet_data

monotonically increasing values... I know the headband is working fine because it works okay on my iphone I tried the BrainBitDemo but the signal data looks flat is there something I need to do to the raw data?

and lastly, I noticed that you have a typical copy and paste problem on your sample_brainbit_filters.py

def on_signal_received(sensor, data):
    samples_o1 = [x.O1 for x in data]
    samples_o1 = flist.filter_array(samples_o1)
    print(samples_o1)
    samples_o2 = [x.O2 for x in data]
    samples_o2 = flist.filter_array(samples_o2)
    print(samples_o2)
    samples_t3 = [x.O1 for x in data]   #----------------------- should be [x.T3 for x in data]
    samples_t3 = flist.filter_array(samples_t3)
    print(samples_t3)
    samples_t4 = [x.O1 for x in data]   #-----------------------  should be [x.t4 for x in data]
    samples_t4 = flist.filter_array(samples_t4)
    print(samples_t4)

thanks in advance

Assignee Loading
Time tracking Loading