survey.roman#

This module defines the Roman survey camera footprint and provides utilities for parsing Roman SIMLIB observation files.

skysurvey.survey.roman.get_roman_footprint()[source]#

Get the Roman footprint (with a 1011arcmin FoV).

Return type:

shapely.geometry.Polygon

skysurvey.survey.roman.parse_simlib(simlib)[source]#

Parse a single simlib file adapted for a Roman simlib file.

Parameters:

simlib (str, path) – the fullpath of a Roman simlib file.

Returns:

  • dataframe (pandas.DataFrame) – a multi-indexed dataframe (level=0 for simlib block index).

  • metadata (pandas.DataFrame) – a dataframe of the block metadata.

skysurvey.survey.roman.parse_simlib_block(block)[source]#

Official Roman simlib are built per block. This parses one.

Parameters:

block (list) – the list of data lines from the simlib.

Returns:

  • dataframe (pandas.DataFrame) – the dataframe of the simlog

  • meta (pandas.Series) – a serie containing the metadata of this block.