Question about sample size of vitaldb dataset #609

Lin Chen (2023-11-13 06:16) · 222 view(s) · 1 comment(s)

Hello,

There is a question about the dataset. Based on your article,  indicate that VitalDB includes data on 5566 surgical patients with BIS and EEG. But when I run the following code, I get 5867 patient data, is my parameter not set correctly? May I ask how to download the vitaldb dataset correcttly?
Code:
track_names = ['BIS/EEG1_WAV', 'BIS/EEG2_WAV', 'BIS/BIS']
caseids = vitaldb.find_cases(track_names)

vals = vitaldb.load_case(id, ['BIS/EEG1_WAV', 'BIS/EEG2_WAV'], 1 / 128)#id=caseids[i]
y = vitaldb.load_case(id, ['BIS/BIS'], 1)

Best


Administrator (2023-11-20 02:22)
Hi Lin,

In Overview tab of Open Dataset page, there is a Dataset Summary displaying the number of cases by case type in detail.
Open dataset does not have only surgery cases but also Gynecology, Urology cases.

To download vital file, you might want to add a line below,
y.to_vital('/path/to/download/filename.vital')

Please refer to
https://vitaldb.net/dataset/?query=lib#h.idp7tqq7y58b
or
https://vitaldb.net/docs/?documentId=1j702xfDef7RNhfZANQQt7tkzzbin2FVe9GAnleDSyzI

Best,

VitalDB