def temperature_over_total_temperature(
        mach,
        gamma=1.4
):
    """
    Gives T/T_t, the ratio of static temperature to total temperature.

    Args:
        mach: Mach number [-]
        gamma: The ratio of specific heats. 1.4 for air across most temperature ranges of interest.
    """
    return (1 + (gamma - 1) / 2 * mach ** 2) ** -1