Closed chongxi closed 5 years ago
For FPGA, check
ctrl.vq['labels'][group_id]
ctrl.fpga.label[group_id]
The group-unit relationship:
Adding together is 102 units, their label is from 0-101
The group done:
... ... ...
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()))
spiketag
output the labelled spike data to two different places:spike_id labels
spike_id labels
To be finished in this issue:
fpga.n_units
as a variable store at the FPGA for different parts of the software to get access to this information and it is set every time the new VQ model is downloaded into the FPGA inctrl.done()
.VQ
starts from label0
to its unique label space which accumulates as the group number grows in a non-overlapping manner.VQ labels
in FPGA and the spike trains output, share the same label.spike count vector
(ctrl.spk_count_vector()) fromspiketag
to its decoder training use the label that the BMI and thebinner
use (theVQ labels
)