adding gain_readnoise_from_master