multicolorfits.overlays.add_beam#

multicolorfits.overlays.add_beam(ax, header=None, *, loc='lower left', style='crosshair', anchored=True, **kwargs)[source]#

Add a FITS-beam marker from BMAJ / BMIN / BPA in header.

Parameters:
  • ax (matplotlib Axes) – Target WCS axes.

  • header (Header-like) – FITS header or McfHeader.

  • loc (str) – Corner for anchored placement ('lower left', …).

  • style (str) – Beam style passed to skyplothelper ('crosshair' is typical for radio).

  • anchored (bool) – If True (default), keep the beam in a fixed corner; otherwise draw at the beam centre in data coordinates.

  • kwargs (Any)

Return type:

Any