Temperature#

TODO: #X (example calib.dat, scan 11) - Temperature Set Point

The SPEC #X control line 1 for users to describe temperature. 2 This control line may be used in a scan. The canonical representation shows a setpoint in K and then C:

1#X 0 -273.15 (Temperature Setpoint in K and C)

But, the documentation is vague about the expected format and users may present files where #X provides different temperatures, such as these examples:

1#X Control: 298.873K  Sample: 299.036K
2#X 10.00Kohm (25.0C)

Internally, the plugin will test several formats and parse (using the first format that does not fail) for the two values shown in the next table.

SPEC term

canonical meaning

TEMP_SP

The set point of the controller in ohms, volts, etc.

DEGC_SP

The temperature from which the set point is derived.

These values will be reported in the NXentry 3 group and also linked into a new temperature subgroup 4 of the sample, as shown below:

1#X Control: 298.873K  Sample: 299.036K
2
3 DEGC_SP:NX_FLOAT64 = 299.036
4 TEMP_SP:NX_FLOAT64 = 298.873
5 /SCAN/sample/temperature:NXlog
6     value --> /SCAN/DEGC_SP
7     target_value --> /SCAN/TEMP_SP

As an alternative, the NXsensor 5 base class has additional fields to describe temperature sensors but the additional information is not available in a SPEC data file.


1

https://certif.com/spec_help/scans.html

2

https://certif.com/spec_manual/mac_3_10.html

3

NXentry: https://manual.nexusformat.org/classes/base_classes/NXentry.html

4

NXlog: https://manual.nexusformat.org/classes/base_classes/NXlog.html

5

NXsensor: https://manual.nexusformat.org/classes/base_classes/NXsensor.html