PhotonEffectiveArea

class gdt.core.plot.drm.PhotonEffectiveArea(drm=None, canvas=None, ax=None, **kwargs)[source]

Bases: GdtPlot

Class for plotting the incident photon effective area.

Parameters:

Attributes Summary

ax

The matplotlib axes object for the plot

canvas

The plotting canvas, if set upon initialization.

drm

Effective area plot element

fig

The matplotlib figure object

xlim

The plotting range of the x axis

xscale

The scale of the x axis, either 'linear' or 'log'.

ylim

The plotting range of the y axis.

yscale

The scale of the y axis, either 'linear' or 'log'.

Methods Summary

set_response(drm, **kwargs)

Set the response data.

Attributes Documentation

ax

The matplotlib axes object for the plot

Type:

(matplotlib.axes)

canvas

The plotting canvas, if set upon initialization.

Type:

(Canvas Backend object)

drm

Effective area plot element

Type:

(EffectiveArea)

fig

The matplotlib figure object

Type:

(matplotlib.figure)

xlim

The plotting range of the x axis

Type:

(float, float)

xscale

The scale of the x axis, either ‘linear’ or ‘log’.

Type:

(str)

ylim

The plotting range of the y axis.

Type:

(float, float)

yscale

The scale of the y axis, either ‘linear’ or ‘log’.

Type:

(str)

Methods Documentation

set_response(drm, **kwargs)[source]

Set the response data.

Parameters: