ess.freia.mcstas.mcstas_detector_geometry#

ess.freia.mcstas.mcstas_detector_geometry(filename, detector_name)[source]#

Provide detector geometry to the generic flight-path calculation.

Works with Mantid pixel maps or banana histogram axes without reading events or intensities. The selected component’s name and axes are read from metadata.

Return type:

EmptyDetector[TypeVar(RunType)]