Skip to content

Commit cf1bc81

Browse files
authored
Merge pull request COMCIFS#232 from rowlesmr/enhance-pd_diffractogram-example
2 parents 185df66 + 0b771e4 commit cf1bc81

File tree

1 file changed

+65
-6
lines changed

1 file changed

+65
-6
lines changed

cif_pow.dic

Lines changed: 65 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6187,13 +6187,16 @@ save_PD_DIFFRACTOGRAM
61876187
_name.category_id PD_GROUP
61886188
_name.object_id PD_DIFFRACTOGRAM
61896189
_category_key.name '_pd_diffractogram.id'
6190-
_description_example.case
6190+
6191+
loop_
6192+
_description_example.case
6193+
_description_example.detail
61916194
;
6192-
_diffrn.id 'high temperature iron ore'
6195+
_diffrn.id highTemp
61936196
_diffrn.ambient_temperature 1273
61946197
_diffrn.ambient_pressure 101.3
61956198

6196-
_pd_instr.id "Lab machine 1"
6199+
_pd_instr.id Lab1
61976200
_pd_instr.geometry Bragg-Brentano
61986201
_pd_instr.detector_circle_radius 117.5
61996202

@@ -6203,8 +6206,8 @@ save_PD_DIFFRACTOGRAM
62036206
_pd_spec.mount_mode reflection
62046207

62056208
_pd_diffractogram.id 5d30dab0-3840-48e6-9dbd-3ea09c67217f
6206-
_pd_diffractogram.diffrn_id "high temperature iron ore"
6207-
_pd_diffractogram.instr_id "Lab machine 1"
6209+
_pd_diffractogram.diffrn_id highTemp
6210+
_pd_diffractogram.instr_id Lab1
62086211
_pd_diffractogram.spec_id ABC123_03
62096212

62106213
loop_
@@ -6219,7 +6222,6 @@ save_PD_DIFFRACTOGRAM
62196222
5.10 41.877 0.0452 26.606346 26.606346
62206223
#...
62216224
;
6222-
_description_example.detail
62236225
;
62246226
A set of diffraction conditions, instrument settings, and specimen
62256227
information, are detailed with their respective id values.
@@ -6228,6 +6230,63 @@ save_PD_DIFFRACTOGRAM
62286230
through the relevant _pd_diffractogram.* data names. This says that
62296231
the diffractogram was collected under those conditions, with that
62306232
instrument, and that specimen.
6233+
6234+
It is not sufficient, for machine-readability, that the _diffrn.id,
6235+
_pd_instr.id, and _pd_spec.id are given in the same block; they must
6236+
be explicitly set through _pd_diffractogram.diffrn_id,
6237+
_pd_diffractogram.instr_id, and _pd_diffractogram.spec_id.
6238+
;
6239+
;
6240+
data_diffrn_info
6241+
_audit_dataset.id 09248943-e359-49d2-8d9f-800d6eca3b6d
6242+
6243+
_diffrn.id highTemp
6244+
_diffrn.ambient_temperature 1273
6245+
_diffrn.ambient_pressure 101.3
6246+
6247+
data_instr_info
6248+
_audit_dataset.id 09248943-e359-49d2-8d9f-800d6eca3b6d
6249+
6250+
_pd_instr.id Lab1
6251+
_pd_instr.geometry Bragg-Brentano
6252+
_pd_instr.detector_circle_radius 117.5
6253+
6254+
data_spec_info
6255+
_audit_dataset.id 09248943-e359-49d2-8d9f-800d6eca3b6d
6256+
6257+
_pd_spec.id ABC123_03
6258+
_pd_spec.prep_id ABC123_main
6259+
_pd_spec.description 'Iron ore from FeOre Inc. ID number ABC123'
6260+
_pd_spec.mount_mode reflection
6261+
6262+
data_diffract_info
6263+
_audit_dataset.id 09248943-e359-49d2-8d9f-800d6eca3b6d
6264+
6265+
_pd_diffractogram.id 5d30dab0-3840-48e6-9dbd-3ea09c67217f
6266+
_pd_diffractogram.diffrn_id highTemp
6267+
_pd_diffractogram.instr_id Lab1
6268+
_pd_diffractogram.spec_id ABC123_03
6269+
6270+
loop_
6271+
_pd_meas.2theta_scan
6272+
_pd_proc.intensity_total
6273+
_pd_proc.ls_weight
6274+
_pd_calc.intensity_total
6275+
_pd_proc.intensity_bkg_calc
6276+
5.01 43.364 0.0402 25.994961 25.994961
6277+
5.04 38.007 0.0505 26.200290 26.200290
6278+
5.07 38.318 0.0465 26.404083 26.404083
6279+
5.10 41.877 0.0452 26.606346 26.606346
6280+
#...
6281+
;
6282+
;
6283+
A functionally identical data set as to the first example.
6284+
The _audit_dataset.id asserts that all data blocks are to
6285+
be interpreted as one entity. Within that scope, the use of
6286+
_pd_diffractogram.diffrn_id, _pd_diffractogram.instr_id, and
6287+
_pd_diffractogram.spec_id link those diffraction conditions,
6288+
instrument, and specimen details in the same manner as in the
6289+
first example.
62316290
;
62326291

62336292
save_

0 commit comments

Comments
 (0)