penn-cnt / RNS_processing_toolbox

This repository contains code for processing and analyzing data from the responsive neurostimulation (RNS) device by NeuroPace.
3 stars 7 forks source link

Include de-identified device number in ecogTable #28

Open b-schd opened 1 year ago

b-schd commented 1 year ago

Originally, the device number column was completely removed. However, we were losing information about which device was being used. Currently, I simply take all unique device numbers and reassign them to "1,2,etc."

However, I think the first digit (1 vs. 2) of the device ID may correspond to which model of device is implanted. Ideally, this column would preserve that aspect of the original device ID number, then add an increment counter. (e.g if original device IDs are is 1xxxx, 1yyyy, 2zzzz, then updated IDs are [1.1, 1.2, 2.1], or something like that)