Redefine closure _make_calc_detuning in ChromaticitySegment to evaluate
the if statement only once. Assume dQp_{x,y} to be iterables.