imap_processing.codice.utils.get_view_tab_obj#
- imap_processing.codice.utils.get_view_tab_obj(lut_file: Path, table_id: str, view_id: int, apid: int) tuple[dict, ViewTabInfo]#
Read the SCI-LUT and build a ViewTabInfo for the given table ID.
- Parameters:
lut_file (pathlib.Path) – Path to the SCI-LUT JSON file.
table_id (str) – Table identifier to extract from the JSON.
view_id (int) – The view ID from the packet.
apid (int) – The APID from the packet.
- Returns:
The SCI-LUT data dict and a populated ViewTabInfo for the given table ID.
- Return type: