Tools and Tips

MOONS specific tools

MoonLight

To allocate fibres to targets it is mandatory to use MoonLight, a microservice that runs in the ObsPrep service within p2UI. MoonLight will transform the catalogue with the input targets into fibre positioning coordinates.

Below there are Python Jupyter Notebooks created by Amelia Bayo Arán (ESO's MOONS Project Scientist) to be used to prepare the input catalogues to be then uploaded to MoonLight. They will provide:

  • The acquisition targets (A)
  • The "main" Targets (T): with priorities 2-4
  • The Quick Look targets (QL)
  • Additional target flags (non-mandatory): 
    • B: Background source: Source/Position to be avoided when looking for possible sky positions.
    • K: Telluric Star: Telluric star for the modelling (with molecfit). Will provide better correction than when using the daily telluric observation.
    • P: Photometric Standard: Standard star. Will be used by the pipeline to derive the sensitivity function to be applied to the data, instead of using the one derived via dedicated standard observations of photometric standards.
    • Y: User-defined Sky position: In absence of them, MoonLight uses the voids in the input catalog to assign sky positions.

Additional considerations:

  • The EPOCH is a mandatory parameter for the header of the catalogue and is of vital importance to ensure correct injection in the fibers.
  • MoonLight performs (external to the input catalogue) safety queries to avoid placing any positioner on a target that would saturate the detectors in the provided exposure time)
  • Checks are done in MoonLight to detect duplications. However since the QL stars are extracted from the "main" targets, a simple change of ID is permitted to preserve the two unallocated QL targets for posterior allocation as "T". See the example below.
  • The following notebook employes the Vizier mirror at CFA until the full services from CDS are restored.
  • The following notebook uses syn. queries to Gaia (ESAC) that are by design truncated to 2000 rows, for larger queries create a Gaia account and log in and out with: Gaia.login(user='YourUser', password='YourPass'); Gaia.logout() 

Jupyter Notebooks for the creation of the MoonLight input catalogues (created by Amelia Bayo Arán):

  • For the simplest case to prepare an input catalogue for MoonLight
  • To prepare an input catalogue for MoonLight in the Baade's Window
  • Requirements: astropy==6.1.7, astroquery==0.4.11, matplotlib==3.10.6, numpy==1.26.0, pandas==3.1.0, regions==0.12

Additional optional resources for the execution of the Jupyter Notebooks:

  • Position of the Acquisition Cameras for visualization: here
  • VIRAC table around Baade's Window (in case queries with servers are down; 215MB): here

 

Additional Tools for MOONS:

Exposure Time Calculator (ETC) for MOONS

Generic Tools and information