uvex_transients.surveys.footprints.base.FootprintRegistry.register#

FootprintRegistry.register(footprint: SurveyFootprint, overwrite: bool = False) → None[source]#

Add footprint, keyed on its name.

Parameters:
  • footprint (SurveyFootprint) – The footprint to register.

  • overwrite (bool, optional) – Replace an existing entry of the same name instead of raising. Default False.

Raises:

KeyError – If the name is already registered and overwrite is False.