@@ -65,12 +65,12 @@ between the metadata name and its value. Here is an example:
65
65
Some of the tags in this dictionary have formatted values as part of
66
66
their definitions.
67
67
68
- * _ string_ : A string is specifically an ASCII string representable by
69
- characters in the the lower 128 of the ASCII set. This ** must ** the
70
- English-language representation of the value. For example, the
71
- string representing ` Facility.name ` for the Thai synchrotron
72
- ** must** be ` SLRI ` rather than a sequence of characters in the Thai
73
- script.
68
+ * _ string_ : A string is specifically an ASCII string represented by
69
+ printable characters in the the lower 128 of the ASCII set. This
70
+ ** must ** the English-language representation of the value. For
71
+ example, the string representing ` Facility.name ` for the Thai
72
+ synchrotron ** must** be ` SLRI ` rather than a sequence of characters
73
+ in the Thai script.
74
74
75
75
* _ free-format string_ : This is a string which can contain any
76
76
character (save end-of-line characters) in any encoding system. A
@@ -220,19 +220,28 @@ compliant XDI file.
220
220
221
221
* ` Element.edge ` : The absorption edge measured. See above.
222
222
223
- * ` Mono.d_spacing ` : The d-spacing of the monochromator. This is
224
- ** required** when the abscissa is expressed in angle or encoder steps.
225
- It is required to convert that abscissa into energy. Also a
226
- correction to the energy axis of measured data, which may be
227
- required in the case of a miscalibration due to inaccuracies in the
228
- translation from angular position of the monochromator to energy,
229
- would need the d-spacing.
223
+ * ` Mono.d_spacing ` : The d-spacing of the monochromator. It is
224
+ required to convert an abscissa represented as monochromator angle
225
+ or encoder step count into energy. Also a correction to the energy
226
+ axis of measured data, which may be required in the case of a
227
+ miscalibration due to inaccuracies in the translation from angular
228
+ position of the monochromator to energy, would need the d-spacing.
230
229
231
230
Most other metadata definitions that follow are ** optional** for use
232
231
with XDI. Some are ** recommended** for use with all XDI files. The
233
232
** recommended** metadata convey information that is of substantive
234
233
value to the interpretation of the data.
235
234
235
+ ## Recommeneded metadata
236
+
237
+ The current list of recommended metadata, i.e. metadata which
238
+ constitutes best practice when writing any data file, is
239
+
240
+ * ` Facility.name `
241
+ * ` Facility.xray_source `
242
+ * ` Beamline.name `
243
+ * ` Scan.start_time `
244
+ * ` Column.1 `
236
245
237
246
238
247
## Defined items in the Facility namespace
@@ -244,7 +253,7 @@ value to the interpretation of the data.
244
253
* _ Format_ : string
245
254
246
255
* ** Namespace:** ` Facility ` -- ** Tag:** ` energy `
247
- * _ Description_ : The energy of the current in the storage ring.
256
+ * _ Description_ : The energy of the stored current in the storage ring.
248
257
* _ Units_ : GeV, MeV
249
258
* _ Format_ : float + units
250
259
@@ -268,7 +277,9 @@ value to the interpretation of the data.
268
277
269
278
* ** Namespace:** ` Beamline ` -- ** Tag:** ` name `
270
279
* _ Description_ : The name by which the beamline is known. This is
271
- ** recommended** for use in all XDI files.
280
+ ** recommended** for use in all XDI files. For a beamline with a
281
+ facility designation and a common name (such as 13-BM-B at the
282
+ APS, also known as GSECARS), the designation is preferred.
272
283
* _ Units_ : none
273
284
* _ Format_ : free-format string
274
285
@@ -341,9 +352,10 @@ versions of this dictionary.
341
352
* _ Format_ : free-format string
342
353
343
354
* ** Namespace:** ` Sample ` -- ** Tag:** ` id `
344
- * _ Description_ : A number or string uniquely identifying the measured
345
- sample. This is intended for interoperation with a database or
346
- with laboratory management software.
355
+ * _ Description_ : A number or string uniquely identifying the
356
+ measured sample. This is intended for interoperation with a
357
+ database or laboratory management software. It could be, for
358
+ example, a bar code number.
347
359
* _ Units_ : none
348
360
* _ Format_ : free-format string
349
361
@@ -370,11 +382,9 @@ versions of this dictionary.
370
382
The Sample namespace is rather open-ended. It is probably impossible
371
383
to anticipate all the kinds of sample-related metadata that may be
372
384
useful to attach to data. That said, it would be useful to suggest
373
- tags for a number of common kinds of extrinsic parameters.
374
-
375
- Here are some other possible tags denoting extrinsic parameters of the
376
- experiment along the line of ` Sample.temperature ` . These may be added
377
- as defined fields in future versions of the XDI specification.
385
+ tags for a number of common kinds of extrinsic parameters along the
386
+ line of ` Sample.temperature ` . These may be added as defined fields in
387
+ future versions of the XDI specification.
378
388
379
389
* ` Sample.pressure `
380
390
* ` Sample.ph `
@@ -392,7 +402,7 @@ as defined fields in future versions of the XDI specification.
392
402
* ` Sample.opacity `
393
403
* ` Sample.electrochemical_potential `
394
404
395
- Almost all of these examples ** should ** take a float+units as values.
405
+ Many of these examples would take a float+units as values.
396
406
397
407
398
408
@@ -405,7 +415,7 @@ Almost all of these examples **should** take a float+units as values.
405
415
* _ Format_ : [ ISO 8601 specification for combined dates and times] ( http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations )
406
416
407
417
* ** Namespace:** ` Scan ` -- ** Tag:** ` end_time `
408
- * _ Description_ : The beginning time of the scan.
418
+ * _ Description_ : The ending time of the scan.
409
419
* _ Units_ : time
410
420
* _ Format_ : [ ISO 8601 specification for combined dates and times] ( http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations )
411
421
@@ -419,8 +429,8 @@ scan parameters, such as integration times, monochromator speed, scan
419
429
boundaries, or step sizes.
420
430
421
431
An example of a combined date and time representation is
422
- ` 2007-04-05T14:30 ` , which means 2:30 in the afternoon on the day of
423
- April 5th in the year 2007.
432
+ ` 2007-04-05T14:30:22 ` , which means 22 seconds after 2:30 in the
433
+ afternoon on the day of April 5th in the year 2007.
424
434
425
435
426
436
@@ -449,7 +459,8 @@ April 5th in the year 2007.
449
459
* _ Units_ : none
450
460
* _ Format_ : one of these 28 1 or 2 character strings (not case sensitive):
451
461
452
- K L L1 L2 L3 M M1 M2 M3 M4 M5 N N1 N2 N3 N4 N5 N6 N7 O O1 O2 O3 O4 O5 O6 O7
462
+ K L L1 L2 L3 M M1 M2 M3 M4 M5
463
+ N N1 N2 N3 N4 N5 N6 N7 O O1 O2 O3 O4 O5 O6 O7
453
464
454
465
See table 10.10 at
455
466
[IUPAC notation for X-ray absorption edges](http://old.iupac.org/publications/analytical_compendium/Cha10sec348.pdf)
0 commit comments