def _normalize_profiles(profiles, c_mean):
    """
    Rescale concentration profiles to fluctuations around the average value.
    """
    normalized_profiles = []
    for profile, concs in zip(profiles, c_mean):
        normalized_profiles.append(profile - concs[:, None])
    return normalized_profiles