shnitsel.data.shnitsel_db.helpers ================================= .. py:module:: shnitsel.data.shnitsel_db.helpers Functions --------- .. autoapisummary:: shnitsel.data.shnitsel_db.helpers.traj_list_to_child_mapping Module Contents --------------- .. py:function:: traj_list_to_child_mapping(list) Function to set the labels in a children-dict for a DataTree. Will enumerate individual trajectories and assign the group name to groups. :param list: The list of groups and Trajectories :type list: Iterable[TrajectoryData | TrajectoryGroup] :returns: The dict mapping labels to children :rtype: Mapping[str, TrajectoryData | TrajectoryGroup]