OdaImage#

class oda_api.plot_tools.OdaImage(data)[source]#

Bases: OdaProduct

Methods Summary

show([ext_sig, meta, header, sources, ...])

param ext_sig:

ODA data products extension, takes from class initialisation by default

update(x)

Methods Documentation

show(ext_sig=None, meta=None, header=None, sources=None, levels=None, cmap=<matplotlib.colors.LinearSegmentedColormap object>, unit_ID=4, det_sigma=3, sliders=True)[source]#
Parameters:
  • ext_sig – ODA data products extension, takes from class initialisation by default

  • meta – ODA data products metadata, takes from class initialisation by default

  • header – ODA data product image header, takes from class initialisation by default

  • sources – ODA catalog table, takes from class initialisation by default

  • levels – levels for contour plot, default is numpy.linspace(1, 10, 10)

  • cmap – colormap default is cm.gist_earth,

  • unit_ID – the unit to plot image default is 4

  • det_sigma – limit detection sigma to lot from catalog, note that

  • sliders – plot sliders, set to false to upload images in gallery.

Returns:

matplotlib figure instance

update(x)[source]#