bypass factor if flags.flat_bottom is enabled
corrected to use sine mode for temperature