Skip to content

Extract measurement types of waveforms, group e.g. all Blood Presssures #100

Closed
@steph409

Description

@steph409

Hi,

I am using the mimic iii database and it would be useful to have more Mean Arterial Pressure, heartrate and temperature measurements. Hence I want to extract this data from the waveforms. I downloaded the matched waveforms and timestamped the samples using the filename and the frequency fields.get('fs').
My questions are:

  • Is there a rule in which channels I can find this data?
  • I use the signames entries from the fields dictionary to identify which columns of sig I need and the signames vary from one entry to another. Is there an easier way to do this?
  • Is it possible to group all the signals with a similar meaning? For example for the mean arterial pressure I found: ABP, UAP Mean, ABPMean, UAP, PAPMean, UAP MEAN...
    sig, fields = wfdb.srdsamp('/home/matched/p00/p000020/p000020-2183-04-28-17-47n')
    print('Signames:', fields.get('signame'))

    sig, fields = wfdb.srdsamp('/home/matched/p00/p000030/p000030-2172-10-16-12-22n')
    print('Signames:', fields.get('signame'))

gives the following result:

Signames: ['HR', 'ABPSys', 'ABPDias', 'ABPMean', 'PAPSys', 'PAPDias', 'PAPMean', 'CVP', 'PULSE', 'RESP', 'SpO2', 'NBPSys', 'NBPDias', 'NBPMean', 'CO']
Signames: ['HR', 'PULSE', 'RESP', 'SpO2', 'NBPSys', 'NBPDias', 'NBPMean']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions