parse_cm.backstop.replace_starcat_backstop#

parse_cm.backstop.replace_starcat_backstop(bs, cats)#

Replace catalog(s) in bs structure (Table or list of dict).

The cats arg must be a dict of catalogs keyed by obsid, where each catalog is in the mica.starcheck Table format with the following columns: ‘slot’, ‘type’ (e.g. ‘GUI’, ‘BOT’), ‘yang’, ‘zang’, ‘sz’ (e.g. ‘4x4’), ‘halfw’, ‘mag’.

Parameters:
  • bs – backstop Table or list of dict

  • cats – dict of replacement catalogs

Returns:

updated backstop