def write_profile_exp(name, b1_ppm, mag_exp, mag_err, file_):
    """Write the experimental CEST profile."""
    file_.write('[{}]\n'.format(name.upper()))
    file_.write('# {:>17s}   {:>17s} {:>17s}\n'.format('OFFSET',
        'INTENSITY', 'UNCERTAINTY'))
    for b1_ppm_, mag_exp_, mag_err_ in zip(b1_ppm, mag_exp, mag_err):
        file_.write('  {0:17.8e} = {1:17.8e} {2:17.8e}\n'.format(b1_ppm_,
            mag_exp_, mag_err_))
    file_.write('\n')
