neutronpy.instrument.PlotInstrument

class neutronpy.instrument.PlotInstrument[source]

Class containing resolution plotting methods

Attributes:
description_string

Generates text string describing most recent resolution calculation

Methods

plot_projections(hkle[, npts, dpi]) Plots resolution ellipses in the QxQy, QxW, and QyW zones
plot_ellipsoid(hkle[, dpi]) Plots the resolution ellipsoid in the $Q_x$, $Q_y$, $W$ zone
plot_instrument(hkle) Plots the instrument configuration using angles for a given position in Q and energy transfer
plot_slice(axis, qslice, projections, u, v) Class method for plotting individual projections.