This is part of the untested edf+. This digital to analog conversion was imported from the edf reader. I agree this should use `cal` and `range` . From what I gather, this is trying to shift the D-to-A data baseline with respect to the physical minimum.