Converts PBAND to GAIN and vice versa