ess.bifrost.io.nexus.load_analyzer_for_detector#

ess.bifrost.io.nexus.load_analyzer_for_detector(detector_location)[source]#

Load the analyzer component for the given detector.

This function searches for an NXcrystal in the inputs (via the ‘input’ attribute) of the detector and loads the first NeXus group it finds.

See also

get_calibrated_analyzer

A provider that combines loaded analyzer data into an Analyzer object.

Return type:

NeXusComponent[NXcrystal, TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int))]