chongxi / spiketag

Next generation of spike sorting package for BMI
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

spiketag output labelled spike data for both decoder and FPGA #49

Closed chongxi closed 5 years ago

chongxi commented 5 years ago

spiketag output the labelled spike data to two different places:

  1. The FPGA: vector quantization sets with their spike_id labels
  2. The decoder: spike times with their spike_id labels

To be finished in this issue:

chongxi commented 5 years ago

For FPGA, check

ctrl.vq['labels'][group_id]
ctrl.fpga.label[group_id]
chongxi commented 5 years ago

The group-unit relationship:

drawing

Adding together is 102 units, their label is from 0-101

chongxi commented 5 years ago

The group done:

drawing
chongxi commented 5 years ago
drawing
chongxi commented 5 years ago

image ... ... ... image

chongxi commented 5 years ago

Make spike times numpy array

@property
def spk_times_all_in_one_array(self):
    return np.array(list(self.spk_times_all_in_one.values()))
chongxi commented 5 years ago
drawing