wfdb-python
wfdb-python copied to clipboard
Fix ADC gain forumla
As pointed out by @tcpan in #515 there was a mistake in one of the formula's for calculating ADC gain. The calculation needs to compute the digital range first before mapping the physical range.