NXtas

Status:

application definition, extends NXobject

Description:

This is an application definition for a triple axis spectrometer.

It is for the trademark scan of the TAS, the Q-E scan. For your alignment scans use the rules in NXscan.

Symbols:

The symbol(s) listed here will be used below to coordinate datasets with the same shape.

nP: Number of points

Groups cited:

NXcrystal, NXdata, NXdetector, NXentry, NXinstrument, NXmonitor, NXsample, NXsource

Structure:

entry: (required) NXentry

title: (required) NX_CHAR

start_time: (required) NX_DATE_TIME

definition: (required) NX_CHAR

Official NeXus NXDL schema to which this file conforms

Obligatory value: NXtas

INSTRUMENT: (required) NXinstrument

SOURCE: (required) NXsource

name: (required) NX_CHAR

probe: (required) NX_CHAR

Any of these values: neutron | x-ray

monochromator: (required) NXcrystal

ei: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ENERGY}

rotation_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

analyser: (required) NXcrystal

ef: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ENERGY}

rotation_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

polar_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

DETECTOR: (required) NXdetector

data: (required) NX_INT (Rank: 1, Dimensions: [nP])

polar_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

SAMPLE: (required) NXsample

name: (required) NX_CHAR

Descriptive name of sample

qh: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_DIMENSIONLESS}

qk: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_DIMENSIONLESS}

ql: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_DIMENSIONLESS}

en: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ENERGY}

rotation_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

polar_angle: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

sgu: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

sgl: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANGLE}

unit_cell: (required) NX_FLOAT (Rank: 1, Dimensions: [6]) {units=NX_LENGTH}

orientation_matrix: (required) NX_FLOAT (Rank: 1, Dimensions: [9]) {units=NX_DIMENSIONLESS}

MONITOR: (required) NXmonitor

mode: (required) NX_CHAR

Count to a preset value based on either clock time (timer) or received monitor counts (monitor).

Any of these values: monitor | timer

preset: (required) NX_FLOAT

preset value for time or monitor

data: (required) NX_FLOAT (Rank: 1, Dimensions: [nP]) {units=NX_ANY}

Total integral monitor counts

DATA: (required) NXdata

One of the ei,ef,qh,qk,ql,en should get a primary=1 attribute to denote the main scan axis

ei: link (suggested target: /NXentry/NXinstrument/monochromator:NXcrystal/ei)

ef: link (suggested target: /NXentry/NXinstrument/analyser:NXcrystal/ef)

en: link (suggested target: /NXentry/NXsample/en)

qh: link (suggested target: /NXentry/NXsample/qh)

qk: link (suggested target: /NXentry/NXsample/qk)

ql: link (suggested target: /NXentry/NXsample/ql)

data: link (suggested target: /NXentry/NXinstrument/NXdetector/data)

Hypertext Anchors

List of hypertext anchors for all groups, fields, attributes, and links defined in this class.

NXDL Source:

https://github.com/FAIRmat-Experimental/nexus_definitions/tree/fairmat/applications/NXtas.nxdl.xml