def ms_demo_params_to_dadi(nu_ms, tau_ms):
    """
    convert from ms parameters (which use current pop size) for nu and tau to dadi parameters (which use ancestral pop size)
    """
    return 1.0 / nu_ms, 2 * tau_ms / nu_ms
