Read and write gain offset explained