plot_coordinate_transformation_on_sky#

pygaia.plot.sky.plot_coordinate_transformation_on_sky(transformation, fig, outfile=None, notitle=False, nolabels=False, lc=(0.12156862745098039, 0.4666666666666667, 0.7058823529411765), tc=(1.0, 0.4980392156862745, 0.054901960784313725), lonpos=True, skyproj='hammer')#

Produce a sky-plot in a given coordinate system with the meridians and parallels for another coordinate system overlayed. The coordinate systems are specified through the pygaia.coordinates.Transformations enum. For example for Transformations.GAL2ECL the sky plot will be in Ecliptic coordinates with the Galactic coordinate grid overlayed.

Parameters:
  • transformation (pygaia.astrometry.coordinates.Transformations instance) – The coordinate transformation for which to make the plot (e.g., Transformations.GAL2ECL).

  • fig (matplotlib.figure.Figure) – Empty Figure instance in which to create the plot.

  • outfile (str) – Save plot to this output file. Make sure an extension (.pdf, .png, etc) is included.

  • notitle (boolean) – If true do not include the plot title.

  • nolabels (boolean) – If true do not include plot labels.

  • inax (matplotlib.axes.Axes) – If provided use the input Axes instance for plotting.

  • lc (Matplotlib color specification) – Colour for gridlines.

  • tc (Matplotlib color specification) – Colour for text labels.

  • lonpos (boolean) – If true use longitude labels between 0 and 360 degrees.

  • skyproj (str) – The geographic projection to use. Must be one of “aitoff”, “hammer”, or “mollweide”. Default is “hammer”.

Return type:

Nothing.