Confidence2D

class sherpa.plot.Confidence2D[source] [edit on github]

Bases: DataContour, Point

Attributes Summary

contour_prefs

The preferences for the plot.

point_prefs

The preferences for the plot.

Methods Summary

calc(fit, par0, par1)

contour([overplot, clearwindow])

overcontour(*args, **kwargs)

point(x, y[, overplot, clearwindow])

Draw a point at the given location.

prepare([min, max, nloop, delv, fac, log, ...])

Attributes Documentation

contour_prefs = {'alpha': None, 'colors': None, 'label': None, 'levels': None, 'linestyles': 'solid', 'linewidths': None, 'xlog': False, 'ylog': False}

The preferences for the plot.

point_prefs = {'alpha': None, 'capsize': None, 'color': None, 'ecolor': None, 'label': None, 'linestyle': 'solid', 'linewidth': None, 'marker': '+', 'markerfacecolor': None, 'markersize': None, 'xerrorbars': False, 'xlog': False, 'yerrorbars': False, 'ylog': False}

The preferences for the plot.

Methods Documentation

calc(fit, par0, par1)[source] [edit on github]
contour(overplot=False, clearwindow=True, **kwargs)[source] [edit on github]
overcontour(*args, **kwargs) [edit on github]
point(x, y, overplot=True, clearwindow=False, **kwargs) [edit on github]

Draw a point at the given location.

Parameters:
  • x – The coordinates of the plot.

  • y – The coordinates of the plot.

  • overplot (bool, optional) – If True then add the data to an existing plot, otherwise create a new plot.

  • clearwindow (bool, optional) – Should the existing plot area be cleared before creating this new plot (e.g. for multi-panel plots)?

  • **kwargs – These values are passed on to the plot backend, and must match the names of the keys of the object’s point_prefs dictionary.

prepare(min=None, max=None, nloop=(10, 10), delv=None, fac=4, log=(False, False), sigma=(1, 2, 3), levels=None, numcores=None)[source] [edit on github]