update flux mean calculation to match ideogram