MIT-LCP / wfdb-python

Native Python WFDB package
MIT License
738 stars 300 forks source link

Signal metadata in MultiRecord #441

Open bemoody opened 1 year ago

bemoody commented 1 year ago

MultiRecord has a sig_name attribute (which is copied from the first segment.) Should it also have units and samps_per_frame attributes, for convenience?

(An application calls rdheader in order to obtain record metadata, without reading any signal data. If the same attributes are available both for Record and MultiRecord then applications don't need to handle the two cases differently.)