def METHOD_NAME(config: dict, minimal_set_trajectories: dict) -> dict:
    """
    Create a dict containing all the fields to populate the header with.
    Args:
    ----
    config: dict
        The dict containing user specified parameters
    minimal_set_trajectories: dict
        The minimal spanning set
    Returns
    -------
    dict
        A dictionary containing the fields to populate the header with
    """
    header_dict = {
        'version': constants.VERSION,
        'date_generated': datetime.today().strftime('%Y-%m-%d'),
        'lattice_metadata': {},
        'primitives': [],
    }
    for key, value in config.items():
        header_dict['lattice_metadata'][key] = value
    heading_angles = create_heading_angle_list(minimal_set_trajectories)
    adjusted_heading_angles = [angle + 2*np.pi if angle < 0 else angle for angle in heading_angles]
    header_dict['lattice_metadata']['heading_angles'] = adjusted_heading_angles
    return header_dict