ess.powder.types#

This module defines the domain types used in ess.powder.

The domain types are used to define parameters and to request results from a Sciline pipeline.

Module Attributes

CalibrationFilename

Filename of the instrument calibration file.

DspacingBins

Bin edges for d-spacing.

OutFilename

Filename of the output.

TwoThetaBins

Bin edges for grouping in 2theta.

UncertaintyBroadcastMode(value)

Mode for broadcasting uncertainties.

ValidTofRange

Min and max tof value of the instrument.

CalibrationData

Detector calibration data.

DspacingHistogram

Histogrammed intensity vs d-spacing.

ElasticCoordTransformGraph

Graph for transforming coordinates in elastic scattering.

IofTof

Normalized data that has been converted to ToF.

EmptyCanSubtractedIofTof

Normalized and empty-can-subtracted data that has been converted to ToF.

MaskedDetectorIDs

1-D variable listing all masked detector IDs.

CaveMonitorPosition

Position of DREAM's cave monitor.

PixelMaskFilename

Filename of a pixel mask.

TofMask

TofMask is a callable that returns a mask for a given TofData.

TwoThetaMask

TwoThetaMask is a callable that returns a mask for a given TwoThetaData.

WavelengthMask

WavelengthMask is a callable that returns a mask for a given WavelengthData.

Beamline(**data)

A beamline / instrument.

ReducerSoftware

Pieces of software used to reduce the data.

Source(**data)

Information about a neutron source.

CIFAuthors

List of authors to save to output CIF files.

ReducedTofCIF

Reduced data in time-of-flight, ready to be saved to a CIF file.

ReducedEmptyCanSubtractedTofCIF

Reduced data in time-of-flight, ready to be saved to a CIF file.

Classes

AccumulatedProtonCharge(*args, **kwargs)

Total proton charge.

CountsDspacing(x)

Data converted to d-spacing.

CountsWavelength(x)

Data with scattering coordinates computed for all events: wavelength, 2theta, d-spacing.

EmptyCanSubtractedIofDspacing(x)

Intensity vs.

EmptyCanSubtractedIofDspacingTwoTheta(x)

Intensity vs.

FilteredData(x)

Raw data without invalid events.

FocussedDataDspacing(x)

Intensity vs d-spacing after focussing pixels.

FocussedDataDspacingTwoTheta(x)

Intensity vs (d-spacing, 2theta) after focussing pixels.

IofDspacing(x)

Data that has been normalized by a vanadium run.

IofDspacingTwoTheta(x)

Data that has been normalized by a vanadium run, and grouped into 2theta bins.

KeepEvents(value)

Flag indicating whether the workflow should keep all events when focussing data.

MaskedData(x)

Data with masked pixels, tof regions, wavelength regions, 2theta regions, or dspacing regions.

MonitorFilename(x)

Filename for monitor data.

ProtonCharge(x)

Time-dependent proton charge.

RawDataAndMetadata(*args, **kwargs)

Raw data and associated metadata.

ReducedCountsDspacing(x)

Reduced counts in Dspacing after partial reduction over pixel dimension.

ScaledCountsDspacing(x)

Reduced counts in Dspacing after scaling by monitor or proton charge.

WavelengthMonitor(x)

Monitor histogram in wavelength.