show_templates

giant.relative_opnav.visualizers:

giant.relative_opnav.visualizers.show_templates(relnav, index, target_ind, ax1=None, ax2=None, fig=None)[source]

Show the rendered template alongside of a specific image.

Parameters:
  • relnav (RelativeOpNav) – the RelativeOpNav instance to plot the residuals from

  • index (int) – the image index (in th camera) to show

  • ax1 (Axes | None) – the axes to show the image on (if None one will be created)

  • ax2 (Axes | None) – the axes to show the template on (if None, one will be created)

  • fig (Figure | None) – the fig containing ax1 and ax2 (if None, one will be created)

  • target_ind (int)

Returns:

a tuple containing the image axes, the template axes, and the figure

Return type:

tuple[Axes, Axes, Figure]