Previous topic

3.3.39. NXroot

Next topic

3.3.41. NXsensor

This Page

3.3.40. NXsampleΒΆ

Status:

base class, extends NXobject, version 1.0

Description:

Template of the state of the sample. This could include scanned variables that are associated with one of the data dimensions, e.g. the magnetic field, or logged data, e.g. monitored temperature vs elapsed time.

Symbols:

symbolic array lengths to be coordinated between various fields

n_comp: number of compositions

n_Temp: number of temperatures

n_eField: number of values in applied electric field

n_mField: number of values in applied magnetic field

n_pField: number of values in applied pressure field

n_sField: number of values in applied stress field

Groups cited:
NXbeam, NXdata, NXenvironment, NXgeometry, NXlog, NXpositioner

Structure:

name: NX_CHAR

Descriptive name of sample

chemical_formula: NX_CHAR

The chemical formula specified using CIF conventions. Abbreviated version of CIF standard:

  • Only recognized element symbols may be used.
  • Each element symbol is followed by a ‘count’ number. A count of ‘1’ may be omitted.
  • A space or parenthesis must separate each cluster of (element symbol + count).
  • Where a group of elements is enclosed in parentheses, the multiplier for the group must follow the closing parentheses. That is, all element and group multipliers are assumed to be printed as subscripted numbers.
  • Unless the elements are ordered in a manner that corresponds to their chemical structure, the order of the elements within any group or moiety depends on whether or not carbon is present.
  • If carbon is present, the order should be:
    • C, then H, then the other elements in alphabetical order of their symbol.
    • If carbon is not present, the elements are listed purely in alphabetic order of their symbol.
  • This is the Hill system used by Chemical Abstracts.

temperature[n_Temp]: NX_FLOAT {units=NX_TEMPERATURE}

Sample temperature. This could be a scanned variable

electric_field[n_eField]: NX_FLOAT {units=NX_VOLTAGE}

Applied electric field

@direction: NX_CHAR

Any of these values: x | y | z

magnetic_field[n_mField]: NX_FLOAT {units=NX_ANY}

Applied magnetic field

@direction: NX_CHAR

Any of these values: x | y | z

stress_field[n_sField]: NX_FLOAT {units=NX_ANY}

Applied external stress field

@direction: NX_CHAR

Any of these values: x | y | z

pressure[n_pField]: NX_FLOAT {units=NX_PRESSURE}

Applied pressure

changer_position: NX_INT {units=NX_UNITLESS}

Sample changer position

unit_cell[n_comp, 6]: NX_FLOAT {units=NX_LENGTH}

Unit cell parameters (lengths and angles)

unit_cell_volume[n_comp]: NX_FLOAT {units=NX_VOLUME}

Volume of the unit cell

sample_orientation[3]: NX_FLOAT {units=NX_ANGLE}

This will follow the Busing and Levy convention from Acta.Crysta v22, p457 (1967)

orientation_matrix[n_comp, 3, 3]: NX_FLOAT

Orientation matrix of single crystal sample. This will follow the Busing and Levy convention from Acta.Crysta v22, p457 (1967)

mass[n_comp]: NX_FLOAT {units=NX_MASS}

Mass of sample

density[n_comp]: NX_FLOAT {units=NX_MASS_DENSITY}

Density of sample

relative_molecular_mass[n_comp]: NX_FLOAT {units=NX_MASS}

Relative Molecular Mass of sample

type: NX_CHAR

Any of these values:

  • sample
  • sample+can
  • can
  • calibration sample
  • normalisation sample
  • simulated data
  • none
  • sample environment

situation: NX_CHAR

The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.

Any of these values:

  • air
  • vacuum
  • inert atmosphere
  • oxidising atmosphere
  • reducing atmosphere
  • sealed can
  • other

description: NX_CHAR

Description of the sample

preparation_date: NX_DATE_TIME

Date of preparation of the sample

component[n_comp]: NX_CHAR

Details of the component of the sample and/or can

sample_component[n_comp]: NX_CHAR

Type of component

Any of these values: sample | can | atmosphere | kit

concentration[n_comp]: NX_FLOAT {units=NX_MASS_DENSITY}

Concentration of each component

volume_fraction[n_comp]: NX_FLOAT

Volume fraction of each component

scattering_length_density[n_comp]: NX_FLOAT {units=NX_SCATTERING_LENGTH_DENSITY}

Scattering length density of each component

unit_cell_class[n_comp]: NX_CHAR

In case it is all we know and we want to record/document it

Any of these values:

  • cubic
  • tetragonal
  • orthorhombic
  • monoclinic
  • triclinic

unit_cell_group[n_comp]: NX_CHAR

Crystallographic point or space group

path_length: NX_FLOAT {units=NX_LENGTH}

Path length through sample/can for simple case when it does not vary with scattering direction

path_length_window: NX_FLOAT {units=NX_LENGTH}

Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exit

thickness: NX_FLOAT {units=NX_LENGTH}

sample thickness

external_DAC: NX_FLOAT {units=NX_ANY}

value sent to user’s sample setup

short_title: NX_CHAR

20 character fixed length sample description for legends

rotation_angle: NX_FLOAT {units=NX_ANGLE}

Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer

x_translation: NX_FLOAT {units=NX_LENGTH}

Translation of the sample along the X-direction of the laboratory coordinate system

distance: NX_FLOAT {units=NX_LENGTH}

Translation of the sample along the Z-direction of the laboratory coordinate system

geometry: NXgeometry

The position and orientation of the center of mass of the sample

(beam): NXbeam

Details of beam incident on sample - used to calculate sample/beam interaction point

transmission: NXdata

As a function of Wavelength

temperature_log: NXlog

temperature_log.value is a link to e.g. temperature_env.sensor1.value_log.value

temperature_env: NXenvironment

Additional sample temperature environment information

magnetic_field_log: NXlog

magnetic_field_log.value is a link to e.g. magnetic_field_env.sensor1.value_log.value

magnetic_field_env: NXenvironment

Additional sample magnetic environment information

external_ADC: NXlog

logged value (or logic state) read from user’s setup

(positioner): NXpositioner

Any positioner (motor, PZT, ...) used to locate the sample
Source:
Automatically generated from https://github.com/nexusformat/definitions/blob/master/base_classes/NXsample.nxdl.xml