https://github.com/fossasia/pslab-python/blob/development/PSL/Peripherals.py#L608 Loop range should be (total_chans * channel_length)/2