plotResponse

fiducia.visualization.plotResponse(channels, responseFrame, knots, solid=True, title='Dante Response Functions')[source]

Plots response function curves with knot locations identified as vertical dashed lines.

channels: list, numpy.ndarray

List or array of relevant channels

responseFrame: pandas.core.frame.DataFrame

Pandas dataFrame containing response functions for each DANTE channel. See loadResponses().

knots: list, numpy.ndarray

List or array of knot point photon energy value. See knotFind().

solid: Bool

Includes solid angle in response function value if true. Necessary for plotting responses with correct units.

Notes

Examples