neutronpy.instrument.TripleAxisInstrument.calc_projections

TripleAxisInstrument.calc_projections(hkle, npts=36)[source]

Calculates the resolution ellipses for projections and slices from the resolution matrix.

Parameters:
hkle : list

Positions at which projections should be calculated.

npts : int, optional

Number of points in the outputted ellipse curve

Returns:
projections : dictionary

A dictionary containing projections in the planes: QxQy, QxW, and QyW, both projections and slices