| 1 |
#\#CIF_2.0 |
| 2 |
#DDLm dictionary edited in DDLm-authortools |
| 3 |
data_demo_dic |
| 4 |
|
| 5 |
_dictionary.title demo_dic |
| 6 |
_dictionary.version 0.1.1 |
| 7 |
_dictionary.ddl_conformance 3.11.04 |
| 8 |
_dictionary.class Instance |
| 9 |
_dictionary.namespace ? |
| 10 |
_description.text |
| 11 |
'This dictionary was developed as a demonstration dictionary showing how datanames in an olog presentation can be related to one another.' |
| 12 |
_dictionary.date 2016-01-05 |
| 13 |
loop_ |
| 14 |
_dictionary_audit.version |
| 15 |
_dictionary_audit.date |
| 16 |
_dictionary_audit.revision |
| 17 |
0.0.1 2015-11-02 'First version(James Hester)()()()()()' |
| 18 |
0.0.2 2015-11-04 'Added a CIF2-style array for images and a method for constructing a full scan (James Hester)()' |
| 19 |
0.0.3 2015-11-11 'Added keys for all loop categories and included various types of axes()()()' |
| 20 |
0.0.4 2015-11-11 'Added custom imgCIF dictionary as import(James Hester)' |
| 21 |
0.0.5 2015-11-20 'Debugged methods, add and tested methods to find simple scans and detector, goniometer axes. Adding linked item IDs. Simple_detector_axis changed to simple_array_axis()' |
| 22 |
0.0.6 2015-11-23 'Added alternate coordinate system.(James Hester)()()' |
| 23 |
0.0.7 2015-11-25 'Merged with img_cif CIF2 version(James Hester)' |
| 24 |
0.0.8 2015-12-14 'Changed to use pullbacks()()()' |
| 25 |
0.0.9 2015-12-21 'Added pullbacks for simple scans and input routines as well()()()()()()()()()()' |
| 26 |
0.1.0 2016-01-05 'Started adding multiple methods(James Hester)()()' |
| 27 |
0.1.1 2016-01-05 'Added detector axis and goniometer axis derived categories(James Hester)()()()()()()()' |
| 28 |
|
| 29 |
save_DEMO_DIC_HEAD |
| 30 |
|
| 31 |
_definition.id DEMO_DIC_HEAD |
| 32 |
_definition.scope Category |
| 33 |
_definition.class Head |
| 34 |
_description.text |
| 35 |
'This category is parent of all other categories in the demo_dic dictionary' |
| 36 |
_name.object_id DEMO_DIC_HEAD |
| 37 |
|
| 38 |
save_ |
| 39 |
|
| 40 |
|
| 41 |
save_ARRAY_DATA |
| 42 |
|
| 43 |
_definition.id array_data |
| 44 |
_definition.scope Category |
| 45 |
_definition.class Loop |
| 46 |
_definition.update 2014-07-07 |
| 47 |
_description.text |
| 48 |
; |
| 49 |
Data items in the ARRAY_DATA category are the containers for |
| 50 |
the array data items described in the category ARRAY_STRUCTURE. |
| 51 |
|
| 52 |
It is recognized that the data in this category needs to be used in |
| 53 |
two distinct ways. During a data collection the lack of ancillary |
| 54 |
data and timing constraints in processing data may dictate the |
| 55 |
need to make a 'miniCBF' nothing more than an essential minimum |
| 56 |
of information to record the results of the data collection. In that |
| 57 |
case it is proper to use the ARRAY_DATA category as a |
| 58 |
container for just a single image and a compacted, beam-line |
| 59 |
dependent list of data collection parameter values. In such |
| 60 |
a case, only the tags '_array_data.header_convention', |
| 61 |
'_array_data.header_contents' and '_array_data.data' need be |
| 62 |
populated. |
| 63 |
; |
| 64 |
_name.category_id DEMO_DIC_HEAD |
| 65 |
_name.object_id ARRAY_DATA |
| 66 |
_category.key_id '_array_data.binary_id' |
| 67 |
loop_ |
| 68 |
_category_key.name '_array_data.binary_id' |
| 69 |
|
| 70 |
loop_ |
| 71 |
_method.purpose |
| 72 |
_method.expression |
| 73 |
Evaluation |
| 74 |
; |
| 75 |
with ad as array_data |
| 76 |
loop dssf as diffrn_scan_simple_frames { |
| 77 |
array_data (.array_id = dssf.array_id, |
| 78 |
.binary_id = dssf.binary_id, |
| 79 |
.as_integers = dssf.array_data |
| 80 |
) |
| 81 |
} |
| 82 |
|
| 83 |
; |
| 84 |
|
| 85 |
save_ |
| 86 |
|
| 87 |
|
| 88 |
save__array_data.array_id |
| 89 |
|
| 90 |
_definition.id '_array_data.array_id' |
| 91 |
_definition.update 2014-07-07 |
| 92 |
_description.text |
| 93 |
; |
| 94 |
This item is a pointer to _array_structure.id in the |
| 95 |
ARRAY_STRUCTURE category. |
| 96 |
; |
| 97 |
_name.category_id array_data |
| 98 |
_name.object_id array_id |
| 99 |
_name.linked_item_id '_array_structure.id' |
| 100 |
_type.purpose Link |
| 101 |
_type.source Related |
| 102 |
_type.container Single |
| 103 |
_type.contents Code |
| 104 |
_enumeration.default 1 |
| 105 |
|
| 106 |
save_ |
| 107 |
|
| 108 |
|
| 109 |
save__array_data.as_integers |
| 110 |
|
| 111 |
_definition.id '_array_data.as_integers' |
| 112 |
_name.object_id as_integers |
| 113 |
_name.category_id array_data |
| 114 |
_definition.class Datum |
| 115 |
_description.text 'The data presented as an integer array' |
| 116 |
_type.purpose Measurand |
| 117 |
_type.source Recorded |
| 118 |
_type.container Array |
| 119 |
_type.contents Integer |
| 120 |
_name.linked_item_id '' |
| 121 |
|
| 122 |
save_ |
| 123 |
|
| 124 |
|
| 125 |
save__array_data.binary_id |
| 126 |
|
| 127 |
_definition.id '_array_data.binary_id' |
| 128 |
_definition.update 2014-07-07 |
| 129 |
_description.text |
| 130 |
; |
| 131 |
This item is an identifier which should uniquely identify the |
| 132 |
particular block of array data. |
| 133 |
The value of _array_data.binary_id distinguishes |
| 134 |
among multiple sets of data with the same array structure. |
| 135 |
If the MIME header of the data array specifies a |
| 136 |
value for X-Binary-ID, the value of _array_data.binary_id |
| 137 |
should be equal to the value given for X-Binary-ID. |
| 138 |
; |
| 139 |
_name.category_id array_data |
| 140 |
_name.object_id Binary_id |
| 141 |
_type.purpose Number |
| 142 |
_type.source Derived |
| 143 |
_type.container Single |
| 144 |
_type.contents Code |
| 145 |
_enumeration.default 1 |
| 146 |
|
| 147 |
save_ |
| 148 |
|
| 149 |
|
| 150 |
save__array_data.data |
| 151 |
|
| 152 |
_definition.id '_array_data.data' |
| 153 |
_definition.update 2014-07-07 |
| 154 |
_description.text |
| 155 |
; |
| 156 |
The value of _array_data.data contains the array data |
| 157 |
encapsulated in a STAR string. |
| 158 |
|
| 159 |
The representation used is a variant on the |
| 160 |
Multipurpose Internet Mail Extensions (MIME) specified |
| 161 |
in RFC 2045-2049 by N. Freed et al. The boundary |
| 162 |
delimiter used in writing an imgCIF or CBF is |
| 163 |
'\n--CIF-BINARY-FORMAT-SECTION--' (including the |
| 164 |
required initial '\n--'). |
| 165 |
|
| 166 |
The Content-Type may be any of the discrete types permitted |
| 167 |
in RFC 2045; 'application/octet-stream' is recommended |
| 168 |
for diffraction images in the ARRAY_DATA category. |
| 169 |
Note: When appropriate in other categories, e.g. for |
| 170 |
photographs of crystals, more precise types, such as |
| 171 |
'image/jpeg', 'image/tiff', 'image/png', etc. should be used. |
| 172 |
|
| 173 |
If an octet stream was compressed, the compression should |
| 174 |
be specified by the parameter |
| 175 |
'conversions="X-CBF_PACKED"' |
| 176 |
or the parameter |
| 177 |
'conversions="X-CBF_CANONICAL"' |
| 178 |
or the parameter |
| 179 |
'conversions="X-CBF_BYTE_OFFSET"' |
| 180 |
or the parameter |
| 181 |
'conversions="X-CBF_BACKGROUND_OFFSET_DELTA"' |
| 182 |
|
| 183 |
If the parameter |
| 184 |
'conversions="X-CBF_PACKED"' |
| 185 |
is given it may be further modified with the parameters |
| 186 |
'"uncorrelated_sections"' |
| 187 |
or |
| 188 |
'"flat"' |
| 189 |
|
| 190 |
If the '"uncorrelated_sections"' parameter is |
| 191 |
given, each section will be compressed without using |
| 192 |
the prior section for averaging. |
| 193 |
|
| 194 |
If the '"flat"' parameter is given, each the |
| 195 |
image will be treated as one long row. |
| 196 |
|
| 197 |
Note that the X-CBF_CANONICAL and X-CBF_PACKED are |
| 198 |
slower but more efficient compressions that the others. |
| 199 |
The X-CBF_BYTE_OFFSET compression is a good compromise |
| 200 |
between speed and efficiency for ordinary diffraction |
| 201 |
images. The X-CBF_BACKGROUND_OFFSET_DELTA compression |
| 202 |
is oriented towards sparse data, such as masks and |
| 203 |
tables of replacement pixel values for images with |
| 204 |
overloaded spots. |
| 205 |
|
| 206 |
The Content-Transfer-Encoding may be 'BASE64', |
| 207 |
'Quoted-Printable', 'X-BASE8', 'X-BASE10', |
| 208 |
'X-BASE16' or 'X-BASE32K', for an imgCIF or 'BINARY' |
| 209 |
for a CBF. The octal, decimal and hexadecimal transfer |
| 210 |
encodings are provided for convenience in debugging and |
| 211 |
are not recommended for archiving and data interchange. |
| 212 |
|
| 213 |
In a CIF, one of the parameters 'charset=us-ascii', |
| 214 |
'charset=utf-8' or 'charset=utf-16' may be used on the |
| 215 |
Content-Transfer-Encoding to specify the character set |
| 216 |
used for the external presentation of the encoded data. |
| 217 |
If no charset parameter is given, the character set of |
| 218 |
the enclosing CIF is assumed. In any case, if a BOM |
| 219 |
flag is detected (FE FF for big-endian UTF-16, FF FE for |
| 220 |
little-endian UTF-16 or EF BB BF for UTF-8) is detected, |
| 221 |
the indicated charset will be assumed until the end of the |
| 222 |
encoded data or the detection of a different BOM. The |
| 223 |
charset of the Content-Transfer-Encoding is not the character |
| 224 |
set of the encoded data, only the character set of the |
| 225 |
presentation of the encoded data and should be respecified |
| 226 |
for each distinct STAR string. |
| 227 |
|
| 228 |
In an imgCIF file, the encoded binary data begins after |
| 229 |
the empty line terminating the header. In an imgCIF file, |
| 230 |
the encoded binary data ends with the terminating boundary |
| 231 |
delimiter '\n--CIF-BINARY-FORMAT-SECTION----' |
| 232 |
in the currently effective charset or with the '\n; ' |
| 233 |
that terminates the STAR string. |
| 234 |
|
| 235 |
In a CBF, the raw binary data begins after an empty line |
| 236 |
terminating the header and after the sequence: |
| 237 |
|
| 238 |
Octet Hex Decimal Purpose |
| 239 |
0 0C 12 (ctrl-L) Page break |
| 240 |
1 1A 26 (ctrl-Z) Stop listings in MS-DOS |
| 241 |
2 04 04 (Ctrl-D) Stop listings in UNIX |
| 242 |
3 D5 213 Binary section begins |
| 243 |
|
| 244 |
None of these octets are included in the calculation of |
| 245 |
the message size or in the calculation of the |
| 246 |
message digest. |
| 247 |
|
| 248 |
The X-Binary-Size header specifies the size of the |
| 249 |
equivalent binary data in octets. If compression was |
| 250 |
used, this size is the size after compression, including |
| 251 |
any book-keeping fields. An adjustment is made for |
| 252 |
the deprecated binary formats in which eight bytes of binary |
| 253 |
header are used for the compression type. In this case, |
| 254 |
the eight bytes used for the compression type are subtracted |
| 255 |
from the size, so that the same size will be reported |
| 256 |
if the compression type is supplied in the MIME header. |
| 257 |
Use of the MIME header is the recommended way to |
| 258 |
supply the compression type. In general, no portion of |
| 259 |
the binary header is included in the calculation of the size. |
| 260 |
|
| 261 |
The X-Binary-Element-Type header specifies the type of |
| 262 |
Binary data in the octets, using the same descriptive |
| 263 |
phrases as in _array_structure.encoding_type. The default |
| 264 |
value is 'unsigned 32-bit integer'. |
| 265 |
|
| 266 |
An MD5 message digest may, optionally, be used. The 'RSA Data |
| 267 |
Security, Inc. MD5 Message-Digest Algorithm' should be used. |
| 268 |
No portion of the header is included in the calculation of the |
| 269 |
message digest. |
| 270 |
|
| 271 |
If the Transfer Encoding is 'X-BASE8', 'X-BASE10' or |
| 272 |
'X-BASE16', the data are presented as octal, decimal or |
| 273 |
hexadecimal data organized into lines or words. Each word |
| 274 |
is created by composing octets of data in fixed groups of |
| 275 |
2, 3, 4, 6 or 8 octets, either in the order ...4321 ('big- |
| 276 |
endian') or 1234... ('little-endian'). If there are fewer |
| 277 |
than the specified number of octets to fill the last word, |
| 278 |
then the missing octets are presented as '==' for each |
| 279 |
missing octet. Exactly two equal signs are used for each |
| 280 |
missing octet even for octal and decimal encoding. |
| 281 |
The format of lines is: |
| 282 |
|
| 283 |
rnd xxxxxx xxxxxx xxxxxx |
| 284 |
|
| 285 |
where r is 'H', 'O' or 'D' for hexadecimal, octal or |
| 286 |
decimal, n is the number of octets per word and d is '<' |
| 287 |
or '>' for the '...4321' and '1234...' octet orderings, |
| 288 |
respectively. The '==' padding for the last word should |
| 289 |
be on the appropriate side to correspond to the missing |
| 290 |
octets, e.g. |
| 291 |
|
| 292 |
H4< FFFFFFFF FFFFFFFF 07FFFFFF ====0000 |
| 293 |
|
| 294 |
or |
| 295 |
|
| 296 |
H3> FF0700 00==== |
| 297 |
|
| 298 |
For these hexadecimal, octal and decimal formats only, |
| 299 |
comments beginning with '#' are permitted to improve |
| 300 |
readability. |
| 301 |
|
| 302 |
BASE64 encoding follows MIME conventions. Octets are |
| 303 |
in groups of three: c1, c2, c3. The resulting 24 bits |
| 304 |
are broken into four six-bit quantities, starting with |
| 305 |
the high-order six bits (c1 >> 2) of the first octet, then |
| 306 |
the low-order two bits of the first octet followed by the |
| 307 |
high-order four bits of the second octet [(c1 & 3)<<4 | (c2>>4)], |
| 308 |
then the bottom four bits of the second octet followed by the |
| 309 |
high-order two bits of the last octet [(c2 & 15)<<2 | (c3>>6)], |
| 310 |
then the bottom six bits of the last octet (c3 & 63). Each |
| 311 |
of these four quantities is translated into an ASCII character |
| 312 |
using the mapping: |
| 313 |
|
| 314 |
1 2 3 4 5 6 |
| 315 |
0123456789012345678901234567890123456789012345678901234567890123 |
| 316 |
| | | | | | | |
| 317 |
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ |
| 318 |
|
| 319 |
With short groups of octets padded on the right with one '=' |
| 320 |
if c3 is missing, and with '==' if both c2 and c3 are missing. |
| 321 |
|
| 322 |
X-BASE32K encoding is similar to BASE64 encoding, except that |
| 323 |
sets of 15 octets are encoded as sets of 8 16-bit unicode |
| 324 |
characters, by breaking the 120 bits into 8 15-bit quantities. |
| 325 |
256 is added to each 15 bit quantity to bring it into a |
| 326 |
printable uncode range. When encoding, zero padding is used |
| 327 |
to fill out the last 15 bit quantity. If 8 or more bits of |
| 328 |
padding are used, a single equals sign (hexadecimal 003D) is |
| 329 |
appended. Embedded whitespace and newlines are introduced |
| 330 |
to produce lines of no more than 80 characters each. On |
| 331 |
decoding, all printable ascii characters and ascii whitespace |
| 332 |
characters are ignored except for any trailing equals signs. |
| 333 |
The number of trailing equals signs indicated the number of |
| 334 |
trailing octets to be trimmed from the end of the decoded data. |
| 335 |
(see Georgi Darakev, Vassil Litchev, Kostadin Z. Mitev, Herbert |
| 336 |
J. Bernstein, 'Efficient Support of Binary Data in the XML |
| 337 |
Implementation of the NeXus File Format',absract W0165, |
| 338 |
ACA Summer Meeting, Honolulu, HI, July 2006). |
| 339 |
|
| 340 |
QUOTED-PRINTABLE encoding also follows MIME conventions, copying |
| 341 |
octets without translation if their ASCII values are 32...38, |
| 342 |
42, 48...57, 59, 60, 62, 64...126 and the octet is not a ';' |
| 343 |
in column 1. All other characters are translated to =nn, where |
| 344 |
nn is the hexadecimal encoding of the octet. All lines are |
| 345 |
'wrapped' with a terminating '=' (i.e. the MIME conventions |
| 346 |
for an implicit line terminator are never used). |
| 347 |
|
| 348 |
The "X-Binary-Element-Byte-Order" can specify either |
| 349 |
'"BIG_ENDIAN"' or '"LITTLE_ENDIAN"' byte order of the imaage |
| 350 |
data. Only LITTLE_ENDIAN is recommended. Processors |
| 351 |
may treat BIG_ENDIAN as a warning of data that can |
| 352 |
only be processed by special software. |
| 353 |
|
| 354 |
The "X-Binary-Number-of-Elements" specifies the number of |
| 355 |
elements (not the number of octets) in the decompressed, decoded |
| 356 |
image. |
| 357 |
|
| 358 |
The optional "X-Binary-Size-Fastest-Dimension" specifies the |
| 359 |
number of elements (not the number of octets) in one row of the |
| 360 |
fastest changing dimension of the binary data array. This |
| 361 |
information must be in the MIME header for proper operation of |
| 362 |
some of the decompression algorithms. |
| 363 |
|
| 364 |
The optional "X-Binary-Size-Second-Dimension" specifies the |
| 365 |
number of elements (not the number of octets) in one column of |
| 366 |
the second-fastest changing dimension of the binary data array. |
| 367 |
This information must be in the MIME header for proper operation |
| 368 |
of some of the decompression algorithms. |
| 369 |
|
| 370 |
The optional "X-Binary-Size-Third-Dimension" specifies the |
| 371 |
number of sections for the third-fastest changing dimension of |
| 372 |
the binary data array. |
| 373 |
|
| 374 |
The optional "X-Binary-Size-Padding" specifies the size in |
| 375 |
octets of an optional padding after the binary array data and |
| 376 |
before the closing flags for a binary section. |
| 377 |
; |
| 378 |
_name.category_id array_data |
| 379 |
_name.object_id 'data' |
| 380 |
_type.purpose Number |
| 381 |
_type.source Derived |
| 382 |
_type.container Single |
| 383 |
_type.contents Binary |
| 384 |
|
| 385 |
save_ |
| 386 |
|
| 387 |
|
| 388 |
save__array_data.header_contents |
| 389 |
|
| 390 |
_definition.id '_array_data.header_contents' |
| 391 |
_definition.update 2014-07-07 |
| 392 |
_description.text |
| 393 |
; |
| 394 |
This item is an text field for use in minimal CBF files to carry |
| 395 |
essential header information to be kept with image data |
| 396 |
in _array_data.data when the tags that normally carry the |
| 397 |
structured metadata for the image have not been populated. |
| 398 |
Normally this data item should not appear when the full set |
| 399 |
of tags have been populated and _diffrn_data_frame.details |
| 400 |
appears. |
| 401 |
; |
| 402 |
_name.category_id array_data |
| 403 |
_name.object_id header_contents |
| 404 |
_type.purpose Describe |
| 405 |
_type.source Recorded |
| 406 |
_type.container Single |
| 407 |
_type.contents Text |
| 408 |
|
| 409 |
save_ |
| 410 |
|
| 411 |
|
| 412 |
save__array_data.header_convention |
| 413 |
|
| 414 |
_definition.id '_array_data.header_convention' |
| 415 |
_definition.update 2014-07-07 |
| 416 |
_description.text |
| 417 |
; |
| 418 |
This item is an identifier for the convention followed in |
| 419 |
constructing the contents of _array_data.header_contents |
| 420 |
The permitted values are of the of an image creator identifier |
| 421 |
followed by an underscore and a version string. To avoid |
| 422 |
confusion about conventions, all creator identifiers |
| 423 |
should be registered with the IUCr and the conventions |
| 424 |
for all identifiers and versions should be posted on |
| 425 |
the MEDSBIO.org web site. |
| 426 |
; |
| 427 |
_name.category_id array_data |
| 428 |
_name.object_id header_convention |
| 429 |
_type.purpose Encode |
| 430 |
_type.source Assigned |
| 431 |
_type.container Single |
| 432 |
_type.contents Code |
| 433 |
|
| 434 |
save_ |
| 435 |
|
| 436 |
|
| 437 |
save_ARRAY_ELEMENT_SIZE |
| 438 |
|
| 439 |
_definition.id array_element_size |
| 440 |
_definition.scope Category |
| 441 |
_definition.class Loop |
| 442 |
_definition.update 2014-07-07 |
| 443 |
_description.text |
| 444 |
; |
| 445 |
Data items in the ARRAY_ELEMENT_SIZE category record the physical |
| 446 |
size of array elements along each array dimension. |
| 447 |
; |
| 448 |
_name.category_id DEMO_DIC_HEAD |
| 449 |
_name.object_id ARRAY_ELEMENT_SIZE |
| 450 |
_category.key_id '_array_element_size.id' |
| 451 |
loop_ |
| 452 |
_category_key.name '_array_element_size.array_id' |
| 453 |
'_array_element_size.index' |
| 454 |
|
| 455 |
save_ |
| 456 |
|
| 457 |
|
| 458 |
save__array_element_size.array_id |
| 459 |
|
| 460 |
_definition.id '_array_element_size.array_id' |
| 461 |
_definition.update 2014-07-07 |
| 462 |
_description.text |
| 463 |
; |
| 464 |
This item is a pointer to _array_structure.id in the |
| 465 |
ARRAY_STRUCTURE category. |
| 466 |
; |
| 467 |
_name.category_id array_element_size |
| 468 |
_name.object_id array_id |
| 469 |
_name.linked_item_id '_array_structure.id' |
| 470 |
_type.purpose Link |
| 471 |
_type.source Related |
| 472 |
_type.container Single |
| 473 |
_type.contents Code |
| 474 |
|
| 475 |
save_ |
| 476 |
|
| 477 |
|
| 478 |
save__array_element_size.index |
| 479 |
|
| 480 |
_definition.id '_array_element_size.index' |
| 481 |
_definition.update 2014-07-07 |
| 482 |
_description.text |
| 483 |
; |
| 484 |
This item is a pointer to _array_structure_list.index in |
| 485 |
the ARRAY_STRUCTURE_LIST category. |
| 486 |
; |
| 487 |
_name.category_id array_element_size |
| 488 |
_name.object_id index |
| 489 |
_name.linked_item_id '_array_structure_list.index' |
| 490 |
_type.purpose Link |
| 491 |
_type.source Related |
| 492 |
_type.container Single |
| 493 |
_type.contents Code |
| 494 |
|
| 495 |
save_ |
| 496 |
|
| 497 |
|
| 498 |
save__array_element_size.size |
| 499 |
|
| 500 |
_definition.id '_array_element_size.size' |
| 501 |
_definition.update 2014-07-07 |
| 502 |
_description.text |
| 503 |
; |
| 504 |
The size in metres of an image element in this |
| 505 |
dimension. This supposes that the elements are arranged |
| 506 |
on a regular grid. |
| 507 |
; |
| 508 |
_name.category_id array_element_size |
| 509 |
_name.object_id size |
| 510 |
_type.purpose Number |
| 511 |
_type.source Derived |
| 512 |
_type.container Single |
| 513 |
_type.contents Real |
| 514 |
_units.code metres |
| 515 |
|
| 516 |
save_ |
| 517 |
|
| 518 |
|
| 519 |
save__array_element_size.variant |
| 520 |
|
| 521 |
_definition.id '_array_element_size.variant' |
| 522 |
_definition.update 2014-07-07 |
| 523 |
_description.text |
| 524 |
; |
| 525 |
The value of _array_element_size.variant gives the variant |
| 526 |
to which the given ARRAY_ELEMENT_SIZE row is related. |
| 527 |
If this value is not given, the variant is assumed to the default |
| 528 |
null variant. This item is a pointer to _variant.variant in the |
| 529 |
VARIANT category. |
| 530 |
; |
| 531 |
_name.category_id array_element_size |
| 532 |
_name.object_id variant |
| 533 |
_name.linked_item_id '_variant.variant' |
| 534 |
_type.purpose Link |
| 535 |
_type.source Related |
| 536 |
_type.container Single |
| 537 |
_type.contents Code |
| 538 |
|
| 539 |
save_ |
| 540 |
|
| 541 |
|
| 542 |
save_ARRAY_INTENSITIES |
| 543 |
|
| 544 |
_definition.id ARRAY_INTENSITIES |
| 545 |
_definition.scope Category |
| 546 |
_definition.class Loop |
| 547 |
_definition.update 2014-07-07 |
| 548 |
_description.text |
| 549 |
; |
| 550 |
Data items in the ARRAY_INTENSITIES category record the |
| 551 |
information required to recover the intensity data from |
| 552 |
the set of data values stored in the ARRAY_DATA category. |
| 553 |
|
| 554 |
The detector may have a complex relationship |
| 555 |
between the raw intensity values and the number of |
| 556 |
incident photons. In most cases, the number stored |
| 557 |
in the final array will have a simple linear relationship |
| 558 |
to the actual number of incident photons, given by |
| 559 |
_array_intensities.gain. If raw, uncorrected values |
| 560 |
are presented (e.g. for calibration experiments), the |
| 561 |
value of _array_intensities.linearity will be 'raw' |
| 562 |
and _array_intensities.gain will not be used. |
| 563 |
|
| 564 |
; |
| 565 |
_name.category_id DEMO_DIC_HEAD |
| 566 |
_name.object_id ARRAY_INTENSITIES |
| 567 |
_category.key_id '_array_intensities.binary_id' |
| 568 |
loop_ |
| 569 |
_category_key.name '_array_intensities.binary_id' |
| 570 |
|
| 571 |
save_ |
| 572 |
|
| 573 |
|
| 574 |
save__array_intensities.array_id |
| 575 |
|
| 576 |
_definition.id '_array_intensities.array_id' |
| 577 |
_definition.update 2014-07-07 |
| 578 |
_description.text |
| 579 |
; |
| 580 |
This item is a pointer to _array_structure.id in the |
| 581 |
ARRAY_STRUCTURE category. |
| 582 |
; |
| 583 |
_name.category_id array_intensities |
| 584 |
_name.object_id array_id |
| 585 |
_name.linked_item_id '_array_structure.id' |
| 586 |
_type.purpose Link |
| 587 |
_type.source Related |
| 588 |
_type.container Single |
| 589 |
_type.contents Code |
| 590 |
|
| 591 |
save_ |
| 592 |
|
| 593 |
|
| 594 |
save__array_intensities.binary_id |
| 595 |
|
| 596 |
_definition.id '_array_intensities.binary_id' |
| 597 |
_definition.update 2014-07-07 |
| 598 |
_description.text |
| 599 |
; |
| 600 |
This item is a pointer to _array_data.binary_id in the |
| 601 |
ARRAY_DATA category. |
| 602 |
; |
| 603 |
_name.category_id array_intensities |
| 604 |
_name.object_id binary_id |
| 605 |
_name.linked_item_id '_array_data.binary_id' |
| 606 |
_type.purpose Link |
| 607 |
_type.source Related |
| 608 |
_type.container Single |
| 609 |
_type.contents Code |
| 610 |
|
| 611 |
save_ |
| 612 |
|
| 613 |
|
| 614 |
save__array_intensities.details |
| 615 |
|
| 616 |
_definition.id '_array_intensities.details' |
| 617 |
_definition.update 2014-07-07 |
| 618 |
_description.text |
| 619 |
; |
| 620 |
A description of special aspects of the calculation of |
| 621 |
array intensities. |
| 622 |
; |
| 623 |
_name.category_id array_intensities |
| 624 |
_name.object_id details |
| 625 |
_type.purpose Describe |
| 626 |
_type.source Recorded |
| 627 |
_type.container Single |
| 628 |
_type.contents Text |
| 629 |
loop_ |
| 630 |
_description_example.case |
| 631 |
'Gain_setting: low gain (vrf = -0.300)' |
| 632 |
|
| 633 |
save_ |
| 634 |
|
| 635 |
|
| 636 |
save__array_intensities.gain |
| 637 |
|
| 638 |
_definition.id '_array_intensities.gain' |
| 639 |
_definition.update 2014-07-07 |
| 640 |
_description.text |
| 641 |
; |
| 642 |
Detector 'gain'. The factor by which linearized |
| 643 |
intensity count values should be divided to produce |
| 644 |
true photon counts. |
| 645 |
; |
| 646 |
_name.category_id array_intensities |
| 647 |
_name.object_id gain |
| 648 |
_type.purpose Number |
| 649 |
_type.source Derived |
| 650 |
_type.container Single |
| 651 |
_type.contents Real |
| 652 |
_units.code counts_per_photon |
| 653 |
|
| 654 |
save_ |
| 655 |
|
| 656 |
|
| 657 |
save__array_intensities.gain_esd |
| 658 |
|
| 659 |
_definition.id '_array_intensities.gain_esd' |
| 660 |
loop_ |
| 661 |
_alias.definition_id |
| 662 |
'_array_intensities.gain_su' |
| 663 |
_definition.update 2014-07-30 |
| 664 |
_description.text |
| 665 |
; |
| 666 |
The standard uncertainty (esd) of detector 'gain'. |
| 667 |
; |
| 668 |
_name.category_id array_intensities |
| 669 |
_name.object_id gain_su |
| 670 |
_name.linked_item_id '_array_intensities.gain' |
| 671 |
_type.purpose SU |
| 672 |
_type.source Related |
| 673 |
_type.container Single |
| 674 |
_type.contents Real |
| 675 |
_units.code counts_per_photon |
| 676 |
|
| 677 |
save_ |
| 678 |
|
| 679 |
|
| 680 |
save__array_intensities.linearity |
| 681 |
|
| 682 |
_definition.id '_array_intensities.linearity' |
| 683 |
_definition.update 2014-07-07 |
| 684 |
_description.text |
| 685 |
; |
| 686 |
The intensity linearity scaling method used to convert |
| 687 |
from the raw intensity to the stored element value: |
| 688 |
; |
| 689 |
_name.category_id array_intensities |
| 690 |
_name.object_id linearity |
| 691 |
_type.purpose State |
| 692 |
_type.source Assigned |
| 693 |
_type.container Single |
| 694 |
_type.contents Code |
| 695 |
loop_ |
| 696 |
_enumeration_set.state |
| 697 |
_enumeration_set.detail |
| 698 |
linear . |
| 699 |
offset |
| 700 |
; The value defined by _array_intensities.offset should |
| 701 |
be added to each element value. |
| 702 |
; |
| 703 |
scaling |
| 704 |
; The value defined by _array_intensities.scaling should be |
| 705 |
multiplied with each element value. |
| 706 |
; |
| 707 |
scaling_offset |
| 708 |
; The combination of the scaling and offset |
| 709 |
with the scale factor applied before the offset value. |
| 710 |
; |
| 711 |
sqrt_scaled |
| 712 |
; The square root of raw intensities multiplied by |
| 713 |
_array_intensities.scaling is calculated and stored, |
| 714 |
perhaps rounded to the nearest integer. Thus, |
| 715 |
linearization involves dividing the stored values by |
| 716 |
_array_intensities.scaling and squaring the result. |
| 717 |
; |
| 718 |
logarithmic_scaled |
| 719 |
; The logarithm base 10 of raw intensities multiplied by |
| 720 |
_array_intensities.scaling is calculated and stored, |
| 721 |
perhaps rounded to the nearest integer. Thus, |
| 722 |
linearization involves dividing the stored values by |
| 723 |
_array_intensities.scaling and calculating 10 to the |
| 724 |
power of this number. |
| 725 |
; |
| 726 |
raw |
| 727 |
; The array consists of raw values to which no corrections have |
| 728 |
been applied. While the handling of the data is similar to |
| 729 |
that given for 'linear' data with no offset, the meaning of |
| 730 |
the data differs in that the number of incident photons is |
| 731 |
not necessarily linearly related to the number of counts |
| 732 |
reported. This value is intended for use either in |
| 733 |
calibration experiments or to allow for handling more |
| 734 |
complex data-fitting algorithms than are allowed for by |
| 735 |
this data item. |
| 736 |
; |
| 737 |
|
| 738 |
save_ |
| 739 |
|
| 740 |
|
| 741 |
save__array_intensities.offset |
| 742 |
|
| 743 |
_definition.id '_array_intensities.offset' |
| 744 |
_definition.update 2014-07-07 |
| 745 |
_description.text |
| 746 |
; |
| 747 |
Offset value to add to array element values in the manner |
| 748 |
described by the item _array_intensities.linearity. |
| 749 |
; |
| 750 |
_name.category_id array_intensities |
| 751 |
_name.object_id offset |
| 752 |
_type.purpose Number |
| 753 |
_type.source Derived |
| 754 |
_type.container Single |
| 755 |
_type.contents Real |
| 756 |
|
| 757 |
save_ |
| 758 |
|
| 759 |
|
| 760 |
save__array_intensities.overload |
| 761 |
|
| 762 |
_definition.id '_array_intensities.overload' |
| 763 |
_definition.update 2014-07-07 |
| 764 |
_description.text |
| 765 |
; |
| 766 |
The saturation intensity level for this data array. |
| 767 |
; |
| 768 |
_name.category_id array_intensities |
| 769 |
_name.object_id overload |
| 770 |
_type.purpose Number |
| 771 |
_type.source Derived |
| 772 |
_type.container Single |
| 773 |
_type.contents Count |
| 774 |
|
| 775 |
save_ |
| 776 |
|
| 777 |
|
| 778 |
save__array_intensities.pixel_binning_method |
| 779 |
|
| 780 |
_definition.id '_array_intensities.pixel_binning_method' |
| 781 |
_definition.update 2014-07-07 |
| 782 |
_description.text |
| 783 |
; |
| 784 |
The value of _array_intensities.pixel_binning_method specifies |
| 785 |
the method used to derive array elements from multiple pixels. |
| 786 |
; |
| 787 |
_name.category_id array_intensities |
| 788 |
_name.object_id pixel_binning_method |
| 789 |
_type.purpose State |
| 790 |
_type.source Assigned |
| 791 |
_type.container Single |
| 792 |
_type.contents Code |
| 793 |
loop_ |
| 794 |
_enumeration_set.state |
| 795 |
_enumeration_set.detail |
| 796 |
hardware |
| 797 |
; The element intensities were derived from the raw data of one |
| 798 |
or more pixels by used of hardware in the detector, e.g. by use |
| 799 |
of shift registers in a CCD to combine pixels into super-pixels. |
| 800 |
; |
| 801 |
software |
| 802 |
; The element intensities were derived from the raw data of more |
| 803 |
than one pixel by use of software. |
| 804 |
; |
| 805 |
combined |
| 806 |
; The element intensities were derived from the raw data of more |
| 807 |
than one pixel by use of both hardware and software, as when |
| 808 |
hardware binning is used in one direction and software in the |
| 809 |
other. |
| 810 |
; |
| 811 |
none |
| 812 |
; In the both directions, the data has not been binned. The |
| 813 |
number of pixels is equal to the number of elements. |
| 814 |
When the value of _array_intensities.pixel_binning_method is |
| 815 |
'none' the values of _array_intensities.pixel_fast_bin_size |
| 816 |
and _array_intensities.pixel_slow_bin_size both must be 1. |
| 817 |
; |
| 818 |
unspecified ' The method used to derive element intensities is not specified.' |
| 819 |
_enumeration.default unspecified |
| 820 |
|
| 821 |
save_ |
| 822 |
|
| 823 |
|
| 824 |
save__array_intensities.pixel_fast_bin_size |
| 825 |
|
| 826 |
_definition.id '_array_intensities.pixel_fast_bin_size' |
| 827 |
_definition.update 2014-07-07 |
| 828 |
_description.text |
| 829 |
; |
| 830 |
The value of _array_intensities.pixel_fast_bin_size specifies |
| 831 |
the number of pixels that compose one element in the direction |
| 832 |
of the most rapidly varying array dimension. |
| 833 |
Typical values are 1, 2, 4 or 8. When there is 1 pixel per |
| 834 |
array element in both directions, the value given for |
| 835 |
_array_intensities.pixel_binning_method normally should be 'none'. |
| 836 |
It is specified as a float to allow for binning algorithms that |
| 837 |
create array elements that are not integer multiples of the |
| 838 |
detector pixel size. |
| 839 |
; |
| 840 |
_name.category_id array_intensities |
| 841 |
_name.object_id pixel_fast_bin_size |
| 842 |
_type.purpose Number |
| 843 |
_type.source Derived |
| 844 |
_type.container Single |
| 845 |
_type.contents Count |
| 846 |
_enumeration.default 1. |
| 847 |
_units.code pixels_per_element |
| 848 |
|
| 849 |
save_ |
| 850 |
|
| 851 |
|
| 852 |
save__array_intensities.pixel_slow_bin_size |
| 853 |
|
| 854 |
_definition.id '_array_intensities.pixel_slow_bin_size' |
| 855 |
_definition.update 2014-07-07 |
| 856 |
_description.text |
| 857 |
; |
| 858 |
The value of _array_intensities.pixel_slow_bin_size specifies |
| 859 |
the number of pixels that compose one element in the direction |
| 860 |
of the second most rapidly varying array dimension. |
| 861 |
Typical values are 1, 2, 4 or 8. When there is 1 pixel per |
| 862 |
array element in both directions, the value given for |
| 863 |
_array_intensities.pixel_binning_method normally should be 'none'. |
| 864 |
It is specified as a float to allow for binning algorithms that |
| 865 |
create array elements that are not integer multiples of the |
| 866 |
detector pixel size. |
| 867 |
; |
| 868 |
_name.category_id array_intensities |
| 869 |
_name.object_id pixel_slow_bin_size |
| 870 |
_type.purpose Number |
| 871 |
_type.source Derived |
| 872 |
_type.container Single |
| 873 |
_type.contents Count |
| 874 |
_enumeration.default 1. |
| 875 |
_units.code pixels_per_element |
| 876 |
|
| 877 |
save_ |
| 878 |
|
| 879 |
|
| 880 |
save__array_intensities.scaling |
| 881 |
|
| 882 |
_definition.id '_array_intensities.scaling' |
| 883 |
_definition.update 2014-07-07 |
| 884 |
_description.text |
| 885 |
; |
| 886 |
Multiplicative scaling value to be applied to array data |
| 887 |
in the manner described by item _array_intensities.linearity. |
| 888 |
; |
| 889 |
_name.category_id array_intensities |
| 890 |
_name.object_id scaling |
| 891 |
_type.purpose Number |
| 892 |
_type.source Assigned |
| 893 |
_type.container Single |
| 894 |
_type.contents Real |
| 895 |
|
| 896 |
save_ |
| 897 |
|
| 898 |
|
| 899 |
save__array_intensities.undefined_value |
| 900 |
|
| 901 |
_definition.id '_array_intensities.undefined_value' |
| 902 |
_definition.update 2014-07-07 |
| 903 |
_description.text |
| 904 |
; |
| 905 |
A value to be substituted for undefined values in |
| 906 |
the data array. |
| 907 |
; |
| 908 |
_name.category_id array_intensities |
| 909 |
_name.object_id undefined_value |
| 910 |
_type.purpose Number |
| 911 |
_type.source Assigned |
| 912 |
_type.container Single |
| 913 |
_type.contents Real |
| 914 |
|
| 915 |
save_ |
| 916 |
|
| 917 |
|
| 918 |
save__array_intensities.variant |
| 919 |
|
| 920 |
_definition.id '_array_intensities.variant' |
| 921 |
_definition.update 2014-07-07 |
| 922 |
_description.text |
| 923 |
; |
| 924 |
The value of _array_intensities.variant gives the variant |
| 925 |
to which the given ARRAY_INTENSITIES row is related. |
| 926 |
If this value is not given, the variant is assumed to the default |
| 927 |
null variant. This item is a pointer to _variant.variant in the |
| 928 |
VARIANT category. |
| 929 |
; |
| 930 |
_name.category_id array_intensities |
| 931 |
_name.object_id variant |
| 932 |
_name.linked_item_id '_variant.variant' |
| 933 |
_type.purpose Link |
| 934 |
_type.source Related |
| 935 |
_type.container Single |
| 936 |
_type.contents Code |
| 937 |
|
| 938 |
save_ |
| 939 |
|
| 940 |
|
| 941 |
save_ARRAY_STRUCTURE |
| 942 |
|
| 943 |
_definition.id ARRAY_STRUCTURE |
| 944 |
_definition.scope Category |
| 945 |
_definition.class Loop |
| 946 |
_definition.update 2014-07-07 |
| 947 |
_description.text |
| 948 |
; |
| 949 |
Data items in the ARRAY_STRUCTURE category record the organization and |
| 950 |
encoding of array data that may be stored in the ARRAY_DATA category. |
| 951 |
; |
| 952 |
_name.category_id DEMO_DIC_HEAD |
| 953 |
_name.object_id ARRAY_STRUCTURE |
| 954 |
_category.key_id '_array_structure.id' |
| 955 |
loop_ |
| 956 |
_category_key.name '_array_structure.id' |
| 957 |
|
| 958 |
save_ |
| 959 |
|
| 960 |
|
| 961 |
save__array_structure.byte_order |
| 962 |
|
| 963 |
_definition.id '_array_structure.byte_order' |
| 964 |
_definition.update 2014-07-07 |
| 965 |
_description.text |
| 966 |
; |
| 967 |
The order of bytes for integer values which require more |
| 968 |
than 1 byte. |
| 969 |
(IBM-PC's and compatibles and DEC VAXs use low-byte-first |
| 970 |
ordered integers, whereas Hewlett Packard 700 |
| 971 |
series, Sun-4 and Silicon Graphics use high-byte-first |
| 972 |
ordered integers. DEC Alphas can produce/use either |
| 973 |
depending on a compiler switch.) |
| 974 |
; |
| 975 |
_name.category_id array_structure |
| 976 |
_name.object_id byte_order |
| 977 |
_type.purpose State |
| 978 |
_type.source Assigned |
| 979 |
_type.container Single |
| 980 |
_type.contents Code |
| 981 |
loop_ |
| 982 |
_enumeration_set.state |
| 983 |
_enumeration_set.detail |
| 984 |
big_endian |
| 985 |
; The first byte in the byte stream of the bytes which make up an |
| 986 |
integer value is the most significant byte of an integer. |
| 987 |
; |
| 988 |
little_endian |
| 989 |
; The last byte in the byte stream of the bytes which make up an |
| 990 |
integer value is the most significant byte of an integer. |
| 991 |
; |
| 992 |
|
| 993 |
save_ |
| 994 |
|
| 995 |
|
| 996 |
save__array_structure.compression_type |
| 997 |
|
| 998 |
_definition.id '_array_structure.compression_type' |
| 999 |
_definition.update 2014-07-07 |
| 1000 |
_description.text |
| 1001 |
; |
| 1002 |
Type of data-compression method used to compress the array |
| 1003 |
data. |
| 1004 |
; |
| 1005 |
_name.category_id array_structure |
| 1006 |
_name.object_id compression_type |
| 1007 |
_type.purpose State |
| 1008 |
_type.source Assigned |
| 1009 |
_type.container Single |
| 1010 |
_type.contents Code |
| 1011 |
loop_ |
| 1012 |
_enumeration_set.state |
| 1013 |
_enumeration_set.detail |
| 1014 |
byte_offset |
| 1015 |
; Using the 'byte_offset' compression scheme as per A. Hammersley |
| 1016 |
and the CBFlib manual, section 3.3.3 |
| 1017 |
; |
| 1018 |
canonical |
| 1019 |
; Using the 'canonical' compression scheme (International Tables |
| 1020 |
for Crystallography Volume G, Section 5.6.3.1) and CBFlib |
| 1021 |
manual section 3.3.1 |
| 1022 |
; |
| 1023 |
nibble_offset |
| 1024 |
; Using the 'nibble_offset' compression scheme as per H. Bernstein |
| 1025 |
and the CBFlib manual, section 3.3.4 |
| 1026 |
; |
| 1027 |
none |
| 1028 |
; Data are stored in normal format as defined by |
| 1029 |
_array_structure.encoding_type and |
| 1030 |
_array_structure.byte_order. |
| 1031 |
; |
| 1032 |
packed |
| 1033 |
; Using the 'packed' compression scheme, a CCP4-style packing |
| 1034 |
as per J. P. Abrahams pack_c.c and CBFlib manual, section 3.3.2. |
| 1035 |
; |
| 1036 |
packed_v2 |
| 1037 |
; Using the 'packed' compression scheme, version 2, as per |
| 1038 |
J. P. Abrahams pack_c.c and CBFlib manual, section 3.3.2. |
| 1039 |
; |
| 1040 |
_enumeration.default none |
| 1041 |
|
| 1042 |
save_ |
| 1043 |
|
| 1044 |
|
| 1045 |
save__array_structure.compression_type_flag |
| 1046 |
|
| 1047 |
_definition.id '_array_structure.compression_type_flag' |
| 1048 |
_definition.update 2014-07-07 |
| 1049 |
_description.text |
| 1050 |
; |
| 1051 |
Flags modifying the type of data-compression method used to |
| 1052 |
compress the arraydata. |
| 1053 |
; |
| 1054 |
_name.category_id array_structure |
| 1055 |
_name.object_id compression_type_flag |
| 1056 |
_type.purpose State |
| 1057 |
_type.source Assigned |
| 1058 |
_type.container Single |
| 1059 |
_type.contents Code |
| 1060 |
loop_ |
| 1061 |
_enumeration_set.state |
| 1062 |
_enumeration_set.detail |
| 1063 |
uncorrelated_sections |
| 1064 |
; When applying packed or packed_v2 compression on an array with |
| 1065 |
uncorrelated sections, do not average in points from the prior |
| 1066 |
section. |
| 1067 |
; |
| 1068 |
flat |
| 1069 |
; When applying packed or packed_v2 compression on an array with |
| 1070 |
treat the entire image as a single line set the maximum number |
| 1071 |
of bits for an offset to 65 bits. |
| 1072 |
The flag is included for compatibility with software prior to |
| 1073 |
CBFlib_0.7.7, and should not be used for new data sets. |
| 1074 |
; |
| 1075 |
|
| 1076 |
save_ |
| 1077 |
|
| 1078 |
|
| 1079 |
save__array_structure.encoding_type |
| 1080 |
|
| 1081 |
_definition.id '_array_structure.encoding_type' |
| 1082 |
_definition.update 2014-07-07 |
| 1083 |
_description.text |
| 1084 |
; |
| 1085 |
Data encoding of a single element of array data. |
| 1086 |
The type 'unsigned 1-bit integer' is used for |
| 1087 |
packed Booleans arrays for masks. Each element |
| 1088 |
of the array corresponds to a single bit |
| 1089 |
packed in unsigned 8-bit data. |
| 1090 |
In several cases, the IEEE format is referenced. |
| 1091 |
See IEEE Standard 754-1985 (IEEE, 1985). |
| 1092 |
Ref: IEEE (1985). IEEE Standard for Binary Floating-Point |
| 1093 |
Arithmetic. ANSI/IEEE Std 754-1985. New York: Institute of |
| 1094 |
Electrical and Electronics Engineers. |
| 1095 |
; |
| 1096 |
_name.category_id array_structure |
| 1097 |
_name.object_id encoding_type |
| 1098 |
_type.purpose State |
| 1099 |
_type.source Assigned |
| 1100 |
_type.container Single |
| 1101 |
_type.contents Code |
| 1102 |
loop_ |
| 1103 |
_enumeration_set.state |
| 1104 |
'unsigned 1-bit integer' |
| 1105 |
'unsigned 8-bit integer' |
| 1106 |
'signed 8-bit integer' |
| 1107 |
'unsigned 16-bit integer' |
| 1108 |
'signed 16-bit integer' |
| 1109 |
'unsigned 32-bit integer' |
| 1110 |
'signed 32-bit integer' |
| 1111 |
'signed 32-bit real IEEE' |
| 1112 |
'signed 64-bit real IEEE' |
| 1113 |
'signed 32-bit complex IEEE' |
| 1114 |
|
| 1115 |
save_ |
| 1116 |
|
| 1117 |
|
| 1118 |
save__array_structure.id |
| 1119 |
|
| 1120 |
_definition.id '_array_structure.id' |
| 1121 |
_definition.update 2014-07-07 |
| 1122 |
_description.text |
| 1123 |
; |
| 1124 |
The value of _array_structure.id must uniquely identify |
| 1125 |
each item of array data. |
| 1126 |
This item has been made implicit and given a default value of 1 |
| 1127 |
as a convenience in writing miniCBF files. Normally an |
| 1128 |
explicit name with useful content should be used. |
| 1129 |
; |
| 1130 |
_name.category_id array_structure |
| 1131 |
_name.object_id id |
| 1132 |
_type.purpose Encode |
| 1133 |
_type.source Assigned |
| 1134 |
_type.container Single |
| 1135 |
_type.contents Code |
| 1136 |
_enumeration.default 1 |
| 1137 |
_name.linked_item_id '' |
| 1138 |
|
| 1139 |
save_ |
| 1140 |
|
| 1141 |
|
| 1142 |
save_ARRAY_STRUCTURE_LIST |
| 1143 |
|
| 1144 |
_definition.id ARRAY_STRUCTURE_LIST |
| 1145 |
_definition.scope Category |
| 1146 |
_definition.class Loop |
| 1147 |
_definition.update 2014-07-07 |
| 1148 |
_description.text |
| 1149 |
; |
| 1150 |
The ARRAY_STRUCTURE_LIST category record the size |
| 1151 |
and organization of each array dimension. |
| 1152 |
The relationship to physical axes may be given. |
| 1153 |
; |
| 1154 |
_name.category_id DEMO_DIC_HEAD |
| 1155 |
_name.object_id ARRAY_STRUCTURE_LIST |
| 1156 |
_category.key_id '_array_structure_list.id' |
| 1157 |
loop_ |
| 1158 |
_category_key.name '_array_structure_list.array_id' |
| 1159 |
'_array_structure_list.index' |
| 1160 |
|
| 1161 |
save_ |
| 1162 |
|
| 1163 |
|
| 1164 |
save__array_structure_list.array_id |
| 1165 |
|
| 1166 |
_definition.id '_array_structure_list.array_id' |
| 1167 |
_definition.update 2014-07-07 |
| 1168 |
_description.text |
| 1169 |
; |
| 1170 |
This item is a pointer to _array_structure.id in the |
| 1171 |
ARRAY_STRUCTURE category. |
| 1172 |
; |
| 1173 |
_name.category_id array_structure_list |
| 1174 |
_name.object_id array_id |
| 1175 |
_name.linked_item_id '_array_structure.id' |
| 1176 |
_type.purpose Link |
| 1177 |
_type.source Related |
| 1178 |
_type.container Single |
| 1179 |
_type.contents Code |
| 1180 |
|
| 1181 |
save_ |
| 1182 |
|
| 1183 |
|
| 1184 |
save__array_structure_list.array_section_id |
| 1185 |
|
| 1186 |
_definition.id '_array_structure_list.array_section_id' |
| 1187 |
_definition.update 2014-07-07 |
| 1188 |
_description.text |
| 1189 |
; |
| 1190 |
This item is a pointer to _array_structure_list_section.id in the |
| 1191 |
ARRAY_STRUCTURE_LIST_SECTION category. |
| 1192 |
; |
| 1193 |
_name.category_id array_structure_list |
| 1194 |
_name.object_id array_section_id |
| 1195 |
_name.linked_item_id '_array_structure_list_section.id' |
| 1196 |
_type.purpose Link |
| 1197 |
_type.source Related |
| 1198 |
_type.container Single |
| 1199 |
_type.contents Code |
| 1200 |
|
| 1201 |
save_ |
| 1202 |
|
| 1203 |
|
| 1204 |
save__array_structure_list.axis_set_id |
| 1205 |
|
| 1206 |
_definition.id '_array_structure_list.axis_set_id' |
| 1207 |
_definition.update 2014-07-07 |
| 1208 |
_description.text |
| 1209 |
; |
| 1210 |
This is a descriptor for the physical axis or set of axes |
| 1211 |
corresponding to an array index. |
| 1212 |
This data item is related to the axes of the detector |
| 1213 |
itself given in DIFFRN_DETECTOR_AXIS, but usually differs |
| 1214 |
in that the axes in this category are the axes of the |
| 1215 |
coordinate system of reported data points, while the axes in |
| 1216 |
DIFFRN_DETECTOR_AXIS are the physical axes |
| 1217 |
of the detector describing the 'poise' of the detector as an |
| 1218 |
overall physical object. |
| 1219 |
If there is only one axis in the set, the identifier of |
| 1220 |
that axis should be used as the identifier of the set. |
| 1221 |
; |
| 1222 |
_name.category_id array_structure_list |
| 1223 |
_name.object_id axis_set_id |
| 1224 |
_type.purpose Encode |
| 1225 |
_type.source Assigned |
| 1226 |
_type.container Single |
| 1227 |
_type.contents Code |
| 1228 |
|
| 1229 |
save_ |
| 1230 |
|
| 1231 |
|
| 1232 |
save__array_structure_list.dimension |
| 1233 |
|
| 1234 |
_definition.id '_array_structure_list.dimension' |
| 1235 |
_definition.update 2014-07-07 |
| 1236 |
_description.text |
| 1237 |
; |
| 1238 |
The number of elements stored in the array structure in |
| 1239 |
this dimension. |
| 1240 |
; |
| 1241 |
_name.category_id array_structure_list |
| 1242 |
_name.object_id dimension |
| 1243 |
_type.purpose Number |
| 1244 |
_type.source Derived |
| 1245 |
_type.container Single |
| 1246 |
_type.contents Count |
| 1247 |
|
| 1248 |
save_ |
| 1249 |
|
| 1250 |
|
| 1251 |
save__array_structure_list.direction |
| 1252 |
|
| 1253 |
_definition.id '_array_structure_list.direction' |
| 1254 |
_definition.update 2014-07-07 |
| 1255 |
_description.text |
| 1256 |
; |
| 1257 |
Identifies the direction in which this array index changes. |
| 1258 |
; |
| 1259 |
_name.category_id array_structure_list |
| 1260 |
_name.object_id direction |
| 1261 |
_type.purpose State |
| 1262 |
_type.source Assigned |
| 1263 |
_type.container Single |
| 1264 |
_type.contents Code |
| 1265 |
loop_ |
| 1266 |
_enumeration_set.state |
| 1267 |
_enumeration_set.detail |
| 1268 |
increasing ' Indicates the index changes from 1 to the maximum dimension.' |
| 1269 |
decreasing ' Indicates the index changes from the maximum dimension to 1.' |
| 1270 |
|
| 1271 |
save_ |
| 1272 |
|
| 1273 |
|
| 1274 |
save__array_structure_list.id |
| 1275 |
|
| 1276 |
_definition.id '_array_structure_list.id' |
| 1277 |
_name.object_id id |
| 1278 |
_name.category_id array_structure_list |
| 1279 |
_definition.class Datum |
| 1280 |
_description.text 'PLEASE DEFINE ME' |
| 1281 |
_type.purpose Key |
| 1282 |
_type.source Derived |
| 1283 |
_type.container Multiple |
| 1284 |
_type.contents Code |
| 1285 |
loop_ |
| 1286 |
_method.purpose |
| 1287 |
_method.expression |
| 1288 |
Evaluation |
| 1289 |
; |
| 1290 |
_array_structure_list.id = [_array_structure_list.array_id, _array_structure_list.index] |
| 1291 |
|
| 1292 |
; |
| 1293 |
|
| 1294 |
save_ |
| 1295 |
|
| 1296 |
|
| 1297 |
save__array_structure_list.index |
| 1298 |
|
| 1299 |
_definition.id '_array_structure_list.index' |
| 1300 |
_definition.update 2014-07-07 |
| 1301 |
_description.text |
| 1302 |
; |
| 1303 |
Identifies the one-based index of the row or column in the |
| 1304 |
array structure. |
| 1305 |
; |
| 1306 |
_name.category_id array_structure_list |
| 1307 |
_name.object_id index |
| 1308 |
_type.purpose Number |
| 1309 |
_type.source Derived |
| 1310 |
_type.container Single |
| 1311 |
_type.contents Integer |
| 1312 |
_enumeration.range 1: |
| 1313 |
|
| 1314 |
save_ |
| 1315 |
|
| 1316 |
|
| 1317 |
save__array_structure_list.precedence |
| 1318 |
|
| 1319 |
_definition.id '_array_structure_list.precedence' |
| 1320 |
_definition.update 2014-07-07 |
| 1321 |
_description.text |
| 1322 |
; |
| 1323 |
Identifies the rank order in which this array index changes |
| 1324 |
with respect to other array indices. The precedence of 1 |
| 1325 |
indicates the index which changes fastest. |
| 1326 |
; |
| 1327 |
_name.category_id array_structure_list |
| 1328 |
_name.object_id precedence |
| 1329 |
_type.purpose Number |
| 1330 |
_type.source Derived |
| 1331 |
_type.container Single |
| 1332 |
_type.contents Integer |
| 1333 |
_enumeration.range 1: |
| 1334 |
|
| 1335 |
save_ |
| 1336 |
|
| 1337 |
|
| 1338 |
save_ARRAY_STRUCTURE_LIST_AXIS |
| 1339 |
|
| 1340 |
_definition.id ARRAY_STRUCTURE_LIST_AXIS |
| 1341 |
_definition.scope Category |
| 1342 |
_definition.class Loop |
| 1343 |
_definition.update 2014-07-07 |
| 1344 |
_description.text |
| 1345 |
; |
| 1346 |
Data items in the ARRAY_STRUCTURE_LIST_AXIS category describe |
| 1347 |
the physical settings of sets of axes for the centres of pixels that |
| 1348 |
correspond to data points described in the |
| 1349 |
ARRAY_STRUCTURE_LIST category. |
| 1350 |
In the simplest cases, the physical increments of a single axis correspond |
| 1351 |
to the increments of a single array index. More complex organizations, |
| 1352 |
e.g. spiral scans, may require coupled motions along multiple axes. |
| 1353 |
Note that a spiral scan uses two coupled axes: one for the angular |
| 1354 |
direction and one for the radial direction. This differs from a |
| 1355 |
cylindrical scan for which the two axes are not coupled into one |
| 1356 |
set. |
| 1357 |
Axes may be specified wither for an entire array or for just a section |
| 1358 |
of an array. |
| 1359 |
; |
| 1360 |
_name.category_id DEMO_DIC_HEAD |
| 1361 |
_name.object_id ARRAY_STRUCTURE_LIST_AXIS |
| 1362 |
_category.key_id '_array_structure_list_axis.id' |
| 1363 |
loop_ |
| 1364 |
_category_key.name '_array_structure_list_axis.axis_set_id' |
| 1365 |
'_array_structure_list_axis.axis_id' |
| 1366 |
|
| 1367 |
save_ |
| 1368 |
|
| 1369 |
|
| 1370 |
save__array_structure_list_axis.angle |
| 1371 |
|
| 1372 |
_definition.id '_array_structure_list_axis.angle' |
| 1373 |
_definition.update 2014-07-07 |
| 1374 |
_description.text |
| 1375 |
; |
| 1376 |
The setting of the specified axis in degrees for the first |
| 1377 |
data point of the array index with the corresponding value |
| 1378 |
of _array_structure_list.axis_set_id. If the index is |
| 1379 |
specified as 'increasing', this will be the centre of the |
| 1380 |
pixel with index value 1. If the index is specified as |
| 1381 |
'decreasing', this will be the centre of the pixel with |
| 1382 |
maximum index value. |
| 1383 |
; |
| 1384 |
_name.category_id array_structure_list_axis |
| 1385 |
_name.object_id angle |
| 1386 |
_type.purpose Number |
| 1387 |
_type.source Derived |
| 1388 |
_type.container Single |
| 1389 |
_type.contents Real |
| 1390 |
_enumeration.default 0.0 |
| 1391 |
_units.code degrees |
| 1392 |
|
| 1393 |
save_ |
| 1394 |
|
| 1395 |
|
| 1396 |
save__array_structure_list_axis.angle_increment |
| 1397 |
|
| 1398 |
_definition.id '_array_structure_list_axis.angle_increment' |
| 1399 |
_definition.update 2014-07-07 |
| 1400 |
_description.text |
| 1401 |
; |
| 1402 |
The pixel-centre-to-pixel-centre increment in the angular |
| 1403 |
setting of the specified axis in degrees. This is not |
| 1404 |
meaningful in the case of 'constant velocity' spiral scans |
| 1405 |
and should not be specified for this case. |
| 1406 |
See _array_structure_list_axis.angular_pitch. |
| 1407 |
; |
| 1408 |
_name.category_id array_structure_list_axis |
| 1409 |
_name.object_id angle_increment |
| 1410 |
_type.purpose Number |
| 1411 |
_type.source Derived |
| 1412 |
_type.container Single |
| 1413 |
_type.contents Real |
| 1414 |
_enumeration.default 0.0 |
| 1415 |
_units.code degrees |
| 1416 |
|
| 1417 |
save_ |
| 1418 |
|
| 1419 |
|
| 1420 |
save__array_structure_list_axis.angular_pitch |
| 1421 |
|
| 1422 |
_definition.id '_array_structure_list_axis.angular_pitch' |
| 1423 |
_definition.update 2014-07-07 |
| 1424 |
_description.text |
| 1425 |
; |
| 1426 |
The pixel-centre-to-pixel-centre distance for a one-step |
| 1427 |
change in the setting of the specified axis in millimetres. |
| 1428 |
This is meaningful only for 'constant velocity' spiral scans |
| 1429 |
or for uncoupled angular scans at a constant radius |
| 1430 |
(cylindrical scans) and should not be specified for cases |
| 1431 |
in which the angle between pixels (rather than the distance |
| 1432 |
between pixels) is uniform. |
| 1433 |
See _array_structure_list_axis.angle_increment. |
| 1434 |
; |
| 1435 |
_name.category_id array_structure_list_axis |
| 1436 |
_name.object_id angular_pitch |
| 1437 |
_type.purpose Number |
| 1438 |
_type.source Derived |
| 1439 |
_type.container Single |
| 1440 |
_type.contents Real |
| 1441 |
_enumeration.default 0.0 |
| 1442 |
_units.code millimetres |
| 1443 |
|
| 1444 |
save_ |
| 1445 |
|
| 1446 |
|
| 1447 |
save__array_structure_list_axis.axis_id |
| 1448 |
|
| 1449 |
_definition.id '_array_structure_list_axis.axis_id' |
| 1450 |
_definition.update 2014-07-07 |
| 1451 |
_description.text |
| 1452 |
; |
| 1453 |
The value of this data item is the identifier of one of |
| 1454 |
the axes in the set of axes for which settings are being specified. |
| 1455 |
Multiple axes may be specified for the same value of |
| 1456 |
_array_structure_list_axis.axis_set_id. |
| 1457 |
This item is a pointer to _axis.id in the AXIS category. |
| 1458 |
; |
| 1459 |
_name.category_id array_structure_list_axis |
| 1460 |
_name.object_id axis_id |
| 1461 |
_name.linked_item_id '_axis.id' |
| 1462 |
_type.purpose Link |
| 1463 |
_type.source Related |
| 1464 |
_type.container Single |
| 1465 |
_type.contents Code |
| 1466 |
|
| 1467 |
save_ |
| 1468 |
|
| 1469 |
|
| 1470 |
save__array_structure_list_axis.axis_set_id |
| 1471 |
|
| 1472 |
_definition.id '_array_structure_list_axis.axis_set_id' |
| 1473 |
_definition.update 2014-07-07 |
| 1474 |
_description.text |
| 1475 |
; |
| 1476 |
The value of this data item is the identifier of the |
| 1477 |
set of axes for which axis settings are being specified. |
| 1478 |
Multiple axes may be specified for the same value of |
| 1479 |
_array_structure_list_axis.axis_set_id. |
| 1480 |
This item is a pointer to _array_structure_list.axis_set_id |
| 1481 |
in the ARRAY_STRUCTURE_LIST category. |
| 1482 |
If this item is not specified, it defaults to the corresponding |
| 1483 |
axis identifier. |
| 1484 |
; |
| 1485 |
_name.category_id array_structure_list_axis |
| 1486 |
_name.object_id axis_set_id |
| 1487 |
_name.linked_item_id '_array_structure_list.axis_set_id' |
| 1488 |
_type.purpose Link |
| 1489 |
_type.source Related |
| 1490 |
_type.container Single |
| 1491 |
_type.contents Code |
| 1492 |
|
| 1493 |
save_ |
| 1494 |
|
| 1495 |
|
| 1496 |
save__array_structure_list_axis.displacement |
| 1497 |
|
| 1498 |
_definition.id '_array_structure_list_axis.displacement' |
| 1499 |
_definition.update 2014-07-07 |
| 1500 |
_description.text |
| 1501 |
; |
| 1502 |
The setting of the specified axis in millimetres for the first |
| 1503 |
data point of the array index with the corresponding value |
| 1504 |
of _array_structure_list.axis_set_id. If the index is |
| 1505 |
specified as 'increasing', this will be the centre of the |
| 1506 |
pixel with index value 1. If the index is specified as |
| 1507 |
'decreasing', this will be the centre of the pixel with |
| 1508 |
maximum index value. |
| 1509 |
; |
| 1510 |
_name.category_id array_structure_list_axis |
| 1511 |
_name.object_id displacement |
| 1512 |
_type.purpose Number |
| 1513 |
_type.source Derived |
| 1514 |
_type.container Single |
| 1515 |
_type.contents Real |
| 1516 |
_enumeration.default 0.0 |
| 1517 |
_units.code millimetres |
| 1518 |
|
| 1519 |
save_ |
| 1520 |
|
| 1521 |
|
| 1522 |
save__array_structure_list_axis.displacement_increment |
| 1523 |
|
| 1524 |
_definition.id '_array_structure_list_axis.displacement_increment' |
| 1525 |
_definition.update 2014-07-07 |
| 1526 |
_description.text |
| 1527 |
; |
| 1528 |
The pixel-centre-to-pixel-centre increment for the displacement |
| 1529 |
setting of the specified axis in millimetres. |
| 1530 |
; |
| 1531 |
_name.category_id array_structure_list_axis |
| 1532 |
_name.object_id displacement_increment |
| 1533 |
_type.purpose Number |
| 1534 |
_type.source Derived |
| 1535 |
_type.container Single |
| 1536 |
_type.contents Real |
| 1537 |
_enumeration.default 0.0 |
| 1538 |
_units.code millimetres |
| 1539 |
|
| 1540 |
save_ |
| 1541 |
|
| 1542 |
|
| 1543 |
save__array_structure_list_axis.fract_displacement |
| 1544 |
|
| 1545 |
_definition.id '_array_structure_list_axis.fract_displacement' |
| 1546 |
_definition.update 2014-07-07 |
| 1547 |
_description.text |
| 1548 |
; |
| 1549 |
The setting of the specified axis as a decimal fraction of |
| 1550 |
the axis unit vector for the first data point of the array index |
| 1551 |
with the corresponding value of _array_structure_list.axis_set_id. |
| 1552 |
If the index is specified as 'increasing', this will be the |
| 1553 |
centre of the pixel with index value 1. If the index is |
| 1554 |
specified as 'decreasing', this will be the centre of the |
| 1555 |
pixel with maximum index value. |
| 1556 |
; |
| 1557 |
_name.category_id array_structure_list_axis |
| 1558 |
_name.object_id fract_displacement |
| 1559 |
_type.purpose Number |
| 1560 |
_type.source Derived |
| 1561 |
_type.container Single |
| 1562 |
_type.contents Real |
| 1563 |
_enumeration.default 0.0 |
| 1564 |
|
| 1565 |
save_ |
| 1566 |
|
| 1567 |
|
| 1568 |
save__array_structure_list_axis.fract_displacement_increment |
| 1569 |
|
| 1570 |
_definition.id '_array_structure_list_axis.fract_displacement_increment' |
| 1571 |
_definition.update 2014-07-07 |
| 1572 |
_description.text |
| 1573 |
; |
| 1574 |
The pixel-centre-to-pixel-centre increment for the displacement |
| 1575 |
setting of the specified axis as a decimal fraction of the |
| 1576 |
axis unit vector. |
| 1577 |
; |
| 1578 |
_name.category_id array_structure_list_axis |
| 1579 |
_name.object_id fract_displacement_increment |
| 1580 |
_type.purpose Number |
| 1581 |
_type.source Derived |
| 1582 |
_type.container Single |
| 1583 |
_type.contents Real |
| 1584 |
_enumeration.default 0.0 |
| 1585 |
_units.code millimetres |
| 1586 |
|
| 1587 |
save_ |
| 1588 |
|
| 1589 |
|
| 1590 |
save__array_structure_list_axis.id |
| 1591 |
|
| 1592 |
_definition.id '_array_structure_list_axis.id' |
| 1593 |
_definition.update 2014-07-07 |
| 1594 |
_description.text |
| 1595 |
; |
| 1596 |
The value of this data item is a unique identifier to the items |
| 1597 |
in this category. |
| 1598 |
; |
| 1599 |
_name.category_id array_structure_list_axis |
| 1600 |
_name.object_id id |
| 1601 |
_type.purpose Key |
| 1602 |
_type.source Assigned |
| 1603 |
_type.container List |
| 1604 |
_type.contents Text |
| 1605 |
loop_ |
| 1606 |
_method.purpose |
| 1607 |
_method.expression |
| 1608 |
Evaluation |
| 1609 |
; |
| 1610 |
_array_structure_list_axis.id = [_array_structure_list_axis.axis_set_id, |
| 1611 |
_array_structure_list_axis.axis_id] |
| 1612 |
|
| 1613 |
; |
| 1614 |
|
| 1615 |
save_ |
| 1616 |
|
| 1617 |
|
| 1618 |
save__array_structure_list_axis.radial_pitch |
| 1619 |
|
| 1620 |
_definition.id '_array_structure_list_axis.radial_pitch' |
| 1621 |
_definition.update 2014-07-07 |
| 1622 |
_description.text |
| 1623 |
; |
| 1624 |
The radial distance from one 'cylinder' of pixels to the |
| 1625 |
next in millimetres. If the scan is a 'constant velocity' |
| 1626 |
scan with differing angular displacements between pixels, |
| 1627 |
the value of this item may differ significantly from the |
| 1628 |
value of _array_structure_list_axis.displacement_increment. |
| 1629 |
; |
| 1630 |
_name.category_id array_structure_list_axis |
| 1631 |
_name.object_id radial_pitch |
| 1632 |
_type.purpose Number |
| 1633 |
_type.source Derived |
| 1634 |
_type.container Single |
| 1635 |
_type.contents Real |
| 1636 |
_enumeration.default 0.0 |
| 1637 |
_units.code millimetres |
| 1638 |
|
| 1639 |
save_ |
| 1640 |
|
| 1641 |
|
| 1642 |
save__array_structure_list_axis.reference_angle |
| 1643 |
|
| 1644 |
_definition.id '_array_structure_list_axis.reference_angle' |
| 1645 |
_definition.update 2014-07-07 |
| 1646 |
_description.text |
| 1647 |
; |
| 1648 |
The value of _array_structure_list_axis.reference_angle |
| 1649 |
specifies the setting of the angle of this axis used for |
| 1650 |
determining a reference beam center and a reference detector |
| 1651 |
distance. It is normally expected to be identical to the |
| 1652 |
value of _array_structure_list_axis.angle. |
| 1653 |
; |
| 1654 |
_name.category_id array_structure_list_axis |
| 1655 |
_name.object_id reference_angle |
| 1656 |
_type.purpose Number |
| 1657 |
_type.source Derived |
| 1658 |
_type.container Single |
| 1659 |
_type.contents Real |
| 1660 |
_units.code degrees |
| 1661 |
|
| 1662 |
save_ |
| 1663 |
|
| 1664 |
|
| 1665 |
save__array_structure_list_axis.reference_displacement |
| 1666 |
|
| 1667 |
_definition.id '_array_structure_list_axis.reference_displacement' |
| 1668 |
_definition.update 2014-07-07 |
| 1669 |
_description.text |
| 1670 |
; |
| 1671 |
The value of _array_structure_list_axis.reference_displacement |
| 1672 |
specifies the setting of the displacement of this axis used |
| 1673 |
for determining a reference beam center and a reference detector |
| 1674 |
distance. It is normally expected to be identical to the value |
| 1675 |
of _array_structure_list_axis.displacement. |
| 1676 |
; |
| 1677 |
_name.category_id array_structure_list_axis |
| 1678 |
_name.object_id reference_displacement |
| 1679 |
_type.purpose Number |
| 1680 |
_type.source Derived |
| 1681 |
_type.container Single |
| 1682 |
_type.contents Real |
| 1683 |
_units.code millimetres |
| 1684 |
|
| 1685 |
save_ |
| 1686 |
|
| 1687 |
|
| 1688 |
save__array_structure_list_axis.variant |
| 1689 |
|
| 1690 |
_definition.id '_array_structure_list_axis.variant' |
| 1691 |
_definition.update 2014-07-07 |
| 1692 |
_description.text |
| 1693 |
; |
| 1694 |
The value of _array_structure_list_axis.variant gives the variant |
| 1695 |
to which the given ARRAY_STRUCTURE_LIST_AXIS row is related. |
| 1696 |
If this value is not given, the variant is assumed to the default |
| 1697 |
null variant. This item is a pointer to _variant.variant in the |
| 1698 |
VARIANT category. |
| 1699 |
; |
| 1700 |
_name.category_id array_structure_list_axis |
| 1701 |
_name.object_id variant |
| 1702 |
_name.linked_item_id '_variant.variant' |
| 1703 |
_type.purpose Link |
| 1704 |
_type.source Related |
| 1705 |
_type.container Single |
| 1706 |
_type.contents Code |
| 1707 |
|
| 1708 |
save_ |
| 1709 |
|
| 1710 |
|
| 1711 |
save_ARRAY_STRUCTURE_LIST_SECTION |
| 1712 |
|
| 1713 |
_definition.id ARRAY_STRUCTURE_LIST_SECTION |
| 1714 |
_definition.scope Category |
| 1715 |
_definition.class Loop |
| 1716 |
_definition.update 2014-07-07 |
| 1717 |
_description.text |
| 1718 |
; |
| 1719 |
Data items in the ARRAY_STRUCTURE_LIST_SECTION category identify |
| 1720 |
the dimension-by-dimension start, end and stride of each section of an |
| 1721 |
array that is to be referenced. |
| 1722 |
For any array of array_id, ARRAYID, array section ids of the form |
| 1723 |
ARRAYID(start1:end1:stride1,start2:end2:stride2, ...) are defined |
| 1724 |
by default. |
| 1725 |
For the given index, the elements in |
| 1726 |
the section are of indices: _array_structure_list_section.start, |
| 1727 |
_array_structure_list_section.start |
| 1728 |
+_array_structure_list_section.stride, |
| 1729 |
_array_structure_list_section.start |
| 1730 |
+2*_array_structure_list_section.stride, |
| 1731 |
... |
| 1732 |
stopping either when the indices leave the limits of the indices |
| 1733 |
of that dimension |
| 1734 |
or [min(_array_structure_list_section.start, |
| 1735 |
_array_structure_list_section.end), |
| 1736 |
max(_array_structure_list_section.start, |
| 1737 |
_array_structure_list_section.end)]. |
| 1738 |
|
| 1739 |
The ordering of these elements is determined by the overall ordering of |
| 1740 |
_array_structure_list_section.array_id and not by the ordering implied |
| 1741 |
by the stride. |
| 1742 |
; |
| 1743 |
_name.category_id DEMO_DIC_HEAD |
| 1744 |
_name.object_id ARRAY_STRUCTURE_LIST_SECTION |
| 1745 |
_category.key_id '_array_structure_list_section.key' |
| 1746 |
loop_ |
| 1747 |
_category_key.name |
| 1748 |
'_array_structure_list_section.id' |
| 1749 |
'_array_structure_list_section.array_id' |
| 1750 |
'_array_structure_list_section.index' |
| 1751 |
|
| 1752 |
save_ |
| 1753 |
|
| 1754 |
|
| 1755 |
save__array_structure_list_section.array_id |
| 1756 |
|
| 1757 |
_definition.id '_array_structure_list_section.array_id' |
| 1758 |
_definition.update 2014-07-07 |
| 1759 |
_description.text |
| 1760 |
; |
| 1761 |
This item is a pointer to _array_structure.id in the |
| 1762 |
ARRAY_STRUCTURE category. |
| 1763 |
; |
| 1764 |
_name.category_id array_structure_list_section |
| 1765 |
_name.object_id array_id |
| 1766 |
_name.linked_item_id '_array_structure.id' |
| 1767 |
_type.purpose Link |
| 1768 |
_type.source Related |
| 1769 |
_type.container Single |
| 1770 |
_type.contents Code |
| 1771 |
|
| 1772 |
save_ |
| 1773 |
|
| 1774 |
|
| 1775 |
save__array_structure_list_section.end |
| 1776 |
|
| 1777 |
_definition.id '_array_structure_list_section.end' |
| 1778 |
_definition.update 2014-07-07 |
| 1779 |
_description.text |
| 1780 |
; |
| 1781 |
Identifies the ending ordinal, numbered from 1, for an array |
| 1782 |
element of index _array_structure_list_section.index in the section. |
| 1783 |
The value defaults to the dimension for index |
| 1784 |
_array_structure_list_section.index of the array. |
| 1785 |
Note that this agrees with the Fortran convention, rather than |
| 1786 |
the Python convention in that, if compatible with the stride, |
| 1787 |
the end element is included in the section as in Fortran, rather |
| 1788 |
than being one beyond the section as in Python. |
| 1789 |
; |
| 1790 |
_name.category_id array_structure_list_section |
| 1791 |
_name.object_id end |
| 1792 |
_name.linked_item_id '_array_structure_list.index' |
| 1793 |
_type.purpose Link |
| 1794 |
_type.source Related |
| 1795 |
_type.container Single |
| 1796 |
_type.contents Code |
| 1797 |
_enumeration.range 1: |
| 1798 |
|
| 1799 |
save_ |
| 1800 |
|
| 1801 |
|
| 1802 |
save__array_structure_list_section.id |
| 1803 |
|
| 1804 |
_definition.id '_array_structure_list_section.id' |
| 1805 |
_definition.update 2014-07-07 |
| 1806 |
_description.text |
| 1807 |
; |
| 1808 |
Uniquely identifies the array section chosen. |
| 1809 |
To avoid confusion array section IDs that contain parentheses |
| 1810 |
should conform to the default syntax |
| 1811 |
ARRAYID(start1:end1:stride1,start2:end2:stride2, ...) |
| 1812 |
; |
| 1813 |
_name.category_id array_structure_list_section |
| 1814 |
_name.object_id id |
| 1815 |
_type.purpose Encode |
| 1816 |
_type.source Assigned |
| 1817 |
_type.container Single |
| 1818 |
_type.contents Code |
| 1819 |
|
| 1820 |
save_ |
| 1821 |
|
| 1822 |
|
| 1823 |
save__array_structure_list_section.index |
| 1824 |
|
| 1825 |
_definition.id '_array_structure_list_section.index' |
| 1826 |
_definition.update 2014-07-07 |
| 1827 |
_description.text |
| 1828 |
; |
| 1829 |
This item is a pointer to _array_structure_list.index |
| 1830 |
in the ARRAY_STRUCTURE_LIST category. |
| 1831 |
Identifies the one-based index of the row, column, sheet ... |
| 1832 |
the ARRAY_STRUCTURE_LIST category. |
| 1833 |
For a multidimensional array, a value must be explicitly given. |
| 1834 |
If an index is omitted from section then all elements for that |
| 1835 |
index are assumed to be included in the section. |
| 1836 |
; |
| 1837 |
_name.category_id array_structure_list_section |
| 1838 |
_name.object_id index |
| 1839 |
_type.purpose Number |
| 1840 |
_type.source Derived |
| 1841 |
_type.container Single |
| 1842 |
_type.contents Integer |
| 1843 |
_enumeration.range 1: |
| 1844 |
|
| 1845 |
save_ |
| 1846 |
|
| 1847 |
|
| 1848 |
save__array_structure_list_section.start |
| 1849 |
|
| 1850 |
_definition.id '_array_structure_list_section.start' |
| 1851 |
_definition.update 2014-07-07 |
| 1852 |
_description.text |
| 1853 |
; |
| 1854 |
Identifies the starting ordinal, numbered from 1, |
| 1855 |
for an array element of index _array_structure_list_section.index |
| 1856 |
in the section. |
| 1857 |
The value defaults to 1. For the given index, the elements in |
| 1858 |
the section are of indices: _array_structure_list_section.start, |
| 1859 |
_array_structure_list_section.start |
| 1860 |
+_array_structure_list_section.stride, |
| 1861 |
_array_structure_list_section.start |
| 1862 |
+2*_array_structure_list_section.stride, |
| 1863 |
... |
| 1864 |
stopping either when the indices leave the limits of the indices |
| 1865 |
or [min(_array_structure_list_section.start, |
| 1866 |
_array_structure_list_section.end), |
| 1867 |
max(_array_structure_list_section.start, |
| 1868 |
_array_structure_list_section.end)]. |
| 1869 |
The ordering of these elements is determined by the overall order |
| 1870 |
_array_structure_list_section.array_id and not by the ordering im |
| 1871 |
stride. |
| 1872 |
; |
| 1873 |
_name.category_id array_structure_list_section |
| 1874 |
_name.object_id start |
| 1875 |
_type.purpose Number |
| 1876 |
_type.source Derived |
| 1877 |
_type.container Single |
| 1878 |
_type.contents Integer |
| 1879 |
_enumeration.range 1: |
| 1880 |
|
| 1881 |
save_ |
| 1882 |
|
| 1883 |
|
| 1884 |
save__array_structure_list_section.stride |
| 1885 |
|
| 1886 |
_definition.id '_array_structure_list_section.stride' |
| 1887 |
_definition.update 2014-07-07 |
| 1888 |
_description.text |
| 1889 |
; |
| 1890 |
Identifies the incremental steps to be taken when moving |
| 1891 |
element to element in the section in that particular |
| 1892 |
dimension. The value of _array_structure_list_section.stride may |
| 1893 |
positive or negative. If the stride is zero, the section is |
| 1894 |
just defined by _array_structure_list_section.start. |
| 1895 |
; |
| 1896 |
_name.category_id array_structure_list_section |
| 1897 |
_name.object_id stride |
| 1898 |
_type.purpose Number |
| 1899 |
_type.source Derived |
| 1900 |
_type.container Single |
| 1901 |
_type.contents Integer |
| 1902 |
_enumeration.default 1 |
| 1903 |
|
| 1904 |
save_ |
| 1905 |
|
| 1906 |
|
| 1907 |
save_AXIS |
| 1908 |
|
| 1909 |
_definition.id AXIS |
| 1910 |
_definition.scope Category |
| 1911 |
_definition.class Loop |
| 1912 |
_definition.update 2014-07-07 |
| 1913 |
_description.text |
| 1914 |
; |
| 1915 |
Data items in the AXIS category record the information required |
| 1916 |
to describe the various goniometer, detector, source and other |
| 1917 |
axes needed to specify a data collection or the axes defining the |
| 1918 |
coordinate system of an image. |
| 1919 |
|
| 1920 |
The location of each axis is specified by two vectors: the axis |
| 1921 |
itself, given by a unit vector in the direction of the axis, and |
| 1922 |
an offset to the base of the unit vector. |
| 1923 |
|
| 1924 |
The vectors defining an axis are referenced to an appropriate |
| 1925 |
coordinate system. The axis vector, itself, is a dimensionless |
| 1926 |
unit vector. Where meaningful, the offset vector is given in |
| 1927 |
millimetres. In coordinate systems not measured in metres, |
| 1928 |
the offset is not specified and is taken as zero. |
| 1929 |
|
| 1930 |
The available coordinate systems are: |
| 1931 |
|
| 1932 |
The imgCIF standard laboratory coordinate system |
| 1933 |
The direct lattice (fractional atomic coordinates) |
| 1934 |
The orthogonal Cartesian coordinate system (real space) |
| 1935 |
The reciprocal lattice |
| 1936 |
An abstract orthogonal Cartesian coordinate frame |
| 1937 |
|
| 1938 |
For consistency in this discussion, we call the three coordinate |
| 1939 |
system axes X, Y and Z. This is appropriate for the imgCIF |
| 1940 |
standard laboratory coordinate system, and last two Cartesian |
| 1941 |
coordinate systems, but for the direct lattice, X corresponds |
| 1942 |
to a, Y to b and Z to c, while for the reciprocal lattice, |
| 1943 |
X corresponds to a*, Y to b* and Z to c*. |
| 1944 |
|
| 1945 |
For purposes of visualization, all the coordinate systems are |
| 1946 |
taken as right-handed, i.e., using the convention that the extended |
| 1947 |
thumb of a right hand could point along the first (X) axis, the |
| 1948 |
straightened pointer finger could point along the second (Y) axis |
| 1949 |
and the middle finger folded inward could point along the third (Z) |
| 1950 |
axis. |
| 1951 |
|
| 1952 |
THE IMGCIF STANDARD LABORATORY COORDINATE SYSTEM |
| 1953 |
|
| 1954 |
The imgCIF standard laboratory coordinate system is a right-handed |
| 1955 |
orthogonal coordinate similar to the MOSFLM coordinate system, |
| 1956 |
but imgCIF puts Z along the X-ray beam, rather than putting X along the |
| 1957 |
X-ray beam as in MOSFLM. |
| 1958 |
|
| 1959 |
The vectors for the imgCIF standard laboratory coordinate system |
| 1960 |
form a right-handed Cartesian coordinate system with its origin |
| 1961 |
in the sample or specimen. The origin of the axis system should, |
| 1962 |
if possible, be defined in terms of mechanically stable axes to be |
| 1963 |
be both in the sample and in the beam. If the sample goniometer or other |
| 1964 |
sample positioner has two axes the intersection of which defines a |
| 1965 |
unique point at which the sample should be mounted to be bathed |
| 1966 |
by the beam, that will be the origin of the axis system. If no such |
| 1967 |
point is defined, then the midpoint of the line of intersection |
| 1968 |
between the sample and the center of the beam will define the origin. |
| 1969 |
For this definition the sample positioning system will be set at |
| 1970 |
its initial reference position for the experiment. |
| 1971 |
|
| 1972 |
|
| 1973 |
| Y (to complete right-handed system) |
| 1974 |
| |
| 1975 |
| |
| 1976 |
| |
| 1977 |
| |
| 1978 |
| |
| 1979 |
|________________X |
| 1980 |
/ principal goniometer axis |
| 1981 |
/ |
| 1982 |
/ |
| 1983 |
/ |
| 1984 |
/ |
| 1985 |
/Z (to source) |
| 1986 |
|
| 1987 |
|
| 1988 |
Axis 1 (X): The X-axis is aligned to the mechanical axis pointing from |
| 1989 |
the sample or specimen along the principal axis of the goniometer or |
| 1990 |
sample positioning system if the sample positioning system has an axis |
| 1991 |
that intersects the origin and which form an angle of more than 22.5 |
| 1992 |
degrees with the beam axis. |
| 1993 |
|
| 1994 |
Axis 2 (Y): The Y-axis completes an orthogonal right-handed system |
| 1995 |
defined by the X-axis and the Z-axis (see below). |
| 1996 |
|
| 1997 |
Axis 3 (Z): The Z-axis is derived from the source axis which goes from |
| 1998 |
the sample to the source. The Z-axis is the component of the source axis |
| 1999 |
in the direction of the source orthogonal to the X-axis in the plane |
| 2000 |
defined by the X-axis and the source axis. |
| 2001 |
|
| 2002 |
If the conditions for the X-axis can be met, the coordinate system |
| 2003 |
will be based on the goniometer or other sample positioning system |
| 2004 |
and the beam and not on the orientation of the detector, gravity etc. |
| 2005 |
The vectors necessary to specify all other axes are given by sets of |
| 2006 |
three components in the order (X, Y, Z). |
| 2007 |
If the axis involved is a rotation axis, it is right-handed, i.e. as |
| 2008 |
one views the object to be rotated from the origin (the tail) of the |
| 2009 |
unit vector, the rotation is clockwise. If a translation axis is |
| 2010 |
specified, the direction of the unit vector specifies the sense of |
| 2011 |
positive translation. |
| 2012 |
|
| 2013 |
Note: This choice of coordinate system is similar to but significantly |
| 2014 |
different from the choice in MOSFLM (Leslie & Powell, 2004). In MOSFLM, |
| 2015 |
X is along the X-ray beam (the CBF/imgCIF Z axis) and Z is along the |
| 2016 |
rotation axis. |
| 2017 |
|
| 2018 |
In some experimental techniques, there is no goniometer or the principal |
| 2019 |
axis of the goniometer is at a small acute angle with respect to |
| 2020 |
the source axis. In such cases, other reference axes are needed |
| 2021 |
to define a useful coordinate system. The order of priority in |
| 2022 |
defining directions in such cases is to use the detector, then |
| 2023 |
gravity, then north. |
| 2024 |
|
| 2025 |
|
| 2026 |
If the X-axis cannot be defined as above, then the |
| 2027 |
direction (not the origin) of the X-axis should be parallel to the axis |
| 2028 |
of the primary detector element corresponding to the most rapidly |
| 2029 |
varying dimension of that detector element's data array, with its |
| 2030 |
positive sense corresponding to increasing values of the index for |
| 2031 |
that dimension. If the detector is such that such a direction cannot |
| 2032 |
be defined (as with a point detector) or that direction forms an |
| 2033 |
angle of less than 22.5 degrees with respect to the source axis, then |
| 2034 |
the X-axis should be chosen so that if the Y-axis is chosen |
| 2035 |
in the direction of gravity, and the Z-axis is chosen to be along |
| 2036 |
the source axis, a right-handed orthogonal coordinate system is chosen. |
| 2037 |
In the case of a vertical source axis, as a last resort, the |
| 2038 |
X-axis should be chosen to point North. |
| 2039 |
|
| 2040 |
All rotations are given in degrees and all translations are given in mm. |
| 2041 |
|
| 2042 |
Axes may be dependent on one another. The X-axis is the only goniometer |
| 2043 |
axis the direction of which is strictly connected to the hardware. All |
| 2044 |
other axes are specified by the positions they would assume when the |
| 2045 |
axes upon which they depend are at their zero points. |
| 2046 |
|
| 2047 |
When specifying detector axes, the axis is given to the beam centre. |
| 2048 |
The location of the beam centre on the detector should be given in the |
| 2049 |
DIFFRN_DETECTOR category in distortion-corrected millimetres from |
| 2050 |
the (0,0) corner of the detector. |
| 2051 |
|
| 2052 |
For convenience when describing detector element (module) placement, |
| 2053 |
and optional mounting rotation axis and rotation angle may be |
| 2054 |
specified. In such cases, the mounting rotation axis and angle |
| 2055 |
of rotation around the mounting rotation axis are applied after |
| 2056 |
applying the transformations upon which the given axis depends. |
| 2057 |
|
| 2058 |
It should be noted that many different origins arise in the definition |
| 2059 |
of an experiment. In particular, as noted above, it is necessary to |
| 2060 |
specify the location of the beam centre on the detector in terms |
| 2061 |
of the origin of the detector, which is, of course, not coincident |
| 2062 |
with the centre of the sample. |
| 2063 |
|
| 2064 |
The unit cell, reciprocal cell and crystallographic orthogonal |
| 2065 |
Cartesian coordinate system are defined by the CELL and the matrices |
| 2066 |
in the ATOM_SITES category. |
| 2067 |
|
| 2068 |
THE DIRECT LATTICE (FRACTIONAL COORDINATES) |
| 2069 |
|
| 2070 |
The direct lattice coordinate system is a system of fractional |
| 2071 |
coordinates aligned to the crystal, rather than to the laboratory. |
| 2072 |
This is a natural coordinate system for maps and atomic coordinates. |
| 2073 |
It is the simplest coordinate system in which to apply symmetry. |
| 2074 |
The axes are determined by the cell edges, and are not necessarily |
| 2075 |
othogonal. This coordinate system is not uniquely defined and |
| 2076 |
depends on the cell parameters in the CELL category and the |
| 2077 |
settings chosen to index the crystal. |
| 2078 |
|
| 2079 |
Molecules in a crystal studied by X-ray diffracraction are organized |
| 2080 |
into a repeating regular array of unit cells. Each unit cell is defined |
| 2081 |
by three vectors, a, b and c. To quote from Drenth, |
| 2082 |
|
| 2083 |
|
| 2084 |
"The choice of the unit cell is not unique and therefore, guidelines |
| 2085 |
have been established for selecting the standard basis vectors and |
| 2086 |
the origin. They are based on symmetry and metric considerations: |
| 2087 |
|
| 2088 |
"(1) The axial system should be right handed. |
| 2089 |
(2) The basis vectors should coincide as much as possible with |
| 2090 |
directions of highest symmetry." |
| 2091 |
(3) The cell taken should be the smallest one that satisfies |
| 2092 |
condition (2) |
| 2093 |
(4) Of all the lattice vectors, none is shorter than a. |
| 2094 |
(5) Of those not directed along a, none is shorter than b. |
| 2095 |
(6) Of those not lying in the ab plane, none is shorter than c. |
| 2096 |
(7) The three angles between the basis vectors a, b and c are |
| 2097 |
either all acute (<90\%) or all obtuse (>=90\%)." |
| 2098 |
|
| 2099 |
These rules do not produce a unique result that is stable under |
| 2100 |
the assumption of experimental errors, and the the resulting cell |
| 2101 |
may not be primitive. |
| 2102 |
|
| 2103 |
In this coordinate system, the vector (.5, .5, .5) is in the middle |
| 2104 |
of the given unit cell. |
| 2105 |
|
| 2106 |
Grid coordinates are an important variation on fractional coordinates |
| 2107 |
used when working with maps. In imgCIF, the conversion from |
| 2108 |
fractional to grid coordinates is implicit in the array indexing |
| 2109 |
specified by _array_structure_list.dimension. Note that this |
| 2110 |
implicit grid-coordinate scheme is 1-based, not zero-based, i.e. |
| 2111 |
the origin of the cell for axes along the cell edges with no |
| 2112 |
specified _array_structure_list_axis.displacement will have |
| 2113 |
grid coordinates of (1,1,1), i.e. array indices of (1,1,1). |
| 2114 |
|
| 2115 |
THE ORTHOGONAL CARTESIAN COORDINATE SYSTEM (REAL SPACE) |
| 2116 |
|
| 2117 |
The orthogonal Cartesian coordinate system is a transformation of |
| 2118 |
the direct lattice to the actual physical coordinates of atoms in |
| 2119 |
space. It is similar to the laboratory coordinate system, but |
| 2120 |
is anchored to and moves with the crystal, rather than being |
| 2121 |
schored to the laboratory. The transformation from fractional |
| 2122 |
to orthogonal cartesian coordinates is given by the |
| 2123 |
_atom_sites.Cartn_transf_matrix[i][j] and |
| 2124 |
_atom_sites.Cartn_transf_vector[i] |
| 2125 |
tags. A common choice for the matrix of the transformation is |
| 2126 |
given in the 1992 PDB format document |
| 2127 |
|
| 2128 |
| a b cos(\g) c cos(\b) | |
| 2129 |
| 0 b sin(\g) c (cos(\a) - cos(\b)cos(\g))/sin(\g) | |
| 2130 |
| 0 0 V/(a b sin(\g)) | |
| 2131 |
|
| 2132 |
This is a convenient coordinate system in which to do fitting |
| 2133 |
of models to maps and in which to understand the chemistry of |
| 2134 |
a molecule. |
| 2135 |
|
| 2136 |
THE RECIPROCAL LATTICE |
| 2137 |
|
| 2138 |
The reciprocal lattice coordinate system is used for diffraction |
| 2139 |
intensitities. It is based on the reciprocal cell, the dual of the cell, |
| 2140 |
in which reciprocal cell edges are derived from direct cell faces: |
| 2141 |
|
| 2142 |
a* = bc sin(\a)/V b* = ac sin(\b)/V c* = ab sin(\g)/V |
| 2143 |
cos(\a*) = (cos(\b) cos(\g) - cos(\a))/(sin(\b) sin(\g)) |
| 2144 |
cos(\b*) = (cos(\a) cos(\g) - cos(\b))/(sin(\a) sin(\g)) |
| 2145 |
cos(\g*) = (cos(\a) cos(\b) - cos(\g))/(sin(\a) sin(\b)) |
| 2146 |
V = abc SQRT(1 - cos(\a)^2^ |
| 2147 |
- cos(\b)^2^ |
| 2148 |
- cos(\g)^2^ |
| 2149 |
+ 2 cos(\a) cos(\b) cos(\g) ) |
| 2150 |
|
| 2151 |
In this form the dimensions of the reciprocal lattice are in reciprocal |
| 2152 |
\%Angstroms (\%A^-1^). A dimensionless form can be obtained by |
| 2153 |
multiplying by the wavelength. Reflections are commonly indexed against |
| 2154 |
this coordinate system as (h, k, l) triples. |
| 2155 |
|
| 2156 |
|
| 2157 |
References: |
| 2158 |
|
| 2159 |
Drenth, J., "Introduction to basic crystallography." chapter |
| 2160 |
2.1 in Rossmann, M. G. and Arnold, E. "Crystallography of |
| 2161 |
biological macromolecules", Volume F of the IUCr's "International |
| 2162 |
tables for crystallography", Kluwer, Dordrecht 2001, pp 44 -- 63 |
| 2163 |
|
| 2164 |
Leslie, A. G. W. and Powell, H. (2004). MOSFLM v6.11. |
| 2165 |
MRC Laboratory of Molecular Biology, Hills Road, Cambridge, England. |
| 2166 |
http://www.CCP4.ac.uk/dist/X-windows/Mosflm/. |
| 2167 |
|
| 2168 |
Stout, G. H. and Jensen, L. H., "X-ray structure determination", |
| 2169 |
2nd ed., Wiley, New York, 1989, 453 pp. |
| 2170 |
|
| 2171 |
__, "PROTEIN DATA BANK ATOMIC COORDINATE AND BIBLIOGRAPHIC ENTRY |
| 2172 |
FORMAT DESCRIPTION," Brookhaven National Laboratory, February 1992. |
| 2173 |
; |
| 2174 |
_name.category_id DEMO_DIC_HEAD |
| 2175 |
_name.object_id AXIS |
| 2176 |
_category.key_id '_axis.key' |
| 2177 |
loop_ |
| 2178 |
_category_key.name '_axis.id' '_axis.equipment' |
| 2179 |
|
| 2180 |
save_ |
| 2181 |
|
| 2182 |
|
| 2183 |
save__axis.depends_on |
| 2184 |
|
| 2185 |
_definition.id '_axis.depends_on' |
| 2186 |
_definition.update 2014-07-07 |
| 2187 |
_description.text |
| 2188 |
; |
| 2189 |
The value of _axis.depends_on specifies the next outermost |
| 2190 |
axis upon which this axis depends, unless |
| 2191 |
_axis.rotation_axis is specified, in which case, |
| 2192 |
_axis.rotation_axis is next outermost and _axis.depends_on |
| 2193 |
is second outermost. |
| 2194 |
This item is a pointer to _axis.id in the same category. |
| 2195 |
; |
| 2196 |
_name.category_id axis |
| 2197 |
_name.object_id depends_on |
| 2198 |
_name.linked_item_id '_axis.id' |
| 2199 |
_type.purpose Link |
| 2200 |
_type.source Related |
| 2201 |
_type.container Single |
| 2202 |
_type.contents Code |
| 2203 |
|
| 2204 |
save_ |
| 2205 |
|
| 2206 |
|
| 2207 |
save__axis.equipment |
| 2208 |
|
| 2209 |
_definition.id '_axis.equipment' |
| 2210 |
_definition.update 2014-07-07 |
| 2211 |
_description.text |
| 2212 |
; |
| 2213 |
The value of _axis.equipment specifies the type of |
| 2214 |
equipment using the axis: 'goniometer', 'detector', |
| 2215 |
'gravity', 'source' or 'general'. |
| 2216 |
; |
| 2217 |
_name.category_id axis |
| 2218 |
_name.object_id equipment |
| 2219 |
_type.purpose State |
| 2220 |
_type.source Assigned |
| 2221 |
_type.container Single |
| 2222 |
_type.contents Code |
| 2223 |
loop_ |
| 2224 |
_enumeration_set.state |
| 2225 |
_enumeration_set.detail |
| 2226 |
goniometer 'equipment used to orient or position samples' |
| 2227 |
detector 'equipment used to detect reflections' |
| 2228 |
general 'equipment used for general purposes' |
| 2229 |
gravity 'axis specifying the downward direction' |
| 2230 |
source 'axis specifying the direction sample to source' |
| 2231 |
_enumeration.default general |
| 2232 |
|
| 2233 |
save_ |
| 2234 |
|
| 2235 |
|
| 2236 |
save__axis.equipment_component |
| 2237 |
|
| 2238 |
_definition.id '_axis.equipment_component' |
| 2239 |
_definition.update 2014-07-07 |
| 2240 |
_description.text |
| 2241 |
; |
| 2242 |
The value of _axis.equipment_component specifies |
| 2243 |
an arbitrary identifier of a component of the equipment to which |
| 2244 |
the axis belongs, such as 'detector_arm' or 'detector_module'. |
| 2245 |
|
| 2246 |
; |
| 2247 |
_name.category_id axis |
| 2248 |
_name.object_id equipment_component |
| 2249 |
_type.purpose Describe |
| 2250 |
_type.source Recorded |
| 2251 |
_type.container Single |
| 2252 |
_type.contents Text |
| 2253 |
|
| 2254 |
save_ |
| 2255 |
|
| 2256 |
|
| 2257 |
save__axis.id |
| 2258 |
|
| 2259 |
_definition.id '_axis.id' |
| 2260 |
_definition.update 2014-07-07 |
| 2261 |
_description.text |
| 2262 |
; |
| 2263 |
The value of _axis.id must uniquely identify |
| 2264 |
each axis relevant to the experiment. Note that multiple |
| 2265 |
pieces of equipment may share the same axis (e.g. a twotheta |
| 2266 |
arm), so the category key for AXIS also includes the equipment. |
| 2267 |
; |
| 2268 |
_name.category_id axis |
| 2269 |
_name.object_id id |
| 2270 |
_type.purpose Key |
| 2271 |
_type.source Assigned |
| 2272 |
_type.container Single |
| 2273 |
_type.contents Code |
| 2274 |
|
| 2275 |
save_ |
| 2276 |
|
| 2277 |
|
| 2278 |
save__axis.key |
| 2279 |
|
| 2280 |
_definition.id '_axis.key' |
| 2281 |
_name.object_id key |
| 2282 |
_name.category_id axis |
| 2283 |
_definition.class Datum |
| 2284 |
_description.text 'The key for the axis category.' |
| 2285 |
_type.purpose Key |
| 2286 |
_type.source Assigned |
| 2287 |
_type.container Multiple |
| 2288 |
_type.contents Code |
| 2289 |
loop_ |
| 2290 |
_method.purpose |
| 2291 |
_method.expression |
| 2292 |
Evaluation |
| 2293 |
; |
| 2294 |
_axis.key = [_axis.id,_axis.equipment] |
| 2295 |
|
| 2296 |
; |
| 2297 |
|
| 2298 |
save_ |
| 2299 |
|
| 2300 |
|
| 2301 |
save__axis.offset |
| 2302 |
|
| 2303 |
_definition.id '_axis.offset' |
| 2304 |
_definition.update 2014-06-20 |
| 2305 |
_description.text |
| 2306 |
; |
| 2307 |
The three-element vector used to specify the offset to the |
| 2308 |
base of a rotation or translation axis; specified in millimetres. |
| 2309 |
; |
| 2310 |
_name.category_id axis |
| 2311 |
_name.object_id offset |
| 2312 |
_type.purpose Number |
| 2313 |
_type.source derived |
| 2314 |
_type.container Matrix |
| 2315 |
_type.contents Real |
| 2316 |
_type.dimension '[3]' |
| 2317 |
_units.code millimetres |
| 2318 |
loop_ |
| 2319 |
_method.purpose |
| 2320 |
_method.expression |
| 2321 |
Evaluation |
| 2322 |
; |
| 2323 |
_axis.offset = [ _axis.offset_1, _axis.offset_2, _axis.offset_3 ] |
| 2324 |
|
| 2325 |
; |
| 2326 |
Evaluation |
| 2327 |
; |
| 2328 |
_axis.offset = _axis.offset_convention2 * [[-1,0,0],[0,1,0],[0,0,-1]] |
| 2329 |
|
| 2330 |
; |
| 2331 |
|
| 2332 |
save_ |
| 2333 |
|
| 2334 |
|
| 2335 |
save__axis.offset[1] |
| 2336 |
|
| 2337 |
_definition.id '_axis.offset[1]' |
| 2338 |
loop_ |
| 2339 |
_alias.definition_id |
| 2340 |
'_axis.offset_1' |
| 2341 |
_definition.update 2014-07-07 |
| 2342 |
_description.text |
| 2343 |
; |
| 2344 |
The [1] element of the three-element vector _axis.offset |
| 2345 |
; |
| 2346 |
_name.category_id axis |
| 2347 |
_name.object_id offset_1 |
| 2348 |
_type.purpose Number |
| 2349 |
_type.source Derived |
| 2350 |
_type.container Single |
| 2351 |
_type.contents Real |
| 2352 |
_enumeration.default 0.0 |
| 2353 |
_units.code millimetres |
| 2354 |
|
| 2355 |
save_ |
| 2356 |
|
| 2357 |
|
| 2358 |
save__axis.offset[2] |
| 2359 |
|
| 2360 |
_definition.id '_axis.offset[2]' |
| 2361 |
loop_ |
| 2362 |
_alias.definition_id |
| 2363 |
'_axis.offset_2' |
| 2364 |
_definition.update 2014-07-07 |
| 2365 |
_description.text |
| 2366 |
; |
| 2367 |
The [2] element of the three-element vector _axis.offset |
| 2368 |
; |
| 2369 |
_name.category_id axis |
| 2370 |
_name.object_id offset_2 |
| 2371 |
_type.purpose Number |
| 2372 |
_type.source Derived |
| 2373 |
_type.container Single |
| 2374 |
_type.contents Real |
| 2375 |
_enumeration.default 0.0 |
| 2376 |
_units.code millimetres |
| 2377 |
|
| 2378 |
save_ |
| 2379 |
|
| 2380 |
|
| 2381 |
save__axis.offset[3] |
| 2382 |
|
| 2383 |
_definition.id '_axis.offset[3]' |
| 2384 |
loop_ |
| 2385 |
_alias.definition_id |
| 2386 |
'_axis.offset_3' |
| 2387 |
_definition.update 2014-07-07 |
| 2388 |
_description.text |
| 2389 |
; |
| 2390 |
The [3] element of the three-element vector _axis.offset |
| 2391 |
; |
| 2392 |
_name.category_id axis |
| 2393 |
_name.object_id offset_3 |
| 2394 |
_type.purpose Number |
| 2395 |
_type.source Derived |
| 2396 |
_type.container Single |
| 2397 |
_type.contents Real |
| 2398 |
_enumeration.default 0.0 |
| 2399 |
_units.code millimetres |
| 2400 |
|
| 2401 |
save_ |
| 2402 |
|
| 2403 |
|
| 2404 |
save__axis.offset_convention2 |
| 2405 |
|
| 2406 |
_definition.id '_axis.offset_convention2' |
| 2407 |
_name.object_id offset_convention2 |
| 2408 |
_name.category_id axis |
| 2409 |
_definition.class Datum |
| 2410 |
_description.text |
| 2411 |
'The axis offset expressed in an alternate coordinate system where Z points along the beam away from the source.' |
| 2412 |
_name.linked_item_id '' |
| 2413 |
_type.purpose Number |
| 2414 |
_type.source Recorded |
| 2415 |
_type.container Array |
| 2416 |
_type.contents Real |
| 2417 |
loop_ |
| 2418 |
_method.purpose |
| 2419 |
_method.expression |
| 2420 |
Evaluation |
| 2421 |
; |
| 2422 |
_axis.offset_convention2 = _axis.offset * [[-1,0,0],[0,1,0],[0,0,-1]] |
| 2423 |
|
| 2424 |
; |
| 2425 |
|
| 2426 |
save_ |
| 2427 |
|
| 2428 |
|
| 2429 |
save__axis.rotation |
| 2430 |
|
| 2431 |
_definition.id '_axis.rotation' |
| 2432 |
_definition.update 2014-07-07 |
| 2433 |
_description.text |
| 2434 |
; |
| 2435 |
The value of _axis.rotation specifies |
| 2436 |
the fixed base rotation angle for _axis.rotation_axis |
| 2437 |
to which the value of any frame-by-frame setting, if any, should |
| 2438 |
be added. Normally, ony the fixed value would be given. |
| 2439 |
|
| 2440 |
; |
| 2441 |
_name.category_id axis |
| 2442 |
_name.object_id rotation |
| 2443 |
_type.purpose Number |
| 2444 |
_type.source Derived |
| 2445 |
_type.container Single |
| 2446 |
_type.contents Real |
| 2447 |
_enumeration.default 0.0 |
| 2448 |
_units.code degrees |
| 2449 |
|
| 2450 |
save_ |
| 2451 |
|
| 2452 |
|
| 2453 |
save__axis.rotation_axis |
| 2454 |
|
| 2455 |
_definition.id '_axis.rotation_axis' |
| 2456 |
_definition.update 2014-07-07 |
| 2457 |
_description.text |
| 2458 |
; |
| 2459 |
The value of _axis.rotation_axis specifies and optional |
| 2460 |
addtional dependency for this axis to be applied |
| 2461 |
after applying _axis.depends_on. |
| 2462 |
This item is a pointer to _axis.id in the same category. |
| 2463 |
; |
| 2464 |
_name.category_id axis |
| 2465 |
_name.object_id rotation_axis |
| 2466 |
_name.linked_item_id '_axis.id' |
| 2467 |
_type.purpose Link |
| 2468 |
_type.source Related |
| 2469 |
_type.container Single |
| 2470 |
_type.contents Code |
| 2471 |
|
| 2472 |
save_ |
| 2473 |
|
| 2474 |
|
| 2475 |
save__axis.system |
| 2476 |
|
| 2477 |
_definition.id '_axis.system' |
| 2478 |
_definition.update 2014-07-07 |
| 2479 |
_description.text |
| 2480 |
; |
| 2481 |
The value of _axis.system specifies the coordinate |
| 2482 |
system used to define the axis: 'laboratory', 'direct', |
| 2483 |
'orthogonal', 'reciprocal' or 'abstract'. |
| 2484 |
; |
| 2485 |
_name.category_id axis |
| 2486 |
_name.object_id system |
| 2487 |
_type.purpose State |
| 2488 |
_type.source Assigned |
| 2489 |
_type.container Single |
| 2490 |
_type.contents Code |
| 2491 |
loop_ |
| 2492 |
_enumeration_set.state |
| 2493 |
_enumeration_set.detail |
| 2494 |
laboratory |
| 2495 |
; the axis is referenced to the imgCIF standard laboratory Cartesian |
| 2496 |
coordinate system |
| 2497 |
; |
| 2498 |
direct ' the axis is referenced to the direct lattice' |
| 2499 |
orthogonal ' the axis is referenced to the cell Cartesian orthogonal coordinates' |
| 2500 |
reciprocal ' the axis is referenced to the reciprocal lattice' |
| 2501 |
abstract ' the axis is referenced to abstract Cartesian cooridinate system' |
| 2502 |
_enumeration.default laboratory |
| 2503 |
|
| 2504 |
save_ |
| 2505 |
|
| 2506 |
|
| 2507 |
save__axis.type |
| 2508 |
|
| 2509 |
_definition.id '_axis.type' |
| 2510 |
_definition.update 2014-07-07 |
| 2511 |
_description.text |
| 2512 |
; |
| 2513 |
The value of _axis.type specifies the type of |
| 2514 |
axis: 'rotation' or 'translation' (or 'general' when |
| 2515 |
the type is not relevant, as for gravity). |
| 2516 |
; |
| 2517 |
_name.category_id axis |
| 2518 |
_name.object_id type |
| 2519 |
_type.purpose State |
| 2520 |
_type.source Assigned |
| 2521 |
_type.container Single |
| 2522 |
_type.contents Code |
| 2523 |
loop_ |
| 2524 |
_enumeration_set.state |
| 2525 |
_enumeration_set.detail |
| 2526 |
rotation 'right-handed axis of rotation' |
| 2527 |
translation 'translation in the direction of the axis' |
| 2528 |
general 'axis for which the type is not relevant' |
| 2529 |
_enumeration.default general |
| 2530 |
|
| 2531 |
save_ |
| 2532 |
|
| 2533 |
|
| 2534 |
save__axis.vector |
| 2535 |
|
| 2536 |
_definition.id '_axis.vector' |
| 2537 |
_definition.update 2014-06-20 |
| 2538 |
_description.text |
| 2539 |
; |
| 2540 |
The three-element vector used to specify the direction |
| 2541 |
of a rotation or translation axis. The vector should be |
| 2542 |
normalized to be a unit vector and is dimensionless. |
| 2543 |
|
| 2544 |
; |
| 2545 |
_name.category_id axis |
| 2546 |
_name.object_id vector |
| 2547 |
_type.purpose Number |
| 2548 |
_type.source Derived |
| 2549 |
_type.container Matrix |
| 2550 |
_type.contents Real |
| 2551 |
_type.dimension '[3]' |
| 2552 |
_units.code none |
| 2553 |
loop_ |
| 2554 |
_method.purpose |
| 2555 |
_method.expression |
| 2556 |
Evaluation |
| 2557 |
; |
| 2558 |
_axis.vector = [ _axis.vector_1, _axis.vector_2, _axis.vector_3 ] |
| 2559 |
|
| 2560 |
; |
| 2561 |
Evaluation |
| 2562 |
; |
| 2563 |
_axis.vector = _axis.vector_convention2 * Array([[-1,0,0],[0,1,0],[0,0,-1]]) |
| 2564 |
|
| 2565 |
; |
| 2566 |
|
| 2567 |
save_ |
| 2568 |
|
| 2569 |
|
| 2570 |
save__axis.vector[1] |
| 2571 |
|
| 2572 |
_definition.id '_axis.vector[1]' |
| 2573 |
loop_ |
| 2574 |
_alias.definition_id |
| 2575 |
'_axis.vector_1' |
| 2576 |
_definition.update 2014-07-07 |
| 2577 |
_description.text |
| 2578 |
; |
| 2579 |
The [1] element of the three-element vector _axis.vector |
| 2580 |
; |
| 2581 |
_name.category_id axis |
| 2582 |
_name.object_id vector_1 |
| 2583 |
_type.purpose Number |
| 2584 |
_type.source Derived |
| 2585 |
_type.container Single |
| 2586 |
_type.contents Real |
| 2587 |
_enumeration.default 0.0 |
| 2588 |
loop_ |
| 2589 |
_method.purpose |
| 2590 |
_method.expression |
| 2591 |
Evaluation |
| 2592 |
; |
| 2593 |
_axis.vector_1 = _axis.vector[0] |
| 2594 |
|
| 2595 |
; |
| 2596 |
|
| 2597 |
save_ |
| 2598 |
|
| 2599 |
|
| 2600 |
save__axis.vector[2] |
| 2601 |
|
| 2602 |
_definition.id '_axis.vector[2]' |
| 2603 |
loop_ |
| 2604 |
_alias.definition_id |
| 2605 |
'_axis.vector_2' |
| 2606 |
_definition.update 2014-07-07 |
| 2607 |
_description.text |
| 2608 |
; |
| 2609 |
The [2] element of the three-element vector _axis.vector |
| 2610 |
; |
| 2611 |
_name.category_id axis |
| 2612 |
_name.object_id vector_2 |
| 2613 |
_type.purpose Number |
| 2614 |
_type.source Derived |
| 2615 |
_type.container Single |
| 2616 |
_type.contents Real |
| 2617 |
_enumeration.default 0.0 |
| 2618 |
loop_ |
| 2619 |
_method.purpose |
| 2620 |
_method.expression |
| 2621 |
Evaluation |
| 2622 |
; |
| 2623 |
_axis.vector_2 = _axis.vector[1] |
| 2624 |
|
| 2625 |
; |
| 2626 |
|
| 2627 |
save_ |
| 2628 |
|
| 2629 |
|
| 2630 |
save__axis.vector[3] |
| 2631 |
|
| 2632 |
_definition.id '_axis.vector[3]' |
| 2633 |
loop_ |
| 2634 |
_alias.definition_id |
| 2635 |
'_axis.vector_3' |
| 2636 |
_definition.update 2014-07-07 |
| 2637 |
_description.text |
| 2638 |
; |
| 2639 |
The [3] element of the three-element vector _axis.vector |
| 2640 |
; |
| 2641 |
_name.category_id axis |
| 2642 |
_name.object_id vector_3 |
| 2643 |
_type.purpose Number |
| 2644 |
_type.source Derived |
| 2645 |
_type.container Single |
| 2646 |
_type.contents Real |
| 2647 |
_enumeration.default 0.0 |
| 2648 |
loop_ |
| 2649 |
_method.purpose |
| 2650 |
_method.expression |
| 2651 |
Evaluation |
| 2652 |
; |
| 2653 |
_axis.vector_3 = _axis.vector[2] |
| 2654 |
|
| 2655 |
; |
| 2656 |
|
| 2657 |
save_ |
| 2658 |
|
| 2659 |
|
| 2660 |
save__axis.vector_convention2 |
| 2661 |
|
| 2662 |
_definition.id '_axis.vector_convention2' |
| 2663 |
_name.object_id vector_convention2 |
| 2664 |
_name.category_id axis |
| 2665 |
_definition.class Datum |
| 2666 |
_description.text |
| 2667 |
'The axis vector expressed in an alternate coordinate system where Z points along the beam away from the source.' |
| 2668 |
_name.linked_item_id '' |
| 2669 |
_type.purpose Number |
| 2670 |
_type.source Recorded |
| 2671 |
_type.container Array |
| 2672 |
_type.contents Real |
| 2673 |
loop_ |
| 2674 |
_method.purpose |
| 2675 |
_method.expression |
| 2676 |
Evaluation |
| 2677 |
; |
| 2678 |
_axis.vector_convention2 = _axis.vector * Array([[-1,0,0],[0,1,0],[0,0,-1]]) |
| 2679 |
|
| 2680 |
; |
| 2681 |
|
| 2682 |
save_ |
| 2683 |
|
| 2684 |
|
| 2685 |
save_detector_axis |
| 2686 |
|
| 2687 |
_name.object_id detector_axis |
| 2688 |
_name.category_id DEMO_DIC_HEAD |
| 2689 |
_definition.id detector_axis |
| 2690 |
_definition.scope Category |
| 2691 |
_definition.class Loop |
| 2692 |
_description.text |
| 2693 |
; |
| 2694 |
Items in the DETECTOR_AXIS category record information for axes that are |
| 2695 |
attached to detectors. This category is a filtered version of the AXIS |
| 2696 |
category that exists purely to cater to file formats that distinguish |
| 2697 |
detector axes from other axes. |
| 2698 |
; |
| 2699 |
_category.key_id '_detector_axis.id' |
| 2700 |
loop_ |
| 2701 |
_category_key.name |
| 2702 |
'_detector_axis.id' |
| 2703 |
_category_construct_local.type Filter |
| 2704 |
_category_construct_local.text_filter [detector] |
| 2705 |
_category_construct_local.components ['_axis.equipment'] |
| 2706 |
_category_construct_local.new_ids [id] |
| 2707 |
|
| 2708 |
save_ |
| 2709 |
|
| 2710 |
|
| 2711 |
save__detector_axis.id |
| 2712 |
|
| 2713 |
_definition.id '_detector_axis.id' |
| 2714 |
_name.object_id id |
| 2715 |
_name.category_id detector_axis |
| 2716 |
_definition.class Datum |
| 2717 |
_description.text 'PLEASE DEFINE ME' |
| 2718 |
_type.purpose Key |
| 2719 |
_type.source Assigned |
| 2720 |
_type.container Multiple |
| 2721 |
_type.contents Code |
| 2722 |
|
| 2723 |
save_ |
| 2724 |
|
| 2725 |
|
| 2726 |
save__detector_axis.offset |
| 2727 |
|
| 2728 |
_definition.id '_detector_axis.offset' |
| 2729 |
_name.object_id offset |
| 2730 |
_name.category_id detector_axis |
| 2731 |
_definition.class Datum |
| 2732 |
_description.text 'see _axis.offset' |
| 2733 |
_type.purpose Number |
| 2734 |
_type.source Assigned |
| 2735 |
_type.container Matrix |
| 2736 |
_type.contents Real |
| 2737 |
|
| 2738 |
save_ |
| 2739 |
|
| 2740 |
|
| 2741 |
save__detector_axis.type |
| 2742 |
|
| 2743 |
_definition.id '_detector_axis.type' |
| 2744 |
_name.object_id type |
| 2745 |
_name.category_id detector_axis |
| 2746 |
_definition.class Datum |
| 2747 |
_description.text 'see _axis.type' |
| 2748 |
_type.purpose State |
| 2749 |
_type.source Assigned |
| 2750 |
_type.container Single |
| 2751 |
_type.contents Text |
| 2752 |
|
| 2753 |
save_ |
| 2754 |
|
| 2755 |
|
| 2756 |
save__detector_axis.vector |
| 2757 |
|
| 2758 |
_definition.id '_detector_axis.vector' |
| 2759 |
_name.object_id vector |
| 2760 |
_name.category_id detector_axis |
| 2761 |
_definition.class Datum |
| 2762 |
_description.text 'see _axis.vector' |
| 2763 |
_type.purpose Number |
| 2764 |
_type.source Assigned |
| 2765 |
_type.container Matrix |
| 2766 |
_type.contents Real |
| 2767 |
_type.dimension '[3]' |
| 2768 |
|
| 2769 |
save_ |
| 2770 |
|
| 2771 |
|
| 2772 |
save__detector_axis.vector_convention2 |
| 2773 |
|
| 2774 |
_definition.id '_detector_axis.vector_convention2' |
| 2775 |
_name.object_id vector_convention2 |
| 2776 |
_name.category_id detector_axis |
| 2777 |
_definition.class Datum |
| 2778 |
_description.text 'PLEASE DEFINE ME' |
| 2779 |
|
| 2780 |
save_ |
| 2781 |
|
| 2782 |
|
| 2783 |
save_DIFFRN_DATA_FRAME |
| 2784 |
|
| 2785 |
_definition.id DIFFRN_DATA_FRAME |
| 2786 |
_definition.scope Category |
| 2787 |
_definition.class Loop |
| 2788 |
_definition.update 2014-07-07 |
| 2789 |
_description.text |
| 2790 |
; |
| 2791 |
Data items in the DIFFRN_DATA_FRAME category record |
| 2792 |
the details about each frame of data. |
| 2793 |
The items in this category were previously in a |
| 2794 |
DIFFRN_FRAME_DATA category, which is now deprecated. |
| 2795 |
The items from the old category are provided |
| 2796 |
as aliases but should not be used for new work. |
| 2797 |
; |
| 2798 |
_name.category_id DEMO_DIC_HEAD |
| 2799 |
_name.object_id DIFFRN_DATA_FRAME |
| 2800 |
_category.key_id '_diffrn_data_frame.key' |
| 2801 |
loop_ |
| 2802 |
_category_key.name |
| 2803 |
'_diffrn_data_frame.id' |
| 2804 |
'_diffrn_data_frame.detector_element_id' |
| 2805 |
'_diffrn_data_frame.scan_id' |
| 2806 |
|
| 2807 |
save_ |
| 2808 |
|
| 2809 |
|
| 2810 |
save__diffrn_data_frame.array_id |
| 2811 |
|
| 2812 |
_definition.id '_diffrn_data_frame.array_id' |
| 2813 |
loop_ |
| 2814 |
_alias.definition_id |
| 2815 |
'_diffrn_frame_data.array_id' |
| 2816 |
_definition.update 2014-07-07 |
| 2817 |
_description.text |
| 2818 |
; |
| 2819 |
This item is a pointer to _array_structure.id in the |
| 2820 |
ARRAY_STRUCTURE category. |
| 2821 |
; |
| 2822 |
_name.category_id diffrn_data_frame |
| 2823 |
_name.object_id array_id |
| 2824 |
_name.linked_item_id '_array_structure.id' |
| 2825 |
_type.purpose Link |
| 2826 |
_type.source Related |
| 2827 |
_type.container Single |
| 2828 |
_type.contents Code |
| 2829 |
|
| 2830 |
save_ |
| 2831 |
|
| 2832 |
|
| 2833 |
save__diffrn_data_frame.array_section_id |
| 2834 |
|
| 2835 |
_definition.id '_diffrn_data_frame.array_section_id' |
| 2836 |
_definition.update 2014-07-07 |
| 2837 |
_description.text |
| 2838 |
; |
| 2839 |
This item is a pointer to _array_structure_list_section.id |
| 2840 |
in the ARRAY_STRUCTURE_LIST_SECTION category. |
| 2841 |
; |
| 2842 |
_name.category_id diffrn_data_frame |
| 2843 |
_name.object_id array_section_id |
| 2844 |
_name.linked_item_id '_array_structure_list_section.id' |
| 2845 |
_type.purpose Link |
| 2846 |
_type.source Related |
| 2847 |
_type.container Single |
| 2848 |
_type.contents Code |
| 2849 |
|
| 2850 |
save_ |
| 2851 |
|
| 2852 |
|
| 2853 |
save__diffrn_data_frame.binary_id |
| 2854 |
|
| 2855 |
_definition.id '_diffrn_data_frame.binary_id' |
| 2856 |
loop_ |
| 2857 |
_alias.definition_id |
| 2858 |
'_diffrn_frame_data.binary_id' |
| 2859 |
_definition.update 2014-07-07 |
| 2860 |
_description.text |
| 2861 |
; |
| 2862 |
This item is a pointer to _array_data.binary_id in the |
| 2863 |
ARRAY_DATA category. |
| 2864 |
; |
| 2865 |
_name.category_id diffrn_data_frame |
| 2866 |
_name.object_id binary_id |
| 2867 |
_name.linked_item_id '_array_data.binary_id' |
| 2868 |
_type.purpose Link |
| 2869 |
_type.source Related |
| 2870 |
_type.container Single |
| 2871 |
_type.contents Code |
| 2872 |
|
| 2873 |
save_ |
| 2874 |
|
| 2875 |
|
| 2876 |
save__diffrn_data_frame.center_fast |
| 2877 |
|
| 2878 |
_definition.id '_diffrn_data_frame.center_fast' |
| 2879 |
_definition.update 2014-07-07 |
| 2880 |
_description.text |
| 2881 |
; |
| 2882 |
The value of _diffrn_data_frame.center_fast is |
| 2883 |
the fast index axis beam center position relative to the detector |
| 2884 |
element face in the units specified in the data item |
| 2885 |
'_diffrn_data_frame.center_units' along the fast |
| 2886 |
axis of the detector from the center of the first pixel to |
| 2887 |
the point at which the Z-axis (which should be colinear with the |
| 2888 |
beam) intersects the face of the detector, if in fact is does. |
| 2889 |
At the time of the measurement the current setting of detector |
| 2890 |
positioner given frame are used. |
| 2891 |
It is important to note that for measurements in millimetres, |
| 2892 |
the sense of the axis is used, rather than the sign of the |
| 2893 |
pixel-to-pixel increments. |
| 2894 |
; |
| 2895 |
_name.category_id diffrn_data_frame |
| 2896 |
_name.object_id center_fast |
| 2897 |
_type.purpose Number |
| 2898 |
_type.source Derived |
| 2899 |
_type.container Single |
| 2900 |
_type.contents Real |
| 2901 |
|
| 2902 |
save_ |
| 2903 |
|
| 2904 |
|
| 2905 |
save__diffrn_data_frame.center_slow |
| 2906 |
|
| 2907 |
_definition.id '_diffrn_data_frame.center_slow' |
| 2908 |
_definition.update 2014-07-07 |
| 2909 |
_description.text |
| 2910 |
; |
| 2911 |
The value of _diffrn_data_frame.center_slow is |
| 2912 |
the slow index axis beam center position relative to the detector |
| 2913 |
element face in the units specified in the data item |
| 2914 |
'_diffrn_data_frame.center_units' along the slow |
| 2915 |
axis of the detector from the center of the first pixel to |
| 2916 |
the point at which the Z-axis (which should be colinear with the |
| 2917 |
beam) intersects the face of the detector, if in fact is does. |
| 2918 |
At the time of the measurement the current setting of detector |
| 2919 |
positioner given frame are used. |
| 2920 |
It is important to note that the sense of the axis is used, |
| 2921 |
rather than the sign of the pixel-to-pixel increments. |
| 2922 |
; |
| 2923 |
_name.category_id diffrn_data_frame |
| 2924 |
_name.object_id center_slow |
| 2925 |
_type.purpose Number |
| 2926 |
_type.source Derived |
| 2927 |
_type.container Single |
| 2928 |
_type.contents Real |
| 2929 |
|
| 2930 |
save_ |
| 2931 |
|
| 2932 |
|
| 2933 |
save__diffrn_data_frame.center_units |
| 2934 |
|
| 2935 |
_definition.id '_diffrn_data_frame.center_units' |
| 2936 |
_definition.update 2014-07-07 |
| 2937 |
_description.text |
| 2938 |
; |
| 2939 |
The value of _diffrn_data_frame.center_units specifies the |
| 2940 |
units in which the values of '_diffrn_data_frame.center_fast' and |
| 2941 |
'_diffrn_data_frame.center_slow' are presented. The default is |
| 2942 |
'mm' for millimetres. The alternatives are 'pixels' and 'bins'. |
| 2943 |
In all cases the center distances are measured from the center |
| 2944 |
of the first pixel, i.e. in a 2x2 binning, the measuring origin |
| 2945 |
is offset from the centers of the bins by one half pixel |
| 2946 |
towards the first pixel. |
| 2947 |
If 'bins' is specified, the data in |
| 2948 |
'_array_intensities.pixel_fast_bin_size', |
| 2949 |
'_array_intensities.pixel_slow_bin_size', and |
| 2950 |
'_array_intensities.pixel_binning_method' |
| 2951 |
is used to define the binning scheme. |
| 2952 |
; |
| 2953 |
_name.category_id diffrn_data_frame |
| 2954 |
_name.object_id center_units |
| 2955 |
_type.purpose State |
| 2956 |
_type.source Assigned |
| 2957 |
_type.container Single |
| 2958 |
_type.contents Code |
| 2959 |
loop_ |
| 2960 |
_enumeration_set.state |
| 2961 |
_enumeration_set.detail |
| 2962 |
mm millimetres |
| 2963 |
pixels 'detector pixels' |
| 2964 |
bins 'detector bins' |
| 2965 |
|
| 2966 |
save_ |
| 2967 |
|
| 2968 |
|
| 2969 |
save__diffrn_data_frame.details |
| 2970 |
|
| 2971 |
_definition.id '_diffrn_data_frame.details' |
| 2972 |
loop_ |
| 2973 |
_alias.definition_id |
| 2974 |
'_diffrn_frame_data.details' |
| 2975 |
_definition.update 2014-07-07 |
| 2976 |
_description.text |
| 2977 |
; |
| 2978 |
The value of _diffrn_data_frame.details should give a |
| 2979 |
description of special aspects of each frame of data. |
| 2980 |
This is an appropriate location in which to record |
| 2981 |
information from vendor headers as presented in those |
| 2982 |
headers, but it should never be used as a substitute |
| 2983 |
for providing the fully parsed information within |
| 2984 |
the appropriate imgCIF/CBF categories. |
| 2985 |
Normally, when a conversion from a miniCBF has been done |
| 2986 |
the data from '_array_data.header_convention' |
| 2987 |
should be transferred to this data item and |
| 2988 |
'_array_data.header_convention' |
| 2989 |
should be removed. |
| 2990 |
; |
| 2991 |
_name.category_id diffrn_data_frame |
| 2992 |
_name.object_id details |
| 2993 |
_type.purpose Describe |
| 2994 |
_type.source Recorded |
| 2995 |
_type.container Single |
| 2996 |
_type.contents Text |
| 2997 |
loop_ |
| 2998 |
_description_example.case |
| 2999 |
|
| 3000 |
; |
| 3001 |
HEADER_BYTES = 512; |
| 3002 |
DIM = 2; |
| 3003 |
BYTE_ORDER = big_endian; |
| 3004 |
TYPE = unsigned_short; |
| 3005 |
SIZE1 = 3072; |
| 3006 |
SIZE2 = 3072; |
| 3007 |
PIXEL_SIZE = 0.102588; |
| 3008 |
BIN = 2x2; |
| 3009 |
DETECTOR_SN = 901; |
| 3010 |
TIME = 29.945155; |
| 3011 |
DISTANCE = 200.000000; |
| 3012 |
PHI = 85.000000; |
| 3013 |
OSC_START = 85.000000; |
| 3014 |
OSC_RANGE = 1.000000; |
| 3015 |
WAVELENGTH = 0.979381; |
| 3016 |
BEAM_CENTER_X = 157.500000; |
| 3017 |
BEAM_CENTER_Y = 157.500000; |
| 3018 |
PIXEL SIZE = 0.102588; |
| 3019 |
OSCILLATION RANGE = 1; |
| 3020 |
EXPOSURE TIME = 29.9452; |
| 3021 |
TWO THETA = 0; |
| 3022 |
BEAM CENTRE = 157.5 157.5; |
| 3023 |
; |
| 3024 |
|
| 3025 |
; Example of header information extracted from an ADSC Quantum |
| 3026 |
315 detector header by CBFlib_0.7.6. Image provided by Chris |
| 3027 |
Nielsen of ADSC from a data collection at SSRL beamline 1-5. |
| 3028 |
; |
| 3029 |
|
| 3030 |
save_ |
| 3031 |
|
| 3032 |
|
| 3033 |
save__diffrn_data_frame.detector_element_id |
| 3034 |
|
| 3035 |
_definition.id '_diffrn_data_frame.detector_element_id' |
| 3036 |
loop_ |
| 3037 |
_alias.definition_id |
| 3038 |
'_diffrn_frame_data.detector_element_id' |
| 3039 |
_definition.update 2014-07-07 |
| 3040 |
_description.text |
| 3041 |
; |
| 3042 |
This item is a pointer to _diffrn_detector_element.id |
| 3043 |
in the DIFFRN_DETECTOR_ELEMENT category. |
| 3044 |
; |
| 3045 |
_name.category_id diffrn_data_frame |
| 3046 |
_name.object_id detector_element_id |
| 3047 |
_name.linked_item_id '_diffrn_detector_element.id' |
| 3048 |
_type.purpose Link |
| 3049 |
_type.source Related |
| 3050 |
_type.container Single |
| 3051 |
_type.contents Code |
| 3052 |
|
| 3053 |
save_ |
| 3054 |
|
| 3055 |
|
| 3056 |
save__diffrn_data_frame.detector_element_key |
| 3057 |
|
| 3058 |
_definition.id '_diffrn_data_frame.detector_element_key' |
| 3059 |
_name.object_id detector_element_key |
| 3060 |
_name.category_id diffrn_data_frame |
| 3061 |
_definition.class Datum |
| 3062 |
_description.text 'A pointer to the key of the diffrn_detector_element category' |
| 3063 |
_name.linked_item_id '_diffrn_detector_element.key' |
| 3064 |
_type.purpose Link |
| 3065 |
_type.source Related |
| 3066 |
_type.container Multiple |
| 3067 |
_type.contents Code |
| 3068 |
loop_ |
| 3069 |
_method.purpose |
| 3070 |
_method.expression |
| 3071 |
Evaluation |
| 3072 |
; |
| 3073 |
_diffrn_data_frame.detector_element_key = [_diffrn_data_frame.detector_element_id,_diffrn_data_frame.detector_id] |
| 3074 |
|
| 3075 |
; |
| 3076 |
|
| 3077 |
save_ |
| 3078 |
|
| 3079 |
|
| 3080 |
save__diffrn_data_frame.detector_id |
| 3081 |
|
| 3082 |
_definition.id '_diffrn_data_frame.detector_id' |
| 3083 |
_name.object_id detector_id |
| 3084 |
_name.category_id diffrn_data_frame |
| 3085 |
_definition.class Datum |
| 3086 |
_description.text 'PLEASE DEFINE ME' |
| 3087 |
_name.linked_item_id '_diffrn_detector.id' |
| 3088 |
_type.purpose Link |
| 3089 |
_type.source Related |
| 3090 |
_type.container Single |
| 3091 |
_type.contents Code |
| 3092 |
|
| 3093 |
save_ |
| 3094 |
|
| 3095 |
|
| 3096 |
save__diffrn_data_frame.id |
| 3097 |
|
| 3098 |
_definition.id '_diffrn_data_frame.id' |
| 3099 |
loop_ |
| 3100 |
_alias.definition_id |
| 3101 |
'_diffrn_frame_data.id' |
| 3102 |
_definition.update 2014-07-07 |
| 3103 |
_description.text |
| 3104 |
; |
| 3105 |
The value of _diffrn_data_frame.id must uniquely identify |
| 3106 |
each complete frame of data within a particular scan. |
| 3107 |
; |
| 3108 |
_name.category_id diffrn_data_frame |
| 3109 |
_name.object_id id |
| 3110 |
_type.purpose Key |
| 3111 |
_type.source Assigned |
| 3112 |
_type.container Single |
| 3113 |
_type.contents Code |
| 3114 |
|
| 3115 |
save_ |
| 3116 |
|
| 3117 |
|
| 3118 |
save__diffrn_data_frame.key |
| 3119 |
|
| 3120 |
_definition.id '_diffrn_data_frame.key' |
| 3121 |
_definition.update 2015-11-12 |
| 3122 |
_description.text |
| 3123 |
; |
| 3124 |
This item is a unique identifier for items in the DIFFRN |
| 3125 |
DATA FRAME category |
| 3126 |
; |
| 3127 |
_name.category_id diffrn_data_frame |
| 3128 |
_name.object_id key |
| 3129 |
_type.purpose Key |
| 3130 |
_type.source Assigned |
| 3131 |
_type.container Multiple |
| 3132 |
_type.contents Code |
| 3133 |
loop_ |
| 3134 |
_method.purpose |
| 3135 |
_method.expression |
| 3136 |
Evaluation |
| 3137 |
; |
| 3138 |
with ddf as diffrn_data_frame { |
| 3139 |
ddf.key = [ddf.scan_id,ddf.id] |
| 3140 |
} |
| 3141 |
|
| 3142 |
; |
| 3143 |
|
| 3144 |
save_ |
| 3145 |
|
| 3146 |
|
| 3147 |
save__diffrn_data_frame.scan_id |
| 3148 |
|
| 3149 |
_definition.id '_diffrn_data_frame.scan_id' |
| 3150 |
_definition.update 2015-11-12 |
| 3151 |
_description.text |
| 3152 |
; |
| 3153 |
This item is a pointer to _diffrn_scan.id in the |
| 3154 |
DIFFRN_SCAN category. |
| 3155 |
; |
| 3156 |
_name.category_id diffrn_data_frame |
| 3157 |
_name.object_id scan_id |
| 3158 |
_name.linked_item_id '_diffrn_scan.id' |
| 3159 |
_type.purpose Link |
| 3160 |
_type.source Related |
| 3161 |
_type.container Single |
| 3162 |
_type.contents Code |
| 3163 |
|
| 3164 |
save_ |
| 3165 |
|
| 3166 |
|
| 3167 |
save_DIFFRN_DETECTOR |
| 3168 |
|
| 3169 |
_definition.id DIFFRN_DETECTOR |
| 3170 |
_definition.scope Category |
| 3171 |
_definition.class Loop |
| 3172 |
_definition.update 2014-07-07 |
| 3173 |
_description.text |
| 3174 |
; |
| 3175 |
Data items in the DIFFRN_DETECTOR category describe the |
| 3176 |
detector used to measure the scattered radiation, including |
| 3177 |
any analyser and post-sample collimation. |
| 3178 |
; |
| 3179 |
_name.category_id DEMO_DIC_HEAD |
| 3180 |
_name.object_id DIFFRN_DETECTOR |
| 3181 |
_category.key_id '_diffrn_detector.id' |
| 3182 |
loop_ |
| 3183 |
_category_key.name '_diffrn_detector.diffrn_id' '_diffrn_detector.id' |
| 3184 |
|
| 3185 |
save_ |
| 3186 |
|
| 3187 |
|
| 3188 |
save__diffrn_detector.detector |
| 3189 |
|
| 3190 |
_definition.id '_diffrn_detector.detector' |
| 3191 |
loop_ |
| 3192 |
_alias.definition_id |
| 3193 |
'_diffrn_detector.description' |
| 3194 |
'_diffrn_radiation_detector' |
| 3195 |
'_diffrn_detector' |
| 3196 |
_definition.update 2015-11-05 |
| 3197 |
_description.text |
| 3198 |
; |
| 3199 |
Description of the type of diffraction radiation detector. |
| 3200 |
; |
| 3201 |
_name.category_id diffrn_detector |
| 3202 |
_name.object_id description |
| 3203 |
_type.purpose Describe |
| 3204 |
_type.source Recorded |
| 3205 |
_type.container Single |
| 3206 |
_type.contents Text |
| 3207 |
loop_ |
| 3208 |
_description_example.case |
| 3209 |
'photographic film' |
| 3210 |
'scintillation counter' |
| 3211 |
'CCD plate' |
| 3212 |
'BF~3~ counter' |
| 3213 |
|
| 3214 |
save_ |
| 3215 |
|
| 3216 |
|
| 3217 |
save__diffrn_detector.diffrn_id |
| 3218 |
|
| 3219 |
_definition.id '_diffrn_detector.diffrn_id' |
| 3220 |
_definition.update 2014-07-07 |
| 3221 |
_description.text |
| 3222 |
; |
| 3223 |
This data item is a pointer to _diffrn.id in the DIFFRN |
| 3224 |
category. The value of _diffrn.id uniquely defines a set of |
| 3225 |
diffraction data. |
| 3226 |
; |
| 3227 |
_name.category_id diffrn_detector |
| 3228 |
_name.object_id diffrn_id |
| 3229 |
_name.linked_item_id '_diffrn.id' |
| 3230 |
_type.purpose Link |
| 3231 |
_type.source Related |
| 3232 |
_type.container Single |
| 3233 |
_type.contents Code |
| 3234 |
|
| 3235 |
save_ |
| 3236 |
|
| 3237 |
|
| 3238 |
save__diffrn_detector.gain_setting |
| 3239 |
|
| 3240 |
_definition.id '_diffrn_detector.gain_setting' |
| 3241 |
_definition.update 2014-07-07 |
| 3242 |
_description.text |
| 3243 |
; |
| 3244 |
The gain setting for detector. This is a text string usually |
| 3245 |
reflecting a detector setting that may have a simple or very |
| 3246 |
complex relationship with the value of _array_intensities.gain |
| 3247 |
and should not be used directly for computations without |
| 3248 |
further information. |
| 3249 |
This tag is provided for completeness in recording the settings |
| 3250 |
of an experiment using a dector with a panel-switch, jumper |
| 3251 |
or control command that allows a choice of gain settings. |
| 3252 |
; |
| 3253 |
_name.category_id diffrn_detector |
| 3254 |
_name.object_id gain_setting |
| 3255 |
_type.purpose Describe |
| 3256 |
_type.source Recorded |
| 3257 |
_type.container Single |
| 3258 |
_type.contents Text |
| 3259 |
|
| 3260 |
save_ |
| 3261 |
|
| 3262 |
|
| 3263 |
save__diffrn_detector.id |
| 3264 |
|
| 3265 |
_definition.id '_diffrn_detector.id' |
| 3266 |
_definition.update 2014-07-07 |
| 3267 |
_description.text |
| 3268 |
; |
| 3269 |
The value of _diffrn_detector.id must uniquely identify |
| 3270 |
each detector used to collect each diffraction data set. |
| 3271 |
If the value of _diffrn_detector.id is not given, it is |
| 3272 |
implicitly equal to the value of _diffrn_detector.diffrn_id. |
| 3273 |
; |
| 3274 |
_name.category_id diffrn_detector |
| 3275 |
_name.object_id id |
| 3276 |
_name.linked_item_id '_diffrn_detector.diffrn_id' |
| 3277 |
_type.purpose Link |
| 3278 |
_type.source Related |
| 3279 |
_type.container Single |
| 3280 |
_type.contents Code |
| 3281 |
|
| 3282 |
save_ |
| 3283 |
|
| 3284 |
|
| 3285 |
save__diffrn_detector.layer_thickness |
| 3286 |
|
| 3287 |
_definition.id '_diffrn_detector.layer_thickness' |
| 3288 |
_definition.update 2014-07-07 |
| 3289 |
_description.text |
| 3290 |
; |
| 3291 |
The thickness in mm of the sensing layer of the detector |
| 3292 |
for use in angular corrections. |
| 3293 |
; |
| 3294 |
_name.category_id diffrn_detector |
| 3295 |
_name.object_id layer_thickness |
| 3296 |
_type.purpose Number |
| 3297 |
_type.source Derived |
| 3298 |
_type.container Single |
| 3299 |
_type.contents Real |
| 3300 |
_units.code millimetres |
| 3301 |
|
| 3302 |
save_ |
| 3303 |
|
| 3304 |
|
| 3305 |
save__diffrn_detector.number_of_axes |
| 3306 |
|
| 3307 |
_definition.id '_diffrn_detector.number_of_axes' |
| 3308 |
_definition.update 2014-07-07 |
| 3309 |
_description.text |
| 3310 |
; |
| 3311 |
The value of _diffrn_detector.number_of_axes gives the |
| 3312 |
number of axes of the positioner for the detector identified |
| 3313 |
by _diffrn_detector.id. The word 'positioner' is a general term |
| 3314 |
used in instrumentation design for devices that are used to |
| 3315 |
change the positions of portions of apparatus by linear |
| 3316 |
translation, rotation or combinations of such motions. |
| 3317 |
Axes which are used to provide a coordinate system for the |
| 3318 |
face of an area detetctor should not be counted for this |
| 3319 |
data item. |
| 3320 |
The description of each axis should be provided by entries |
| 3321 |
in DIFFRN_DETECTOR_AXIS. |
| 3322 |
; |
| 3323 |
_name.category_id diffrn_detector |
| 3324 |
_name.object_id number_of_axes |
| 3325 |
_type.purpose Number |
| 3326 |
_type.source Derived |
| 3327 |
_type.container Single |
| 3328 |
_type.contents Integer |
| 3329 |
|
| 3330 |
save_ |
| 3331 |
|
| 3332 |
|
| 3333 |
save__diffrn_detector.number_of_elements |
| 3334 |
|
| 3335 |
_definition.id '_diffrn_detector.number_of_elements' |
| 3336 |
_name.object_id number_of_elements |
| 3337 |
_name.category_id diffrn_detector |
| 3338 |
_definition.class Datum |
| 3339 |
_description.text |
| 3340 |
'The number of elements a single frame from this detector is composed from.' |
| 3341 |
_type.purpose Number |
| 3342 |
_type.source Recorded |
| 3343 |
_type.container Single |
| 3344 |
_type.contents Integer |
| 3345 |
loop_ |
| 3346 |
_method.purpose |
| 3347 |
_method.expression |
| 3348 |
Evaluation |
| 3349 |
; |
| 3350 |
with dd as diffrn_detector { |
| 3351 |
el_count = 0 |
| 3352 |
loop dde as diffrn_detector_element { |
| 3353 |
if (dde.detector_id == dd.id) { |
| 3354 |
el_count = el_count + 1 |
| 3355 |
} |
| 3356 |
} |
| 3357 |
dd.number_of_elements = el_count |
| 3358 |
} |
| 3359 |
|
| 3360 |
; |
| 3361 |
|
| 3362 |
save_ |
| 3363 |
|
| 3364 |
|
| 3365 |
save__diffrn_detector.type |
| 3366 |
|
| 3367 |
_definition.id '_diffrn_detector.type' |
| 3368 |
loop_ |
| 3369 |
_alias.definition_id |
| 3370 |
'_diffrn_detector.make' |
| 3371 |
'_diffrn_detector_type' |
| 3372 |
_definition.update 2015-11-05 |
| 3373 |
_description.text |
| 3374 |
; |
| 3375 |
The make, model or name of the diffraction radiation detector. |
| 3376 |
; |
| 3377 |
_name.category_id diffrn_detector |
| 3378 |
_name.object_id make |
| 3379 |
_type.purpose Describe |
| 3380 |
_type.source Recorded |
| 3381 |
_type.container Single |
| 3382 |
_type.contents Text |
| 3383 |
|
| 3384 |
save_ |
| 3385 |
|
| 3386 |
|
| 3387 |
save_DIFFRN_DETECTOR_AXIS |
| 3388 |
|
| 3389 |
_definition.id DIFFRN_DETECTOR_AXIS |
| 3390 |
_definition.scope Category |
| 3391 |
_definition.class Loop |
| 3392 |
_definition.update 2014-07-07 |
| 3393 |
_description.text |
| 3394 |
; |
| 3395 |
Data items in the DIFFRN_DETECTOR_AXIS category associate |
| 3396 |
axes with detectors. |
| 3397 |
; |
| 3398 |
_name.category_id DEMO_DIC_HEAD |
| 3399 |
_name.object_id DIFFRN_DETECTOR_AXIS |
| 3400 |
_category.key_id '_diffrn_detector_axis.id' |
| 3401 |
loop_ |
| 3402 |
_category_key.name |
| 3403 |
'_diffrn_detector_axis.detector_id' |
| 3404 |
'_diffrn_detector_axis.axis_id' |
| 3405 |
|
| 3406 |
save_ |
| 3407 |
|
| 3408 |
|
| 3409 |
save__diffrn_detector_axis.axis_id |
| 3410 |
|
| 3411 |
_definition.id '_diffrn_detector_axis.axis_id' |
| 3412 |
_definition.update 2014-07-07 |
| 3413 |
_description.text |
| 3414 |
; |
| 3415 |
This data item is a pointer to _axis.id in the AXIS category. |
| 3416 |
; |
| 3417 |
_name.category_id diffrn_detector_axis |
| 3418 |
_name.object_id axis_id |
| 3419 |
_name.linked_item_id '_axis.id' |
| 3420 |
_type.purpose Link |
| 3421 |
_type.source Related |
| 3422 |
_type.container Single |
| 3423 |
_type.contents Code |
| 3424 |
|
| 3425 |
save_ |
| 3426 |
|
| 3427 |
|
| 3428 |
save__diffrn_detector_axis.detector_id |
| 3429 |
|
| 3430 |
_definition.id '_diffrn_detector_axis.detector_id' |
| 3431 |
loop_ |
| 3432 |
_alias.definition_id |
| 3433 |
'_diffrn_detector_axis.id' |
| 3434 |
_definition.update 2014-07-07 |
| 3435 |
_description.text |
| 3436 |
; |
| 3437 |
This data item is a pointer to _diffrn_detector.id in |
| 3438 |
the DIFFRN_DETECTOR category. |
| 3439 |
This item was previously named _diffrn_detector_axis.id |
| 3440 |
which is now a deprecated name. The old name is |
| 3441 |
provided as an alias but should not be used for new work. |
| 3442 |
; |
| 3443 |
_name.category_id diffrn_detector_axis |
| 3444 |
_name.object_id detector_id |
| 3445 |
_name.linked_item_id '_diffrn_detector.id' |
| 3446 |
_type.purpose Link |
| 3447 |
_type.source Related |
| 3448 |
_type.container Single |
| 3449 |
_type.contents Code |
| 3450 |
|
| 3451 |
save_ |
| 3452 |
|
| 3453 |
|
| 3454 |
save_DIFFRN_DETECTOR_ELEMENT |
| 3455 |
|
| 3456 |
_definition.id DIFFRN_DETECTOR_ELEMENT |
| 3457 |
_definition.scope Category |
| 3458 |
_definition.class Loop |
| 3459 |
_definition.update 2014-07-07 |
| 3460 |
_description.text |
| 3461 |
; |
| 3462 |
Data items in the DIFFRN_DETECTOR_ELEMENT category record |
| 3463 |
the details about spatial layout and other characteristics |
| 3464 |
of each element of a detector which may have multiple elements. |
| 3465 |
In most cases, giving more detailed information |
| 3466 |
in ARRAY_STRUCTURE_LIST and ARRAY_STRUCTURE_LIST_AXIS |
| 3467 |
is preferable to simply providing the centre of the |
| 3468 |
detector element. |
| 3469 |
; |
| 3470 |
_name.category_id DEMO_DIC_HEAD |
| 3471 |
_name.object_id DIFFRN_DETECTOR_ELEMENT |
| 3472 |
_category.key_id '_diffrn_detector_element.key' |
| 3473 |
loop_ |
| 3474 |
_category_key.name |
| 3475 |
'_diffrn_detector_element.id' |
| 3476 |
'_diffrn_detector_element.detector_id' |
| 3477 |
|
| 3478 |
save_ |
| 3479 |
|
| 3480 |
|
| 3481 |
save__diffrn_detector_element.detector_id |
| 3482 |
|
| 3483 |
_definition.id '_diffrn_detector_element.detector_id' |
| 3484 |
_definition.update 2014-07-07 |
| 3485 |
_description.text |
| 3486 |
; |
| 3487 |
A pointer to _diffrn_detector.id in the DIFFRN_DETECTOR category. |
| 3488 |
; |
| 3489 |
_name.category_id diffrn_detector_element |
| 3490 |
_name.object_id detector_id |
| 3491 |
_name.linked_item_id '_diffrn_detector.id' |
| 3492 |
_type.purpose Link |
| 3493 |
_type.source Related |
| 3494 |
_type.container Single |
| 3495 |
_type.contents Code |
| 3496 |
|
| 3497 |
save_ |
| 3498 |
|
| 3499 |
|
| 3500 |
save__diffrn_detector_element.id |
| 3501 |
|
| 3502 |
_definition.id '_diffrn_detector_element.id' |
| 3503 |
_definition.update 2014-07-07 |
| 3504 |
_description.text |
| 3505 |
; |
| 3506 |
The value of _diffrn_detector_element.id must uniquely |
| 3507 |
identify each element of a detector. |
| 3508 |
; |
| 3509 |
_name.category_id diffrn_detector_element |
| 3510 |
_name.object_id id |
| 3511 |
_type.purpose Key |
| 3512 |
_type.source Assigned |
| 3513 |
_type.container Single |
| 3514 |
_type.contents Code |
| 3515 |
|
| 3516 |
save_ |
| 3517 |
|
| 3518 |
|
| 3519 |
save__diffrn_detector_element.key |
| 3520 |
|
| 3521 |
_definition.id '_diffrn_detector_element.key' |
| 3522 |
_name.object_id key |
| 3523 |
_name.category_id diffrn_detector_element |
| 3524 |
_definition.class Datum |
| 3525 |
_description.text 'This item references a unique entry for the detector element' |
| 3526 |
_type.purpose Key |
| 3527 |
_type.source Derived |
| 3528 |
_type.container Multiple |
| 3529 |
_type.contents Text |
| 3530 |
loop_ |
| 3531 |
_method.purpose |
| 3532 |
_method.expression |
| 3533 |
Evaluation |
| 3534 |
; |
| 3535 |
_diffrn_detector_element.key = [_diffrn_detector_element.id,_diffrn_detector_element.detector_id] |
| 3536 |
|
| 3537 |
; |
| 3538 |
|
| 3539 |
save_ |
| 3540 |
|
| 3541 |
|
| 3542 |
save__diffrn_detector_element.reference_center_fast |
| 3543 |
|
| 3544 |
_definition.id '_diffrn_detector_element.reference_center_fast' |
| 3545 |
_definition.update 2014-07-07 |
| 3546 |
_description.text |
| 3547 |
; |
| 3548 |
The value of _diffrn_detector_element.reference_center_fast is |
| 3549 |
the fast index axis beam center position relative to the detector |
| 3550 |
element face in the units specified in the data item |
| 3551 |
'_diffrn_detector_element.reference_center_units' along the fast |
| 3552 |
axis of the detector from the center of the first pixel to |
| 3553 |
the point at which the Z-axis (which should be colinear with the |
| 3554 |
beam) intersects the face of the detector, if in fact is does. |
| 3555 |
At the time of the measurement all settings of the detector |
| 3556 |
positioner should be at their reference settings. If more than |
| 3557 |
one reference setting has been used the value given whould be |
| 3558 |
representive of the beam center as determined from the ensemble |
| 3559 |
of settings. |
| 3560 |
It is important to note that for measurements in millimetres, |
| 3561 |
the sense of the axis is used, rather than the sign of the |
| 3562 |
pixel-to-pixel increments. |
| 3563 |
; |
| 3564 |
_name.category_id diffrn_detector_element |
| 3565 |
_name.object_id reference_center_fast |
| 3566 |
_type.purpose Number |
| 3567 |
_type.source Derived |
| 3568 |
_type.container Single |
| 3569 |
_type.contents Real |
| 3570 |
|
| 3571 |
save_ |
| 3572 |
|
| 3573 |
|
| 3574 |
save__diffrn_detector_element.reference_center_slow |
| 3575 |
|
| 3576 |
_definition.id '_diffrn_detector_element.reference_center_slow' |
| 3577 |
_definition.update 2014-07-07 |
| 3578 |
_description.text |
| 3579 |
; |
| 3580 |
The value of _diffrn_detector_element.reference_center_slow is |
| 3581 |
the slow index axis beam center position relative to the detector |
| 3582 |
element face in the units specified in the data item |
| 3583 |
'_diffrn_detector_element.reference_center_units' along the slow |
| 3584 |
axis of the detector from the center of the first pixel to |
| 3585 |
the point at which the Z-axis (which should be colinear with the |
| 3586 |
beam) intersects the face of the detector, if in fact is does. |
| 3587 |
At the time of the measurement all settings of the detector |
| 3588 |
positioner should be at their reference settings. If more than |
| 3589 |
one reference setting has been used the value givien whould be |
| 3590 |
representive of the beam center as determined from the ensemble |
| 3591 |
of settings. |
| 3592 |
It is important to note that the sense of the axis is used, |
| 3593 |
rather than the sign of the pixel-to-pixel increments. |
| 3594 |
; |
| 3595 |
_name.category_id diffrn_detector_element |
| 3596 |
_name.object_id reference_center_slow |
| 3597 |
_type.purpose Number |
| 3598 |
_type.source Derived |
| 3599 |
_type.container Single |
| 3600 |
_type.contents Real |
| 3601 |
|
| 3602 |
save_ |
| 3603 |
|
| 3604 |
|
| 3605 |
save__diffrn_detector_element.reference_center_units |
| 3606 |
|
| 3607 |
_definition.id '_diffrn_detector_element.reference_center_units' |
| 3608 |
_definition.update 2014-07-07 |
| 3609 |
_description.text |
| 3610 |
; |
| 3611 |
The value of _diffrn_detector_element.reference_center_units |
| 3612 |
specifies the units in which the values of |
| 3613 |
'_diffrn_detector_element.reference_center_fast' and |
| 3614 |
'_diffrn_detector_element.reference_center_slow' |
| 3615 |
are presented. The default is 'mm' for millimetres. The |
| 3616 |
alternatives are 'pixels' and 'bins'. In all cases the |
| 3617 |
center distances are measured from the center of the |
| 3618 |
first pixel, i.e. in a 2x2 binning, the measuring origin |
| 3619 |
is offset from the centers of the bins by one half pixel |
| 3620 |
towards the first pixel. |
| 3621 |
If 'bins' is specified, the data in |
| 3622 |
'_array_intensities.pixel_fast_bin_size', |
| 3623 |
'_array_intensities.pixel_slow_bin_size', and |
| 3624 |
'_array_intensities.pixel_binning_method' |
| 3625 |
is used to define the binning scheme. |
| 3626 |
; |
| 3627 |
_name.category_id diffrn_detector_element |
| 3628 |
_name.object_id reference_center_units |
| 3629 |
_type.purpose State |
| 3630 |
_type.source Assigned |
| 3631 |
_type.container Single |
| 3632 |
_type.contents Code |
| 3633 |
loop_ |
| 3634 |
_enumeration_set.state |
| 3635 |
_enumeration_set.detail |
| 3636 |
mm millimetres |
| 3637 |
pixels 'detector pixels' |
| 3638 |
bins 'detector bins' |
| 3639 |
|
| 3640 |
save_ |
| 3641 |
|
| 3642 |
|
| 3643 |
save_diffrn_detector_monolithic |
| 3644 |
|
| 3645 |
_name.object_id diffrn_detector_monolithic |
| 3646 |
_name.category_id DEMO_DIC_HEAD |
| 3647 |
_definition.id diffrn_detector_monolithic |
| 3648 |
_definition.scope Category |
| 3649 |
_definition.class Loop |
| 3650 |
_description.text 'A detector consisting of a single element' |
| 3651 |
_category.key_id '_diffrn_detector_monolithic.id' |
| 3652 |
loop_ |
| 3653 |
_category_key.name |
| 3654 |
'_diffrn_detector_monolithic.id' |
| 3655 |
_category_construct_local.type Filter |
| 3656 |
_category_construct_local.components ['_diffrn_detector.number_of_elements'] |
| 3657 |
_category_construct_local.filter [1] |
| 3658 |
_category_construct_local.new_ids [id] |
| 3659 |
_category_construct_local.integer_filter [1] |
| 3660 |
|
| 3661 |
save_ |
| 3662 |
|
| 3663 |
|
| 3664 |
save__diffrn_detector_monolithic.id |
| 3665 |
|
| 3666 |
_definition.id '_diffrn_detector_monolithic.id' |
| 3667 |
_name.object_id id |
| 3668 |
_name.category_id diffrn_detector_monolithic |
| 3669 |
_definition.class Datum |
| 3670 |
_description.text 'PLEASE DEFINE ME' |
| 3671 |
_type.purpose Key |
| 3672 |
_type.source Related |
| 3673 |
_type.container Single |
| 3674 |
_type.contents Text |
| 3675 |
_name.linked_item_id '_diffrn_detector.id' |
| 3676 |
|
| 3677 |
save_ |
| 3678 |
|
| 3679 |
|
| 3680 |
save_diffrn_detector_monolithic_element |
| 3681 |
|
| 3682 |
_name.object_id diffrn_detector_monolithic_element |
| 3683 |
_name.category_id DEMO_DIC_HEAD |
| 3684 |
_definition.id diffrn_detector_monolithic_element |
| 3685 |
_definition.scope Category |
| 3686 |
_definition.class Loop |
| 3687 |
_description.text 'No definition provided' |
| 3688 |
_category_construct_local.components ['_diffrn_detector_element.detector_id' |
| 3689 |
'_diffrn_detector_monolithic.id'] |
| 3690 |
_category_construct_local.type Pullback |
| 3691 |
_category_construct_local.new_ids [key detector_id] |
| 3692 |
_category.key_id '_diffrn_detector_monolithic_element.key' |
| 3693 |
loop_ |
| 3694 |
_category_key.name '_diffrn_detector_monolithic_element.key' |
| 3695 |
|
| 3696 |
save_ |
| 3697 |
|
| 3698 |
|
| 3699 |
save__diffrn_detector_monolithic_element.detector_id |
| 3700 |
|
| 3701 |
_definition.id '_diffrn_detector_monolithic_element.detector_id' |
| 3702 |
_name.object_id detector_id |
| 3703 |
_name.category_id diffrn_detector_monolithic_element |
| 3704 |
_definition.class Datum |
| 3705 |
_description.text 'PLEASE DEFINE ME' |
| 3706 |
_type.purpose Link |
| 3707 |
_type.source Related |
| 3708 |
_type.container Single |
| 3709 |
_type.contents Text |
| 3710 |
|
| 3711 |
save_ |
| 3712 |
|
| 3713 |
|
| 3714 |
save__diffrn_detector_monolithic_element.id |
| 3715 |
|
| 3716 |
_definition.id '_diffrn_detector_monolithic_element.id' |
| 3717 |
_name.object_id id |
| 3718 |
_name.category_id diffrn_detector_monolithic_element |
| 3719 |
_definition.class Datum |
| 3720 |
_description.text 'PLEASE DEFINE ME' |
| 3721 |
_type.purpose Link |
| 3722 |
_type.source Related |
| 3723 |
_type.container Single |
| 3724 |
_type.contents Code |
| 3725 |
_name.linked_item_id '_diffrn_detector_element.id' |
| 3726 |
|
| 3727 |
save_ |
| 3728 |
|
| 3729 |
|
| 3730 |
save__diffrn_detector_monolithic_element.key |
| 3731 |
|
| 3732 |
_definition.id '_diffrn_detector_monolithic_element.key' |
| 3733 |
_name.object_id key |
| 3734 |
_name.category_id diffrn_detector_monolithic_element |
| 3735 |
_definition.class Datum |
| 3736 |
_description.text 'PLEASE DEFINE ME' |
| 3737 |
_type.purpose Key |
| 3738 |
_type.source Derived |
| 3739 |
_type.container Multiple |
| 3740 |
_type.contents Code |
| 3741 |
loop_ |
| 3742 |
_method.purpose |
| 3743 |
_method.expression |
| 3744 |
Evaluation |
| 3745 |
; |
| 3746 |
_diffrn_detector_monolithic_element.key = [_diffrn_detector_monolithic_element.id,_diffrn_detector_monolithic_element.detector_id] |
| 3747 |
|
| 3748 |
; |
| 3749 |
|
| 3750 |
save_ |
| 3751 |
|
| 3752 |
|
| 3753 |
save_DIFFRN_MEASUREMENT |
| 3754 |
|
| 3755 |
_definition.id DIFFRN_MEASUREMENT |
| 3756 |
_definition.scope Category |
| 3757 |
_definition.class Loop |
| 3758 |
_definition.update 2014-07-07 |
| 3759 |
_description.text |
| 3760 |
; |
| 3761 |
Data items in the DIFFRN_MEASUREMENT category record details |
| 3762 |
about the device used to orient and/or position the crystal |
| 3763 |
during data measurement and the manner in which the |
| 3764 |
diffraction data were measured. |
| 3765 |
; |
| 3766 |
_name.category_id DEMO_DIC_HEAD |
| 3767 |
_name.object_id DIFFRN_MEASUREMENT |
| 3768 |
_category.key_id '_diffrn_measurement.key' |
| 3769 |
loop_ |
| 3770 |
_category_key.name |
| 3771 |
'_diffrn_measurement.device' |
| 3772 |
'_diffrn_measurement.diffrn_id' '_diffrn_measurement.id' |
| 3773 |
|
| 3774 |
save_ |
| 3775 |
|
| 3776 |
|
| 3777 |
save__diffrn_measurement.device |
| 3778 |
|
| 3779 |
_definition.id '_diffrn_measurement.device' |
| 3780 |
loop_ |
| 3781 |
_alias.definition_id |
| 3782 |
'_diffrn_measurement.device_class' |
| 3783 |
'_diffrn_measurement_device' |
| 3784 |
'_diffrn.measurement_device_class' |
| 3785 |
_definition.update 2015-11-05 |
| 3786 |
_description.text |
| 3787 |
; |
| 3788 |
Type of goniometer device used to mount and orient the specimen. |
| 3789 |
; |
| 3790 |
_name.category_id diffrn_measurement |
| 3791 |
_name.object_id device_class |
| 3792 |
_type.purpose Describe |
| 3793 |
_type.source Recorded |
| 3794 |
_type.container Single |
| 3795 |
_type.contents Text |
| 3796 |
loop_ |
| 3797 |
_description_example.case |
| 3798 |
'three-circle diffractometer' |
| 3799 |
'four-circle diffractometer' |
| 3800 |
'\k-geometry diffractometer' |
| 3801 |
'oscillation camera' |
| 3802 |
'precession camera' |
| 3803 |
|
| 3804 |
save_ |
| 3805 |
|
| 3806 |
|
| 3807 |
save__diffrn_measurement.device_type |
| 3808 |
|
| 3809 |
_definition.id '_diffrn_measurement.device_type' |
| 3810 |
loop_ |
| 3811 |
_alias.definition_id |
| 3812 |
'_diffrn_measurement.device_make' |
| 3813 |
'_diffrn_measurement_device_type' |
| 3814 |
'_diffrn.measurement_device_make' |
| 3815 |
_definition.update 2015-11-05 |
| 3816 |
_description.text |
| 3817 |
; |
| 3818 |
The make, model or name of the goniometer device used. |
| 3819 |
; |
| 3820 |
_name.category_id diffrn_measurement |
| 3821 |
_name.object_id device_make |
| 3822 |
_type.purpose Describe |
| 3823 |
_type.source Recorded |
| 3824 |
_type.container Single |
| 3825 |
_type.contents Text |
| 3826 |
loop_ |
| 3827 |
_description_example.case |
| 3828 |
'Supper model q' |
| 3829 |
'Huber model r' |
| 3830 |
'Enraf-Nonius model s' |
| 3831 |
home-made |
| 3832 |
|
| 3833 |
save_ |
| 3834 |
|
| 3835 |
|
| 3836 |
save__diffrn_measurement.diffrn_id |
| 3837 |
|
| 3838 |
_definition.id '_diffrn_measurement.diffrn_id' |
| 3839 |
_definition.update 2014-07-07 |
| 3840 |
_description.text |
| 3841 |
; |
| 3842 |
This data item is a pointer to _diffrn.id in the DIFFRN category. |
| 3843 |
; |
| 3844 |
_name.category_id diffrn_measurement |
| 3845 |
_name.object_id diffrn_id |
| 3846 |
_name.linked_item_id '_diffrn.id' |
| 3847 |
_type.purpose Link |
| 3848 |
_type.source Related |
| 3849 |
_type.container Single |
| 3850 |
_type.contents Code |
| 3851 |
|
| 3852 |
save_ |
| 3853 |
|
| 3854 |
|
| 3855 |
save__diffrn_measurement.id |
| 3856 |
|
| 3857 |
_definition.id '_diffrn_measurement.id' |
| 3858 |
_definition.update 2014-07-07 |
| 3859 |
_description.text |
| 3860 |
; |
| 3861 |
The value of _diffrn_measurement.id must uniquely identify |
| 3862 |
the set of mechanical characteristics of the device used to |
| 3863 |
orient and/or position the sample used during the collection |
| 3864 |
of each diffraction data set. |
| 3865 |
If the value of _diffrn_measurement.id is not given, it is |
| 3866 |
implicitly equal to the value of _diffrn_measurement.diffrn_id. |
| 3867 |
Either _diffrn_measurement.device or _diffrn_measurement.id |
| 3868 |
may be used to link to other categories. If the experimental |
| 3869 |
setup admits multiple devices, then _diffrn_measurement.id is |
| 3870 |
used to provide a unique link. |
| 3871 |
; |
| 3872 |
_name.category_id diffrn_measurement |
| 3873 |
_name.object_id id |
| 3874 |
_name.linked_item_id '_diffrn_measurement.diffrn_id' |
| 3875 |
_type.purpose Link |
| 3876 |
_type.source Related |
| 3877 |
_type.container Single |
| 3878 |
_type.contents Code |
| 3879 |
|
| 3880 |
save_ |
| 3881 |
|
| 3882 |
|
| 3883 |
save__diffrn_measurement.number_of_axes |
| 3884 |
|
| 3885 |
_definition.id '_diffrn_measurement.number_of_axes' |
| 3886 |
_definition.update 2014-07-07 |
| 3887 |
_description.text |
| 3888 |
; |
| 3889 |
The value of _diffrn_measurement.number_of_axes gives the |
| 3890 |
number of axes of the positioner for the goniometer or |
| 3891 |
other sample orientation or positioning device identified |
| 3892 |
by _diffrn_measurement.id. The description of the axes |
| 3893 |
should be provided by entries in DIFFRN_MEASUREMENT_AXIS. |
| 3894 |
; |
| 3895 |
_name.category_id diffrn_measurement |
| 3896 |
_name.object_id number_of_axes |
| 3897 |
_type.purpose Number |
| 3898 |
_type.source Derived |
| 3899 |
_type.container Single |
| 3900 |
_type.contents Count |
| 3901 |
|
| 3902 |
save_ |
| 3903 |
|
| 3904 |
|
| 3905 |
save__diffrn_measurement.sample_detector_distance |
| 3906 |
|
| 3907 |
_definition.id '_diffrn_measurement.sample_detector_distance' |
| 3908 |
_definition.update 2014-07-07 |
| 3909 |
_description.text |
| 3910 |
; |
| 3911 |
The value of _diffrn_measurement.sample_detector_distance gives |
| 3912 |
the unsigned distance in millimetres from the sample to the |
| 3913 |
detector along the beam. |
| 3914 |
; |
| 3915 |
_name.category_id diffrn_measurement |
| 3916 |
_name.object_id sample_detector_distance |
| 3917 |
_type.purpose Number |
| 3918 |
_type.source Derived |
| 3919 |
_type.container Single |
| 3920 |
_type.contents Real |
| 3921 |
_units.code millimetres |
| 3922 |
|
| 3923 |
save_ |
| 3924 |
|
| 3925 |
|
| 3926 |
save__diffrn_measurement.sample_detector_voffset |
| 3927 |
|
| 3928 |
_definition.id '_diffrn_measurement.sample_detector_voffset' |
| 3929 |
_definition.update 2014-07-07 |
| 3930 |
_description.text |
| 3931 |
; |
| 3932 |
The value of _diffrn_measurement.sample_detector_voffset gives |
| 3933 |
the signed distance in millimetres in the vertical |
| 3934 |
direction (positive for up) from the center of |
| 3935 |
the beam to the center of the detector. |
| 3936 |
; |
| 3937 |
_name.category_id diffrn_measurement |
| 3938 |
_name.object_id sample_detector_voffset |
| 3939 |
_type.purpose Number |
| 3940 |
_type.source Derived |
| 3941 |
_type.container Single |
| 3942 |
_type.contents Real |
| 3943 |
_units.code millimetres |
| 3944 |
|
| 3945 |
save_ |
| 3946 |
|
| 3947 |
|
| 3948 |
save_DIFFRN_MEASUREMENT_AXIS |
| 3949 |
|
| 3950 |
_definition.id DIFFRN_MEASUREMENT_AXIS |
| 3951 |
_definition.scope Category |
| 3952 |
_definition.class Loop |
| 3953 |
_definition.update 2014-07-07 |
| 3954 |
_description.text |
| 3955 |
; |
| 3956 |
Data items in the DIFFRN_MEASUREMENT_AXIS category associate |
| 3957 |
axes with goniometers. |
| 3958 |
; |
| 3959 |
_name.category_id DEMO_DIC_HEAD |
| 3960 |
_name.object_id DIFFRN_MEASUREMENT_AXIS |
| 3961 |
_category.key_id '_diffrn_measurement_axis.key' |
| 3962 |
loop_ |
| 3963 |
_category_key.name |
| 3964 |
'_diffrn_measurement_axis.measurement_device' |
| 3965 |
'_diffrn_measurement_axis.measurement_id' |
| 3966 |
'_diffrn_measurement_axis.axis_id' |
| 3967 |
|
| 3968 |
save_ |
| 3969 |
|
| 3970 |
|
| 3971 |
save__diffrn_measurement_axis.axis_id |
| 3972 |
|
| 3973 |
_definition.id '_diffrn_measurement_axis.axis_id' |
| 3974 |
_definition.update 2014-07-07 |
| 3975 |
_description.text |
| 3976 |
; |
| 3977 |
This data item is a pointer to _axis.id in the AXIS category. |
| 3978 |
; |
| 3979 |
_name.category_id diffrn_measurement_axis |
| 3980 |
_name.object_id axis_id |
| 3981 |
_name.linked_item_id '_axis.id' |
| 3982 |
_type.purpose Link |
| 3983 |
_type.source Related |
| 3984 |
_type.container Single |
| 3985 |
_type.contents Code |
| 3986 |
|
| 3987 |
save_ |
| 3988 |
|
| 3989 |
|
| 3990 |
save__diffrn_measurement_axis.measurement_device |
| 3991 |
|
| 3992 |
_definition.id '_diffrn_measurement_axis.measurement_device' |
| 3993 |
_definition.update 2014-07-07 |
| 3994 |
_description.text |
| 3995 |
; |
| 3996 |
This data item is a pointer to _diffrn_measurement.device |
| 3997 |
in the DIFFRN_MEASUREMENT category. |
| 3998 |
; |
| 3999 |
_name.category_id diffrn_measurement_axis |
| 4000 |
_name.object_id measurement_device |
| 4001 |
_name.linked_item_id '_diffrn_measurement.device' |
| 4002 |
_type.purpose Link |
| 4003 |
_type.source Related |
| 4004 |
_type.container Single |
| 4005 |
_type.contents Code |
| 4006 |
|
| 4007 |
save_ |
| 4008 |
|
| 4009 |
|
| 4010 |
save__diffrn_measurement_axis.measurement_id |
| 4011 |
|
| 4012 |
_definition.id '_diffrn_measurement_axis.measurement_id' |
| 4013 |
loop_ |
| 4014 |
_alias.definition_id |
| 4015 |
'_diffrn_measurement_axis.id' |
| 4016 |
_definition.update 2014-07-07 |
| 4017 |
_description.text |
| 4018 |
; |
| 4019 |
This data item is a pointer to _diffrn_measurement.id in |
| 4020 |
the DIFFRN_MEASUREMENT category. |
| 4021 |
This item was previously named _diffrn_measurement_axis.id, |
| 4022 |
which is now a deprecated name. The old name is |
| 4023 |
provided as an alias but should not be used for new work. |
| 4024 |
; |
| 4025 |
_name.category_id diffrn_measurement_axis |
| 4026 |
_name.object_id measurement_id |
| 4027 |
_name.linked_item_id '_diffrn_measurement.id' |
| 4028 |
_type.purpose Link |
| 4029 |
_type.source Related |
| 4030 |
_type.container Single |
| 4031 |
_type.contents Code |
| 4032 |
|
| 4033 |
save_ |
| 4034 |
|
| 4035 |
|
| 4036 |
save_DIFFRN_RADIATION |
| 4037 |
|
| 4038 |
_definition.id DIFFRN_RADIATION |
| 4039 |
_definition.scope Category |
| 4040 |
_definition.class Loop |
| 4041 |
_definition.update 2014-07-07 |
| 4042 |
_description.text |
| 4043 |
; |
| 4044 |
Data items in the DIFFRN_RADIATION category describe |
| 4045 |
the radiation used for measuring diffraction intensities, |
| 4046 |
its collimation and monochromatization before the sample. |
| 4047 |
|
| 4048 |
Post-sample treatment of the beam is described by data |
| 4049 |
items in the DIFFRN_DETECTOR category. |
| 4050 |
; |
| 4051 |
_name.category_id DEMO_DIC_HEAD |
| 4052 |
_name.object_id DIFFRN_RADIATION |
| 4053 |
_category.key_id '_diffrn_radiation.diffrn_id' |
| 4054 |
loop_ |
| 4055 |
_category_key.name '_diffrn_radiation.diffrn_id' |
| 4056 |
|
| 4057 |
save_ |
| 4058 |
|
| 4059 |
|
| 4060 |
save__diffrn_radiation.diffrn_id |
| 4061 |
|
| 4062 |
_definition.id '_diffrn_radiation.diffrn_id' |
| 4063 |
_definition.update 2014-07-07 |
| 4064 |
_description.text |
| 4065 |
; |
| 4066 |
This data item is a pointer to _diffrn.id in the DIFFRN category. |
| 4067 |
; |
| 4068 |
_name.category_id diffrn_radiation |
| 4069 |
_name.object_id diffrn_id |
| 4070 |
_name.linked_item_id '_diffrn.id' |
| 4071 |
_type.purpose Link |
| 4072 |
_type.source Related |
| 4073 |
_type.container Single |
| 4074 |
_type.contents Code |
| 4075 |
|
| 4076 |
save_ |
| 4077 |
|
| 4078 |
|
| 4079 |
save__diffrn_radiation.div_x_source |
| 4080 |
|
| 4081 |
_definition.id '_diffrn_radiation.div_x_source' |
| 4082 |
_definition.update 2014-07-07 |
| 4083 |
_description.text |
| 4084 |
; |
| 4085 |
Beam crossfire in degrees parallel to the laboratory X axis |
| 4086 |
(see AXIS category). |
| 4087 |
This is a characteristic of the X-ray beam as it illuminates |
| 4088 |
the sample (or specimen) after all monochromation and |
| 4089 |
collimation. |
| 4090 |
This is the standard uncertainty (e.s.d.) of the directions of |
| 4091 |
photons in the XZ plane around the mean source beam |
| 4092 |
direction. |
| 4093 |
Note that for some synchrotrons this value is specified |
| 4094 |
in milliradians, in which case a conversion is needed. |
| 4095 |
To convert a value in milliradians to a value in degrees, |
| 4096 |
multiply by 0.180 and divide by \p. |
| 4097 |
; |
| 4098 |
_name.category_id diffrn_radiation |
| 4099 |
_name.object_id div_x_source |
| 4100 |
_type.purpose Number |
| 4101 |
_type.source Derived |
| 4102 |
_type.container Single |
| 4103 |
_type.contents Real |
| 4104 |
_units.code degrees |
| 4105 |
|
| 4106 |
save_ |
| 4107 |
|
| 4108 |
|
| 4109 |
save__diffrn_radiation.div_x_y_source |
| 4110 |
|
| 4111 |
_definition.id '_diffrn_radiation.div_x_y_source' |
| 4112 |
_definition.update 2014-07-07 |
| 4113 |
_description.text |
| 4114 |
; |
| 4115 |
Beam crossfire correlation degrees^2^ between the |
| 4116 |
crossfire laboratory X-axis component and the crossfire |
| 4117 |
laboratory Y-axis component (see AXIS category). |
| 4118 |
This is a characteristic of the X-ray beam as it illuminates |
| 4119 |
the sample (or specimen) after all monochromation and |
| 4120 |
collimation. |
| 4121 |
This is the mean of the products of the deviations of the |
| 4122 |
direction of each photon in XZ plane times the deviations |
| 4123 |
of the direction of the same photon in the YZ plane |
| 4124 |
around the mean source beam direction. This will be zero |
| 4125 |
for uncorrelated crossfire. |
| 4126 |
Note that some synchrotrons, this value is specified in |
| 4127 |
milliradians^2^, in which case a conversion would be needed. |
| 4128 |
To go from a value in milliradians^2^ to a value in |
| 4129 |
degrees^2^, multiply by 0.180^2^ and divide by \p^2^. |
| 4130 |
; |
| 4131 |
_name.category_id diffrn_radiation |
| 4132 |
_name.object_id div_x_y_source |
| 4133 |
_type.purpose Number |
| 4134 |
_type.source Derived |
| 4135 |
_type.container Single |
| 4136 |
_type.contents Real |
| 4137 |
_enumeration.default 0.0 |
| 4138 |
_units.code degrees_squared |
| 4139 |
|
| 4140 |
save_ |
| 4141 |
|
| 4142 |
|
| 4143 |
save__diffrn_radiation.div_y_source |
| 4144 |
|
| 4145 |
_definition.id '_diffrn_radiation.div_y_source' |
| 4146 |
_definition.update 2014-07-07 |
| 4147 |
_description.text |
| 4148 |
; |
| 4149 |
Beam crossfire in degrees parallel to the laboratory Y axis |
| 4150 |
(see AXIS category). |
| 4151 |
This is a characteristic of the X-ray beam as it illuminates |
| 4152 |
the sample (or specimen) after all monochromation and |
| 4153 |
collimation. |
| 4154 |
This is the standard uncertainty (e.s.d.) of the directions |
| 4155 |
of photons in the YZ plane around the mean source beam |
| 4156 |
direction. |
| 4157 |
Note that for some synchrotrons this value is specified |
| 4158 |
in milliradians, in which case a conversion is needed. |
| 4159 |
To convert a value in milliradians to a value in degrees, |
| 4160 |
multiply by 0.180 and divide by \p. |
| 4161 |
; |
| 4162 |
_name.category_id diffrn_radiation |
| 4163 |
_name.object_id div_y_source |
| 4164 |
_type.purpose Number |
| 4165 |
_type.source Derived |
| 4166 |
_type.container Single |
| 4167 |
_type.contents Real |
| 4168 |
_enumeration.default 0.0 |
| 4169 |
_units.code degrees |
| 4170 |
|
| 4171 |
save_ |
| 4172 |
|
| 4173 |
|
| 4174 |
save__diffrn_radiation.polarisn_norm_esd |
| 4175 |
|
| 4176 |
_definition.id '_diffrn_radiation.polarisn_norm_esd' |
| 4177 |
loop_ |
| 4178 |
_alias.definition_id |
| 4179 |
'_diffrn_radiation.polarisn_norm_su' |
| 4180 |
_definition.update 2014-07-30 |
| 4181 |
_description.text |
| 4182 |
; |
| 4183 |
The standard uncertainty (esd) of _diffrn_radiation.polarisn_norm, |
| 4184 |
the angle in degrees, as viewed from the specimen, between the |
| 4185 |
perpendicular component of the polarization and the diffraction |
| 4186 |
plane. See _diffrn_radiation_polarisn_ratio. |
| 4187 |
; |
| 4188 |
_name.category_id diffrn_radiation |
| 4189 |
_name.object_id polarisn_norm_su |
| 4190 |
_name.linked_item_id '_diffrn_radiation.polarisn_norm' |
| 4191 |
_type.purpose SU |
| 4192 |
_type.source Related |
| 4193 |
_type.container Single |
| 4194 |
_type.contents Real |
| 4195 |
_units.code degrees |
| 4196 |
|
| 4197 |
save_ |
| 4198 |
|
| 4199 |
|
| 4200 |
save__diffrn_radiation.polarisn_ratio_esd |
| 4201 |
|
| 4202 |
_definition.id '_diffrn_radiation.polarisn_ratio_esd' |
| 4203 |
loop_ |
| 4204 |
_alias.definition_id |
| 4205 |
'_diffrn_radiation.polarisn_ratio_su' |
| 4206 |
'_diffrn_radiation_polarisn_ratio_esd' |
| 4207 |
_definition.update 2014-07-30 |
| 4208 |
_description.text |
| 4209 |
; |
| 4210 |
The standard uncertainty (esd) of _diffrn_radiation.polarisn_ratio, |
| 4211 |
the polarization ratio of the diffraction beam incident on the crystal. |
| 4212 |
; |
| 4213 |
_name.category_id diffrn_radiation |
| 4214 |
_name.object_id polarisn_ratio_esd |
| 4215 |
_name.linked_item_id '_diffrn_radiation.polarisn_ratio' |
| 4216 |
_type.purpose SU |
| 4217 |
_type.source Related |
| 4218 |
_type.container Single |
| 4219 |
_type.contents Real |
| 4220 |
|
| 4221 |
save_ |
| 4222 |
|
| 4223 |
|
| 4224 |
save__diffrn_radiation.polarizn_source_norm |
| 4225 |
|
| 4226 |
_definition.id '_diffrn_radiation.polarizn_source_norm' |
| 4227 |
_definition.update 2014-07-07 |
| 4228 |
_description.text |
| 4229 |
; |
| 4230 |
The angle in degrees, as viewed from the specimen, between |
| 4231 |
the normal to the polarization plane and the laboratory Y |
| 4232 |
axis as defined in the AXIS category. |
| 4233 |
Note that this is the angle of polarization of the source |
| 4234 |
photons, either directly from a synchrotron beamline or |
| 4235 |
from a monochromater. This differs from the value of |
| 4236 |
_diffrn_radiation.polarisn_norm |
| 4237 |
in that _diffrn_radiation.polarisn_norm refers to |
| 4238 |
polarization relative to the diffraction plane rather than |
| 4239 |
to the laboratory axis system. |
| 4240 |
In the case of an unpolarized beam, or a beam with true |
| 4241 |
circular polarization, in which no single plane of |
| 4242 |
polarization can be determined, the plane should be taken |
| 4243 |
as the XZ plane and the angle as 0. |
| 4244 |
See _diffrn_radiation.polarizn_source_ratio. |
| 4245 |
; |
| 4246 |
_name.category_id diffrn_radiation |
| 4247 |
_name.object_id polarizn_source_norm |
| 4248 |
_type.purpose Number |
| 4249 |
_type.source Derived |
| 4250 |
_type.container Single |
| 4251 |
_type.contents Real |
| 4252 |
_enumeration.default 0.0 |
| 4253 |
_units.code degrees |
| 4254 |
|
| 4255 |
save_ |
| 4256 |
|
| 4257 |
|
| 4258 |
save__diffrn_radiation.polarizn_source_norm_esd |
| 4259 |
|
| 4260 |
_definition.id '_diffrn_radiation.polarizn_source_norm_esd' |
| 4261 |
loop_ |
| 4262 |
_alias.definition_id |
| 4263 |
'_diffrn_radiation.polarizn_source_norm_su' |
| 4264 |
_definition.update 2014-07-30 |
| 4265 |
_description.text |
| 4266 |
; |
| 4267 |
The standard uncertainty (esd) of _diffrn_radiation.polarizn_source_norm, |
| 4268 |
the angle in degrees, as viewed from the specimen, between |
| 4269 |
the normal to the polarization plane and the laboratory Y |
| 4270 |
axis as defined in the AXIS category. |
| 4271 |
; |
| 4272 |
_name.category_id diffrn_radiation |
| 4273 |
_name.object_id polarizn_source_norm_su |
| 4274 |
_name.linked_item_id '_diffrn_radiation.polarizn_source_norm' |
| 4275 |
_type.purpose SU |
| 4276 |
_type.source Related |
| 4277 |
_type.container Single |
| 4278 |
_type.contents Real |
| 4279 |
_units.code degrees |
| 4280 |
|
| 4281 |
save_ |
| 4282 |
|
| 4283 |
|
| 4284 |
save__diffrn_radiation.polarizn_source_ratio |
| 4285 |
|
| 4286 |
_definition.id '_diffrn_radiation.polarizn_source_ratio' |
| 4287 |
_definition.update 2014-07-07 |
| 4288 |
_description.text |
| 4289 |
; |
| 4290 |
(Ip-In)/(Ip+In), where Ip is the intensity |
| 4291 |
(amplitude squared) of the electric vector in the plane of |
| 4292 |
polarization and In is the intensity (amplitude squared) |
| 4293 |
of the electric vector in the plane of the normal to the |
| 4294 |
plane of polarization. |
| 4295 |
In the case of an unpolarized beam, or a beam with true |
| 4296 |
circular polarization, in which no single plane of |
| 4297 |
polarization can be determined, the plane is to be taken |
| 4298 |
as the XZ plane and the normal is parallel to the Y axis. |
| 4299 |
Thus, if there was complete polarization in the plane of |
| 4300 |
polarization, the value of |
| 4301 |
_diffrn_radiation.polarizn_source_ratio would be 1, and |
| 4302 |
for an unpolarized beam |
| 4303 |
_diffrn_radiation.polarizn_source_ratio would have a |
| 4304 |
value of 0. |
| 4305 |
If the X axis has been chosen to lie in the plane of |
| 4306 |
polarization, this definition will agree with the definition |
| 4307 |
of 'MONOCHROMATOR' in the Denzo glossary, and values of near |
| 4308 |
1 should be expected for a bending-magnet source. However, |
| 4309 |
if the X axis were perpendicular to the polarization plane |
| 4310 |
(not a common choice), then the Denzo value would be the |
| 4311 |
negative of _diffrn_radiation.polarizn_source_ratio. |
| 4312 |
See http://www.hkl-xray.com for information on Denzo and |
| 4313 |
Otwinowski & Minor (1997). |
| 4314 |
This differs both in the choice of ratio and choice of |
| 4315 |
orientation from _diffrn_radiation.polarisn_ratio, which, |
| 4316 |
unlike _diffrn_radiation.polarizn_source_ratio, is |
| 4317 |
unbounded. |
| 4318 |
Reference: Otwinowski, Z. & Minor, W. (1997). 'Processing of |
| 4319 |
X-ray diffraction data collected in oscillation mode.' Methods |
| 4320 |
Enzymol. 276, 307-326. |
| 4321 |
; |
| 4322 |
_name.category_id diffrn_radiation |
| 4323 |
_name.object_id polarizn_source_ratio |
| 4324 |
_type.purpose Number |
| 4325 |
_type.source Derived |
| 4326 |
_type.container Single |
| 4327 |
_type.contents Real |
| 4328 |
|
| 4329 |
save_ |
| 4330 |
|
| 4331 |
|
| 4332 |
save__diffrn_radiation.polarizn_source_ratio_esd |
| 4333 |
|
| 4334 |
_definition.id '_diffrn_radiation.polarizn_source_ratio_esd' |
| 4335 |
loop_ |
| 4336 |
_alias.definition_id |
| 4337 |
'_diffrn_radiation.polarizn_source_ratio_su' |
| 4338 |
_definition.update 2014-07-30 |
| 4339 |
_description.text |
| 4340 |
; |
| 4341 |
Standard uncertainty (esd)of _diffrn_radiation.polarizn_source_ratio, |
| 4342 |
(Ip-In)/(Ip+In), where Ip is the intensity |
| 4343 |
(amplitude squared) of the electric vector in the plane of |
| 4344 |
polarization and In is the intensity (amplitude squared) |
| 4345 |
of the electric vector in the plane of the normal to the |
| 4346 |
plane of polarization. |
| 4347 |
; |
| 4348 |
_name.category_id diffrn_radiation |
| 4349 |
_name.object_id polarizn_source_ratio_su |
| 4350 |
_name.linked_item_id '_diffrn_radiation.polarizn_source_ratio' |
| 4351 |
_type.purpose SU |
| 4352 |
_type.source Related |
| 4353 |
_type.container Single |
| 4354 |
_type.contents Real |
| 4355 |
|
| 4356 |
save_ |
| 4357 |
|
| 4358 |
|
| 4359 |
save__diffrn_radiation.polarizn_Stokes_I |
| 4360 |
|
| 4361 |
_definition.id '_diffrn_radiation.polarizn_Stokes_I' |
| 4362 |
_definition.update 2014-07-07 |
| 4363 |
_description.text |
| 4364 |
; |
| 4365 |
Ip+In+Inp, where where Ip is the intensity (amplitude squared) |
| 4366 |
of the electric vector in the plane of polarization, |
| 4367 |
In is the intensity (amplitude squared) of the electric vector |
| 4368 |
in the plane of the normal to the plane of polarization, |
| 4369 |
and Inp is the intensity (amplitude squared) of the non- |
| 4370 |
polarized (incoherent) electric vector. |
| 4371 |
This is an average or other representative sample of the scan. |
| 4372 |
This is the first of the Stokes polarization parameters, |
| 4373 |
I, Q, U, V (also known as I, M, C, S). See |
| 4374 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 4375 |
"Measurement of the Stokes parameters of Light", |
| 4376 |
Applied Optics, 16:12, 3200 -- 3205. |
| 4377 |
If the absolute intensity is not known, the value 1. |
| 4378 |
is assumed for I, and all 4 Stokes parameters are |
| 4379 |
dimensionless. When the absolute intensity is known, |
| 4380 |
all 4 Stokes parameters are in units of Watts per |
| 4381 |
square meter. |
| 4382 |
Note that, if the polarized intensity Ip+In is required, |
| 4383 |
(Ip+In)^2 is the sum of Q^2+U^2+V^2. |
| 4384 |
; |
| 4385 |
_name.category_id diffrn_radiation |
| 4386 |
_name.object_id polarizn_Stokes_I |
| 4387 |
_type.purpose Number |
| 4388 |
_type.source Derived |
| 4389 |
_type.container Single |
| 4390 |
_type.contents Real |
| 4391 |
_enumeration.default 1.0 |
| 4392 |
|
| 4393 |
save_ |
| 4394 |
|
| 4395 |
|
| 4396 |
save__diffrn_radiation.polarizn_Stokes_I_esd |
| 4397 |
|
| 4398 |
_definition.id '_diffrn_radiation.polarizn_Stokes_I_esd' |
| 4399 |
loop_ |
| 4400 |
_alias.definition_id |
| 4401 |
'_diffrn_radiation.polarizn_Stokes_I_su' |
| 4402 |
_definition.update 2014-07-30 |
| 4403 |
_description.text |
| 4404 |
; |
| 4405 |
The standard uncertainty (esd)i of _diffrn_radiation.polarizn_Stokes_I, |
| 4406 |
Ip+In+Inp, where where Ip is the intensity (amplitude squared) |
| 4407 |
of the electric vector in the plane of polarization, |
| 4408 |
In is the intensity (amplitude squared) of the electric vector |
| 4409 |
in the plane of the normal to the plane of polarization, |
| 4410 |
and Inp is the intensity (amplitude squared) of the non- |
| 4411 |
polarized (incoherent) electric vector. |
| 4412 |
; |
| 4413 |
_name.category_id diffrn_radiation |
| 4414 |
_name.object_id polarizn_Stokes_I_su |
| 4415 |
_name.linked_item_id '_diffrn_radiation.polarizn_Stokes_I' |
| 4416 |
_type.purpose SU |
| 4417 |
_type.source Related |
| 4418 |
_type.container Single |
| 4419 |
_type.contents Real |
| 4420 |
|
| 4421 |
save_ |
| 4422 |
|
| 4423 |
|
| 4424 |
save__diffrn_radiation.polarizn_Stokes_Q |
| 4425 |
|
| 4426 |
_definition.id '_diffrn_radiation.polarizn_Stokes_Q' |
| 4427 |
_definition.update 2014-07-07 |
| 4428 |
_description.text |
| 4429 |
; |
| 4430 |
(Ip-In)*cos(2*theta), where where Ip is the intensity |
| 4431 |
(amplitude squared) of the electric vector in the plane of |
| 4432 |
polarization, In is the intensity (amplitude squared) of |
| 4433 |
the electric vector in the plane of the normal to the |
| 4434 |
plane of polarization, and theta is the angle as viewed |
| 4435 |
from the specimen, between the normal to the polarization |
| 4436 |
plane and the laboratory Y axis as defined in the |
| 4437 |
AXIS category. |
| 4438 |
This is an average or other representative sample of the scan. |
| 4439 |
This is the second of the Stokes polarization parameters, |
| 4440 |
I, Q, U, V (also known as I, M, C, S). See |
| 4441 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 4442 |
"Measurement of the Stokes parameters of Light", |
| 4443 |
Applied Optics, 16:12, 3200 -- 3205. |
| 4444 |
If the absolute intensity is not known, the value 1. |
| 4445 |
is assumed for I, and all 4 Stokes parameters are |
| 4446 |
dimensionless. When the absolute intensity is known, |
| 4447 |
all 4 Stokes parameters are in units of Watts per |
| 4448 |
square meter. |
| 4449 |
; |
| 4450 |
_name.category_id diffrn_radiation |
| 4451 |
_name.object_id polarizn_Stokes_Q |
| 4452 |
_type.purpose Number |
| 4453 |
_type.source Derived |
| 4454 |
_type.container Single |
| 4455 |
_type.contents Real |
| 4456 |
|
| 4457 |
save_ |
| 4458 |
|
| 4459 |
|
| 4460 |
save__diffrn_radiation.polarizn_Stokes_Q_esd |
| 4461 |
|
| 4462 |
_definition.id '_diffrn_radiation.polarizn_Stokes_Q_esd' |
| 4463 |
loop_ |
| 4464 |
_alias.definition_id |
| 4465 |
'_diffrn_radiation.polarizn_Stokes_Q_su' |
| 4466 |
_definition.update 2014-07-30 |
| 4467 |
_description.text |
| 4468 |
; |
| 4469 |
The standard uncertainty (esd) of _diffrn_radiation.polarizn_Stokes_Q, |
| 4470 |
(Ip-In)*cos(2*theta), where where Ip is the intensity |
| 4471 |
(amplitude squared) of the electric vector in the plane of |
| 4472 |
polarization, In is the intensity (amplitude squared) of |
| 4473 |
the electric vector in the plane of the normal to the |
| 4474 |
plane of polarization, and theta is the angle as viewed |
| 4475 |
from the specimen, between the normal to the polarization |
| 4476 |
plane and the laboratory Y axis as defined in the |
| 4477 |
AXIS category. |
| 4478 |
; |
| 4479 |
_name.category_id diffrn_radiation |
| 4480 |
_name.object_id polarizn_Stokes_Q_su |
| 4481 |
_name.linked_item_id '_diffrn_radiation.polarizn_Stokes_Q' |
| 4482 |
_type.purpose SU |
| 4483 |
_type.source Related |
| 4484 |
_type.container Single |
| 4485 |
_type.contents Real |
| 4486 |
|
| 4487 |
save_ |
| 4488 |
|
| 4489 |
|
| 4490 |
save__diffrn_radiation.polarizn_Stokes_U |
| 4491 |
|
| 4492 |
_definition.id '_diffrn_radiation.polarizn_Stokes_U' |
| 4493 |
_definition.update 2014-07-07 |
| 4494 |
_description.text |
| 4495 |
; |
| 4496 |
(Ip-In)*sin(2*theta), where where Ip is the intensity |
| 4497 |
(amplitude squared) of the electric vector in the plane of |
| 4498 |
polarization, In is the intensity (amplitude squared) of |
| 4499 |
the electric vector in the plane of the normal to the |
| 4500 |
plane of polarization, and theta is the angle as viewed |
| 4501 |
from the specimen, between the normal to the polarization |
| 4502 |
plane and the laboratory Y axis as defined in the |
| 4503 |
AXIS category. |
| 4504 |
This is an average or other representative sample of the scan. |
| 4505 |
This is the third of the Stokes polarization parameters, |
| 4506 |
I, Q, U, V (also known as I, M, C, S). See |
| 4507 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 4508 |
"Measurement of the Stokes parameters of Light", |
| 4509 |
Applied Optics, 16:12, 3200 -- 3205. |
| 4510 |
If the absolute intensity is not known, the value 1. |
| 4511 |
is assumed for I, and all 4 Stokes parameters are |
| 4512 |
dimensionless. When the absolute intensity is known, |
| 4513 |
all 4 Stokes parameters are in units of Watts per |
| 4514 |
square meter. |
| 4515 |
; |
| 4516 |
_name.category_id diffrn_radiation |
| 4517 |
_name.object_id polarizn_Stokes_U |
| 4518 |
_type.purpose Number |
| 4519 |
_type.source Derived |
| 4520 |
_type.container Single |
| 4521 |
_type.contents Real |
| 4522 |
|
| 4523 |
save_ |
| 4524 |
|
| 4525 |
|
| 4526 |
save__diffrn_radiation.polarizn_Stokes_U_esd |
| 4527 |
|
| 4528 |
_definition.id '_diffrn_radiation.polarizn_Stokes_U_esd' |
| 4529 |
loop_ |
| 4530 |
_alias.definition_id |
| 4531 |
'_diffrn_radiation.polarizn_Stokes_U_su' |
| 4532 |
_definition.update 2014-07-30 |
| 4533 |
_description.text |
| 4534 |
; |
| 4535 |
The standard uncertainty (esd) _diffrn_radiation.polarizn_Stokes_U, |
| 4536 |
(Ip-In)*sin(2*theta), where where Ip is the intensity |
| 4537 |
(amplitude squared) of the electric vector in the plane of |
| 4538 |
polarization, In is the intensity (amplitude squared) of |
| 4539 |
the electric vector in the plane of the normal to the |
| 4540 |
plane of polarization, and theta is the angle as viewed |
| 4541 |
from the specimen, between the normal to the polarization |
| 4542 |
plane and the laboratory Y axis as defined in the |
| 4543 |
AXIS category. |
| 4544 |
; |
| 4545 |
_name.category_id diffrn_radiation |
| 4546 |
_name.object_id polarizn_Stokes_U_su |
| 4547 |
_name.linked_item_id '_diffrn_radiation.polarizn_Stokes_U' |
| 4548 |
_type.purpose SU |
| 4549 |
_type.source Related |
| 4550 |
_type.container Single |
| 4551 |
_type.contents Real |
| 4552 |
|
| 4553 |
save_ |
| 4554 |
|
| 4555 |
|
| 4556 |
save__diffrn_radiation.polarizn_Stokes_V |
| 4557 |
|
| 4558 |
_definition.id '_diffrn_radiation.polarizn_Stokes_V' |
| 4559 |
_definition.update 2014-07-07 |
| 4560 |
_description.text |
| 4561 |
; |
| 4562 |
+/-2*sqrt(IpIn), with a + sign for right-handed circular |
| 4563 |
polarization, where where Ip is the intensity |
| 4564 |
(amplitude squared) of the electric vector in the plane of |
| 4565 |
polarization and In is the intensity (amplitude squared) of |
| 4566 |
the electric vector in the plane of the normal to the |
| 4567 |
plane of polarization, and theta is the angle as viewed |
| 4568 |
from the specimen, between the normal to the polarization |
| 4569 |
plane and the laboratory Y axis as defined in the |
| 4570 |
AXIS category. |
| 4571 |
This is an average or other representative sample of the scan. |
| 4572 |
This is the fourth of the Stokes polarization parameters, |
| 4573 |
I, Q, U, V (also known as I, M, C, S). See |
| 4574 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 4575 |
"Measurement of the Stokes parameters of Light", |
| 4576 |
Applied Optics, 16:12, 3200 -- 3205. |
| 4577 |
If the absolute intensity is not known, the value 1. |
| 4578 |
is assumed for I, and all 4 Stokes parameters are |
| 4579 |
dimensionless. When the absolute intensity is known, |
| 4580 |
all 4 Stokes parameters are in units of Watts per |
| 4581 |
square meter. |
| 4582 |
; |
| 4583 |
_name.category_id diffrn_radiation |
| 4584 |
_name.object_id polarizn_Stokes_V |
| 4585 |
_type.purpose Number |
| 4586 |
_type.source Derived |
| 4587 |
_type.container Single |
| 4588 |
_type.contents Real |
| 4589 |
|
| 4590 |
save_ |
| 4591 |
|
| 4592 |
|
| 4593 |
save__diffrn_radiation.polarizn_Stokes_V_esd |
| 4594 |
|
| 4595 |
_definition.id '_diffrn_radiation.polarizn_Stokes_V_esd' |
| 4596 |
loop_ |
| 4597 |
_alias.definition_id |
| 4598 |
'_diffrn_radiation.polarizn_Stokes_V_su' |
| 4599 |
_definition.update 2014-07-30 |
| 4600 |
_description.text |
| 4601 |
; |
| 4602 |
Standard uncertainty (esd) _diffrn_radiation.polarizn_Stokes_V, |
| 4603 |
+/-2*sqrt(IpIn), with a + sign for right-handed circular |
| 4604 |
polarization, where where Ip is the intensity |
| 4605 |
(amplitude squared) of the electric vector in the plane of |
| 4606 |
polarization and In is the intensity (amplitude squared) of |
| 4607 |
the electric vector in the plane of the normal to the |
| 4608 |
plane of polarization, and theta is the angle as viewed |
| 4609 |
from the specimen, between the normal to the polarization |
| 4610 |
plane and the laboratory Y axis as defined in the |
| 4611 |
AXIS category. |
| 4612 |
; |
| 4613 |
_name.category_id diffrn_radiation |
| 4614 |
_name.object_id polarizn_Stokes_V_su |
| 4615 |
_name.linked_item_id '_diffrn_radiation.polarizn_Stokes_V' |
| 4616 |
_type.purpose SU |
| 4617 |
_type.source Related |
| 4618 |
_type.container Single |
| 4619 |
_type.contents Real |
| 4620 |
|
| 4621 |
save_ |
| 4622 |
|
| 4623 |
|
| 4624 |
save_DIFFRN_RADIATION_WAVELENGTH |
| 4625 |
|
| 4626 |
_definition.id DIFFRN_RADIATION_WAVELENGTH |
| 4627 |
_definition.scope Category |
| 4628 |
_definition.class Loop |
| 4629 |
_description.text |
| 4630 |
; |
| 4631 |
This category describes the wavelengths that are incident on |
| 4632 |
the sample |
| 4633 |
; |
| 4634 |
_name.category_id DEMO_DIC_HEAD |
| 4635 |
_name.object_id DIFFRN_RADIATION_WAVELENGTH |
| 4636 |
_category.key_id '_diffrn_radiation_wavelength.id' |
| 4637 |
loop_ |
| 4638 |
_category_key.name '_diffrn_radiation_wavelength.id' |
| 4639 |
|
| 4640 |
save_ |
| 4641 |
|
| 4642 |
|
| 4643 |
save__diffrn_radiation_wavelength.id |
| 4644 |
|
| 4645 |
_description.text |
| 4646 |
; The code identifying each value of |
| 4647 |
_diffrn_radiation_wavelength.wavelength. |
| 4648 |
Items in the DIFFRN_RADIATION_WAVELENGTH category are looped |
| 4649 |
when multiple wavelengths are used. |
| 4650 |
|
| 4651 |
This code is used to link with the DIFFRN_REFLN category. |
| 4652 |
The _diffrn_refln.wavelength_id codes must match one of |
| 4653 |
the codes defined in this category. |
| 4654 |
; |
| 4655 |
_definition.id '_diffrn_radiation_wavelength.id' |
| 4656 |
_name.category_id diffrn_radiation_wavelength |
| 4657 |
_name.object_id id |
| 4658 |
_type.purpose Key |
| 4659 |
_type.source Assigned |
| 4660 |
_type.container Single |
| 4661 |
_type.contents Code |
| 4662 |
|
| 4663 |
save_ |
| 4664 |
|
| 4665 |
|
| 4666 |
save__diffrn_radiation_wavelength.wavelength |
| 4667 |
|
| 4668 |
_description.text ' The radiation wavelength in angstroms.' |
| 4669 |
_definition.id '_diffrn_radiation_wavelength.wavelength' |
| 4670 |
_name.category_id diffrn_radiation_wavelength |
| 4671 |
_name.object_id wavelength |
| 4672 |
_type.contents Real |
| 4673 |
_type.container Single |
| 4674 |
|
| 4675 |
save_ |
| 4676 |
|
| 4677 |
|
| 4678 |
save__diffrn_radiation_wavelength.wt |
| 4679 |
|
| 4680 |
_description.text |
| 4681 |
; The relative weight of a wavelength identified by the code |
| 4682 |
_diffrn_radiation_wavelength.id in the list of wavelengths. |
| 4683 |
; |
| 4684 |
_definition.id '_diffrn_radiation_wavelength.wt' |
| 4685 |
_name.category_id diffrn_radiation_wavelength |
| 4686 |
_name.object_id wt |
| 4687 |
_type.contents Real |
| 4688 |
_type.container Single |
| 4689 |
|
| 4690 |
save_ |
| 4691 |
|
| 4692 |
|
| 4693 |
save_DIFFRN_REFLN |
| 4694 |
|
| 4695 |
_definition.id DIFFRN_REFLN |
| 4696 |
_definition.scope Category |
| 4697 |
_definition.class Loop |
| 4698 |
_definition.update 2014-07-07 |
| 4699 |
_description.text |
| 4700 |
; |
| 4701 |
This category redefinition has been added to extend the key of |
| 4702 |
the standard DIFFRN_REFLN category. |
| 4703 |
Data items in the DIFFRN_REFLN category record details about |
| 4704 |
the intensities in the diffraction data set |
| 4705 |
identified by _diffrn_refln.diffrn_id. |
| 4706 |
The DIFFRN_REFLN data items refer to individual intensity |
| 4707 |
measurements and must be included in looped lists. |
| 4708 |
The DIFFRN_REFLNS data items specify the parameters that apply |
| 4709 |
to all intensity measurements in the particular diffraction |
| 4710 |
data set identified by _diffrn_reflns.diffrn_id and |
| 4711 |
_diffrn_refln.frame_id |
| 4712 |
; |
| 4713 |
_name.category_id DEMO_DIC_HEAD |
| 4714 |
_name.object_id DIFFRN_REFLN |
| 4715 |
_category.key_id '_diffrn_refln.key' |
| 4716 |
loop_ |
| 4717 |
_category_key.name '_diffrn_refln.diffrn_id' '_diffrn_refln.id' |
| 4718 |
'_diffrn_refln.frame_id' |
| 4719 |
|
| 4720 |
save_ |
| 4721 |
|
| 4722 |
|
| 4723 |
save__diffrn_refln.diffrn_id |
| 4724 |
|
| 4725 |
_definition.id '_diffrn_refln.diffrn_id' |
| 4726 |
_definition.update 2014-07-07 |
| 4727 |
_description.text |
| 4728 |
; |
| 4729 |
This item is a placeholder for the definition in the |
| 4730 |
PDBx/mmCIF dictionary. |
| 4731 |
; |
| 4732 |
_name.category_id diffrn_refln |
| 4733 |
_name.object_id diffrn_id |
| 4734 |
_name.linked_item_id '_unknown_at_this_stage' |
| 4735 |
_type.purpose Link |
| 4736 |
_type.source Related |
| 4737 |
_type.container Single |
| 4738 |
_type.contents Code |
| 4739 |
|
| 4740 |
save_ |
| 4741 |
|
| 4742 |
|
| 4743 |
save__diffrn_refln.frame_id |
| 4744 |
|
| 4745 |
_definition.id '_diffrn_refln.frame_id' |
| 4746 |
_definition.update 2014-07-07 |
| 4747 |
_description.text |
| 4748 |
; |
| 4749 |
This item is a pointer to _diffrn_data_frame.id |
| 4750 |
in the DIFFRN_DATA_FRAME category. |
| 4751 |
; |
| 4752 |
_name.category_id diffrn_refln |
| 4753 |
_name.object_id frame_id |
| 4754 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 4755 |
_type.purpose Link |
| 4756 |
_type.source Related |
| 4757 |
_type.container Single |
| 4758 |
_type.contents Code |
| 4759 |
|
| 4760 |
save_ |
| 4761 |
|
| 4762 |
|
| 4763 |
save__diffrn_refln.id |
| 4764 |
|
| 4765 |
_definition.id '_diffrn_refln.id' |
| 4766 |
_definition.update 2014-07-07 |
| 4767 |
_description.text |
| 4768 |
; |
| 4769 |
This item is a placeholder for the definition in the |
| 4770 |
PDBx/mmCIF dictionary. |
| 4771 |
; |
| 4772 |
_name.category_id diffrn_refln |
| 4773 |
_name.object_id id |
| 4774 |
_name.linked_item_id '_unknown_at_this_stage' |
| 4775 |
_type.purpose Link |
| 4776 |
_type.source Related |
| 4777 |
_type.container Single |
| 4778 |
_type.contents Code |
| 4779 |
|
| 4780 |
save_ |
| 4781 |
|
| 4782 |
|
| 4783 |
save__diffrn_refln.variant |
| 4784 |
|
| 4785 |
_definition.id '_diffrn_refln.variant' |
| 4786 |
_definition.update 2014-07-07 |
| 4787 |
_description.text |
| 4788 |
; |
| 4789 |
The value of _diffrn_refln.variant gives the variant |
| 4790 |
to which the given DIFFRN_REFLN row is related. |
| 4791 |
If this value is not given, the variant is assumed to the default |
| 4792 |
null variant. This item is a pointer to _variant.variant in the |
| 4793 |
VARIANT category. |
| 4794 |
; |
| 4795 |
_name.category_id diffrn_refln |
| 4796 |
_name.object_id variant |
| 4797 |
_name.linked_item_id '_variant.variant' |
| 4798 |
_type.purpose Link |
| 4799 |
_type.source Related |
| 4800 |
_type.container Single |
| 4801 |
_type.contents Code |
| 4802 |
|
| 4803 |
save_ |
| 4804 |
|
| 4805 |
|
| 4806 |
save_DIFFRN_SCAN |
| 4807 |
|
| 4808 |
_definition.id DIFFRN_SCAN |
| 4809 |
_definition.scope Category |
| 4810 |
_definition.class Loop |
| 4811 |
_definition.update 2014-07-07 |
| 4812 |
_description.text |
| 4813 |
; |
| 4814 |
Data items in the DIFFRN_SCAN category describe the parameters |
| 4815 |
of one or more scans, relating axis positions to frames. |
| 4816 |
; |
| 4817 |
_name.category_id DEMO_DIC_HEAD |
| 4818 |
_name.object_id DIFFRN_SCAN |
| 4819 |
_category.key_id '_diffrn_scan.id' |
| 4820 |
loop_ |
| 4821 |
_category_key.name '_diffrn_scan.id' |
| 4822 |
|
| 4823 |
save_ |
| 4824 |
|
| 4825 |
|
| 4826 |
save__diffrn_scan.date_end |
| 4827 |
|
| 4828 |
_definition.id '_diffrn_scan.date_end' |
| 4829 |
_definition.update 2014-07-07 |
| 4830 |
_description.text |
| 4831 |
; |
| 4832 |
The date and time of the end of the scan. Note that this |
| 4833 |
may be an estimate generated during the scan, before the |
| 4834 |
precise time of the end of the scan is known. |
| 4835 |
; |
| 4836 |
_name.category_id diffrn_scan |
| 4837 |
_name.object_id date_end |
| 4838 |
_type.purpose Encode |
| 4839 |
_type.source Recorded |
| 4840 |
_type.container Single |
| 4841 |
_type.contents Date |
| 4842 |
|
| 4843 |
save_ |
| 4844 |
|
| 4845 |
|
| 4846 |
save__diffrn_scan.date_start |
| 4847 |
|
| 4848 |
_definition.id '_diffrn_scan.date_start' |
| 4849 |
_definition.update 2014-07-07 |
| 4850 |
_description.text |
| 4851 |
; |
| 4852 |
The date and time of the start of the scan. |
| 4853 |
; |
| 4854 |
_name.category_id diffrn_scan |
| 4855 |
_name.object_id date_start |
| 4856 |
_type.purpose Encode |
| 4857 |
_type.source Recorded |
| 4858 |
_type.container Single |
| 4859 |
_type.contents Date |
| 4860 |
|
| 4861 |
save_ |
| 4862 |
|
| 4863 |
|
| 4864 |
save__diffrn_scan.frame_id_end |
| 4865 |
|
| 4866 |
_definition.id '_diffrn_scan.frame_id_end' |
| 4867 |
_definition.update 2014-07-07 |
| 4868 |
_description.text |
| 4869 |
; |
| 4870 |
The value of this data item is the identifier of the |
| 4871 |
last frame in the scan. |
| 4872 |
|
| 4873 |
This item is a pointer to _diffrn_data_frame.id in the |
| 4874 |
DIFFRN_DATA_FRAME category. |
| 4875 |
; |
| 4876 |
_name.category_id diffrn_scan |
| 4877 |
_name.object_id frame_id_end |
| 4878 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 4879 |
_type.purpose Link |
| 4880 |
_type.source Related |
| 4881 |
_type.container Single |
| 4882 |
_type.contents Code |
| 4883 |
|
| 4884 |
save_ |
| 4885 |
|
| 4886 |
|
| 4887 |
save__diffrn_scan.frame_id_start |
| 4888 |
|
| 4889 |
_definition.id '_diffrn_scan.frame_id_start' |
| 4890 |
_definition.update 2014-07-07 |
| 4891 |
_description.text |
| 4892 |
; |
| 4893 |
The value of this data item is the identifier of the |
| 4894 |
first frame in the scan. |
| 4895 |
This item is a pointer to _diffrn_data_frame.id in the |
| 4896 |
DIFFRN_DATA_FRAME category. |
| 4897 |
; |
| 4898 |
_name.category_id diffrn_scan |
| 4899 |
_name.object_id frame_id_start |
| 4900 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 4901 |
_type.purpose Link |
| 4902 |
_type.source Related |
| 4903 |
_type.container Single |
| 4904 |
_type.contents Code |
| 4905 |
loop_ |
| 4906 |
_method.purpose |
| 4907 |
_method.expression |
| 4908 |
Evaluation |
| 4909 |
; |
| 4910 |
with ds as diffrn_scan |
| 4911 |
loop dsf as diffrn_scan_frame { |
| 4912 |
if (dsf.scan_id == ds.id and dsf.frame_number == 1) { |
| 4913 |
ds.frame_id_start = dsf.frame_id |
| 4914 |
} |
| 4915 |
} |
| 4916 |
|
| 4917 |
; |
| 4918 |
|
| 4919 |
save_ |
| 4920 |
|
| 4921 |
|
| 4922 |
save__diffrn_scan.frames |
| 4923 |
|
| 4924 |
_definition.id '_diffrn_scan.frames' |
| 4925 |
_definition.update 2014-07-07 |
| 4926 |
_description.text |
| 4927 |
; |
| 4928 |
The value is the number of frames in the scan. |
| 4929 |
; |
| 4930 |
_name.category_id diffrn_scan |
| 4931 |
_name.object_id frames |
| 4932 |
_type.purpose Number |
| 4933 |
_type.source Derived |
| 4934 |
_type.container Single |
| 4935 |
_type.contents Count |
| 4936 |
|
| 4937 |
save_ |
| 4938 |
|
| 4939 |
|
| 4940 |
save__diffrn_scan.id |
| 4941 |
|
| 4942 |
_definition.id '_diffrn_scan.id' |
| 4943 |
_definition.update 2014-07-07 |
| 4944 |
_description.text |
| 4945 |
; |
| 4946 |
The value of _diffrn_scan.id uniquely identifies each |
| 4947 |
scan. The identifier is used to tie together all the |
| 4948 |
information about the scan. |
| 4949 |
; |
| 4950 |
_name.category_id diffrn_scan |
| 4951 |
_name.object_id id |
| 4952 |
_type.purpose Key |
| 4953 |
_type.source Assigned |
| 4954 |
_type.container Single |
| 4955 |
_type.contents Code |
| 4956 |
|
| 4957 |
save_ |
| 4958 |
|
| 4959 |
|
| 4960 |
save__diffrn_scan.integration_time |
| 4961 |
|
| 4962 |
_definition.id '_diffrn_scan.integration_time' |
| 4963 |
_definition.update 2014-07-07 |
| 4964 |
_description.text |
| 4965 |
; |
| 4966 |
Approximate average time in seconds to integrate each |
| 4967 |
step of the scan. The precise time for integration |
| 4968 |
of each particular step must be provided in |
| 4969 |
_diffrn_scan_frame.integration_time, even |
| 4970 |
if all steps have the same integration time. |
| 4971 |
; |
| 4972 |
_name.category_id diffrn_scan |
| 4973 |
_name.object_id integration_time |
| 4974 |
_type.purpose Number |
| 4975 |
_type.source Derived |
| 4976 |
_type.container Single |
| 4977 |
_type.contents Real |
| 4978 |
_units.code seconds |
| 4979 |
|
| 4980 |
save_ |
| 4981 |
|
| 4982 |
|
| 4983 |
save__diffrn_scan.number_of_detectors |
| 4984 |
|
| 4985 |
_definition.id '_diffrn_scan.number_of_detectors' |
| 4986 |
_name.object_id number_of_detectors |
| 4987 |
_name.category_id diffrn_scan |
| 4988 |
_definition.class Datum |
| 4989 |
_description.text 'The number of detectors used in this scan' |
| 4990 |
_type.purpose Number |
| 4991 |
_type.source Recorded |
| 4992 |
_type.container Single |
| 4993 |
_type.contents Integer |
| 4994 |
loop_ |
| 4995 |
_method.purpose |
| 4996 |
_method.expression |
| 4997 |
Evaluation |
| 4998 |
; |
| 4999 |
det_count = 0 |
| 5000 |
loop dd as diffrn_detector { |
| 5001 |
det_count = det_count + 1 |
| 5002 |
} |
| 5003 |
_diffrn_scan.number_of_detectors = det_count |
| 5004 |
|
| 5005 |
; |
| 5006 |
|
| 5007 |
save_ |
| 5008 |
|
| 5009 |
|
| 5010 |
save__diffrn_scan.number_of_scanned_axes |
| 5011 |
|
| 5012 |
_definition.id '_diffrn_scan.number_of_scanned_axes' |
| 5013 |
_name.object_id number_of_scanned_axes |
| 5014 |
_name.category_id diffrn_scan |
| 5015 |
_definition.class Datum |
| 5016 |
_description.text 'The number of axes simultaneously moved while scanning' |
| 5017 |
_type.purpose Number |
| 5018 |
_type.source Recorded |
| 5019 |
_type.container Single |
| 5020 |
_type.contents Integer |
| 5021 |
loop_ |
| 5022 |
_method.purpose |
| 5023 |
_method.expression |
| 5024 |
Evaluation |
| 5025 |
; |
| 5026 |
with ds as diffrn_scan |
| 5027 |
axis_count = 0 |
| 5028 |
loop dsa as diffrn_scan_axis { |
| 5029 |
if (dsa.scan_id != ds.id) continue |
| 5030 |
aincr = dsa.angle_increment |
| 5031 |
dincr = dsa.displacement_increment |
| 5032 |
if ((aincr != 0) or (dincr != 0)) { |
| 5033 |
axis_count = axis_count + 1 |
| 5034 |
} |
| 5035 |
} |
| 5036 |
ds.number_of_scanned_axes = axis_count |
| 5037 |
|
| 5038 |
; |
| 5039 |
|
| 5040 |
save_ |
| 5041 |
|
| 5042 |
|
| 5043 |
save__diffrn_scan.time_period |
| 5044 |
|
| 5045 |
_definition.id '_diffrn_scan.time_period' |
| 5046 |
_definition.update 2014-07-07 |
| 5047 |
_description.text |
| 5048 |
; |
| 5049 |
Approximate average time in seconds between the start |
| 5050 |
of each step of the scan. The precise start-to-start |
| 5051 |
time increment of each particular step may be provided in |
| 5052 |
_diffrn_scan_frame.time_period. |
| 5053 |
; |
| 5054 |
_name.category_id diffrn_scan |
| 5055 |
_name.object_id time_period |
| 5056 |
_type.purpose Number |
| 5057 |
_type.source Derived |
| 5058 |
_type.container Single |
| 5059 |
_type.contents Real |
| 5060 |
_units.code seconds |
| 5061 |
|
| 5062 |
save_ |
| 5063 |
|
| 5064 |
|
| 5065 |
save__diffrn_scan.time_rstrt_incr |
| 5066 |
|
| 5067 |
_definition.id '_diffrn_scan.time_rstrt_incr' |
| 5068 |
_definition.update 2014-07-07 |
| 5069 |
_description.text |
| 5070 |
; |
| 5071 |
Approximate average time in seconds between the end |
| 5072 |
of integration of each step of the scan than the start |
| 5073 |
of integration of the next step. In general, this will |
| 5074 |
agree with _diffrn_scan_frame.time_rstrt_incr. The |
| 5075 |
sum of the values of _diffrn_scan_frame.integration_time |
| 5076 |
and _diffrn_scan_frame.time_rstrt_incr is the |
| 5077 |
time from the start of integration of one frame and the start of |
| 5078 |
integration for the next frame and should equal the value of |
| 5079 |
_diffrn_scan_frame.time_period for this |
| 5080 |
frame. If the individual frame values vary, then the value of |
| 5081 |
_diffrn_scan.time_rstrt_incr will be |
| 5082 |
representative of the ensemble of values of |
| 5083 |
_diffrn_scan_frame_axis.time_rstrt_incr (e.g. the mean). |
| 5084 |
; |
| 5085 |
_name.category_id diffrn_scan |
| 5086 |
_name.object_id time_rstrt_incr |
| 5087 |
_type.purpose Number |
| 5088 |
_type.source Derived |
| 5089 |
_type.container Single |
| 5090 |
_type.contents Real |
| 5091 |
_units.code seconds |
| 5092 |
|
| 5093 |
save_ |
| 5094 |
|
| 5095 |
|
| 5096 |
save_DIFFRN_SCAN_AXIS |
| 5097 |
|
| 5098 |
_definition.id DIFFRN_SCAN_AXIS |
| 5099 |
_definition.scope Category |
| 5100 |
_definition.class Loop |
| 5101 |
_definition.update 2014-07-07 |
| 5102 |
_description.text |
| 5103 |
; |
| 5104 |
items in the DIFFRN_SCAN_AXIS category describe the settings of |
| 5105 |
for particular scans. Unspecified axes are assumed to be at |
| 5106 |
zero points. |
| 5107 |
; |
| 5108 |
_name.category_id DEMO_DIC_HEAD |
| 5109 |
_name.object_id DIFFRN_SCAN_AXIS |
| 5110 |
_category.key_id '_diffrn_scan_axis.key' |
| 5111 |
loop_ |
| 5112 |
_category_key.name '_diffrn_scan_axis.scan_id' '_diffrn_scan_axis.axis_id' |
| 5113 |
|
| 5114 |
save_ |
| 5115 |
|
| 5116 |
|
| 5117 |
save__diffrn_scan_axis.angle_increment |
| 5118 |
|
| 5119 |
_definition.id '_diffrn_scan_axis.angle_increment' |
| 5120 |
_definition.update 2014-07-07 |
| 5121 |
_description.text |
| 5122 |
; |
| 5123 |
The increment for each step for the specified axis |
| 5124 |
in degrees. In general, this will agree with |
| 5125 |
_diffrn_scan_frame_axis.angle_increment. The |
| 5126 |
sum of the values of _diffrn_scan_frame_axis.angle and |
| 5127 |
_diffrn_scan_frame_axis.angle_increment is the |
| 5128 |
angular setting of the axis at the end of the integration |
| 5129 |
time for a given frame. If the individual frame values |
| 5130 |
vary, then the value of _diffrn_scan_axis.angle_increment |
| 5131 |
will be representative of the ensemble of values of |
| 5132 |
_diffrn_scan_frame_axis.angle_increment (e.g. the mean). |
| 5133 |
; |
| 5134 |
_name.category_id diffrn_scan_axis |
| 5135 |
_name.object_id angle_increment |
| 5136 |
_type.purpose Number |
| 5137 |
_type.source Derived |
| 5138 |
_type.container Single |
| 5139 |
_type.contents Real |
| 5140 |
_enumeration.default 0.0 |
| 5141 |
_units.code degrees |
| 5142 |
|
| 5143 |
save_ |
| 5144 |
|
| 5145 |
|
| 5146 |
save__diffrn_scan_axis.angle_range |
| 5147 |
|
| 5148 |
_definition.id '_diffrn_scan_axis.angle_range' |
| 5149 |
_definition.update 2014-07-07 |
| 5150 |
_description.text |
| 5151 |
; |
| 5152 |
The range from the starting position for the specified axis. |
| 5153 |
; |
| 5154 |
_name.category_id diffrn_scan_axis |
| 5155 |
_name.object_id angle_range |
| 5156 |
_type.purpose Number |
| 5157 |
_type.source Derived |
| 5158 |
_type.container Single |
| 5159 |
_type.contents Real |
| 5160 |
_enumeration.default 0.0 |
| 5161 |
_units.code degrees |
| 5162 |
|
| 5163 |
save_ |
| 5164 |
|
| 5165 |
|
| 5166 |
save__diffrn_scan_axis.angle_rstrt_incr |
| 5167 |
|
| 5168 |
_definition.id '_diffrn_scan_axis.angle_rstrt_incr' |
| 5169 |
_definition.update 2014-07-07 |
| 5170 |
_description.text |
| 5171 |
; |
| 5172 |
The increment after each step for the specified axis |
| 5173 |
in degrees. In general, this will agree with |
| 5174 |
_diffrn_scan_frame_axis.angle_rstrt_incr. The |
| 5175 |
sum of the values of _diffrn_scan_frame_axis.angle, |
| 5176 |
_diffrn_scan_frame_axis.angle_increment |
| 5177 |
and _diffrn_scan_frame_axis.angle_rstrt_incr is the |
| 5178 |
angular setting of the axis at the start of the integration |
| 5179 |
time for the next frame relative to a given frame and |
| 5180 |
should equal _diffrn_scan_frame_axis.angle for this |
| 5181 |
next frame. If the individual frame values vary, then |
| 5182 |
the value of _diffrn_scan_axis.angle_rstrt_incr will be |
| 5183 |
representative of the ensemble of values of |
| 5184 |
_diffrn_scan_frame_axis.angle_rstrt_incr (e.g. the mean). |
| 5185 |
; |
| 5186 |
_name.category_id diffrn_scan_axis |
| 5187 |
_name.object_id angle_rstrt_incr |
| 5188 |
_type.purpose Number |
| 5189 |
_type.source Derived |
| 5190 |
_type.container Single |
| 5191 |
_type.contents Real |
| 5192 |
_enumeration.default 0.0 |
| 5193 |
_units.code degrees |
| 5194 |
|
| 5195 |
save_ |
| 5196 |
|
| 5197 |
|
| 5198 |
save__diffrn_scan_axis.angle_start |
| 5199 |
|
| 5200 |
_definition.id '_diffrn_scan_axis.angle_start' |
| 5201 |
_definition.update 2014-07-07 |
| 5202 |
_description.text |
| 5203 |
; |
| 5204 |
The starting position for the specified axis in degrees. |
| 5205 |
; |
| 5206 |
_name.category_id diffrn_scan_axis |
| 5207 |
_name.object_id angle_start |
| 5208 |
_type.purpose Number |
| 5209 |
_type.source Derived |
| 5210 |
_type.container Single |
| 5211 |
_type.contents Real |
| 5212 |
_enumeration.default 0.0 |
| 5213 |
_units.code degrees |
| 5214 |
|
| 5215 |
save_ |
| 5216 |
|
| 5217 |
|
| 5218 |
save__diffrn_scan_axis.axis_id |
| 5219 |
|
| 5220 |
_definition.id '_diffrn_scan_axis.axis_id' |
| 5221 |
_definition.update 2014-07-07 |
| 5222 |
_description.text |
| 5223 |
; |
| 5224 |
The value of this data item is the identifier of one of |
| 5225 |
the axes for the scan for which settings are being specified. |
| 5226 |
Multiple axes may be specified for the same value of |
| 5227 |
_diffrn_scan.id. |
| 5228 |
This item is a pointer to _axis.id in the |
| 5229 |
AXIS category. |
| 5230 |
; |
| 5231 |
_name.category_id diffrn_scan_axis |
| 5232 |
_name.object_id axis_id |
| 5233 |
_name.linked_item_id '_axis.id' |
| 5234 |
_type.purpose Link |
| 5235 |
_type.source Related |
| 5236 |
_type.container Single |
| 5237 |
_type.contents Code |
| 5238 |
|
| 5239 |
save_ |
| 5240 |
|
| 5241 |
|
| 5242 |
save__diffrn_scan_axis.displacement_increment |
| 5243 |
|
| 5244 |
_definition.id '_diffrn_scan_axis.displacement_increment' |
| 5245 |
_definition.update 2014-07-07 |
| 5246 |
_description.text |
| 5247 |
; |
| 5248 |
The increment for each step for the specified axis |
| 5249 |
in millimetres. In general, this will agree with |
| 5250 |
_diffrn_scan_frame_axis.displacement_increment. |
| 5251 |
The sum of the values of _diffrn_scan_frame_axis.displacement |
| 5252 |
and _diffrn_scan_frame_axis.displacement_increment is the |
| 5253 |
angular setting of the axis at the end of the integration |
| 5254 |
time for a given frame. If the individual frame values |
| 5255 |
vary, then the value of _diffrn_scan_axis.displacement_increment |
| 5256 |
will be representative of the ensemble of values of |
| 5257 |
_diffrn_scan_frame_axis.displacement_increment (e.g. the mean). |
| 5258 |
; |
| 5259 |
_name.category_id diffrn_scan_axis |
| 5260 |
_name.object_id displacement_increment |
| 5261 |
_type.purpose Number |
| 5262 |
_type.source Derived |
| 5263 |
_type.container Single |
| 5264 |
_type.contents Real |
| 5265 |
_enumeration.default 0.0 |
| 5266 |
_units.code millimetres |
| 5267 |
|
| 5268 |
save_ |
| 5269 |
|
| 5270 |
|
| 5271 |
save__diffrn_scan_axis.displacement_range |
| 5272 |
|
| 5273 |
_definition.id '_diffrn_scan_axis.displacement_range' |
| 5274 |
_definition.update 2014-07-07 |
| 5275 |
_description.text |
| 5276 |
; |
| 5277 |
The range from the starting position for the specified axis. |
| 5278 |
; |
| 5279 |
_name.category_id diffrn_scan_axis |
| 5280 |
_name.object_id displacement_range |
| 5281 |
_type.purpose Number |
| 5282 |
_type.source Derived |
| 5283 |
_type.container Single |
| 5284 |
_type.contents Real |
| 5285 |
_enumeration.default 0.0 |
| 5286 |
_units.code millimetres |
| 5287 |
|
| 5288 |
save_ |
| 5289 |
|
| 5290 |
|
| 5291 |
save__diffrn_scan_axis.displacement_rstrt_incr |
| 5292 |
|
| 5293 |
_definition.id '_diffrn_scan_axis.displacement_rstrt_incr' |
| 5294 |
_definition.update 2014-07-07 |
| 5295 |
_description.text |
| 5296 |
; |
| 5297 |
The increment for each step for the specified axis |
| 5298 |
in millimetres. In general, this will agree with |
| 5299 |
_diffrn_scan_frame_axis.displacement_rstrt_incr. |
| 5300 |
The sum of the values of _diffrn_scan_frame_axis.displacement, |
| 5301 |
_diffrn_scan_frame_axis.displacement_increment and |
| 5302 |
_diffrn_scan_frame_axis.displacement_rstrt_incr is the |
| 5303 |
angular setting of the axis at the start of the integration |
| 5304 |
time for the next frame relative to a given frame and |
| 5305 |
should equal _diffrn_scan_frame_axis.displacement |
| 5306 |
for this next frame. If the individual frame values vary, then |
| 5307 |
the value of _diffrn_scan_axis.displacement_rstrt_incr will be |
| 5308 |
representative of the ensemble of values of |
| 5309 |
_diffrn_scan_frame_axis.displacement_rstrt_incr (e.g. the mean). |
| 5310 |
; |
| 5311 |
_name.category_id diffrn_scan_axis |
| 5312 |
_name.object_id displacement_rstrt_incr |
| 5313 |
_type.purpose Number |
| 5314 |
_type.source Derived |
| 5315 |
_type.container Single |
| 5316 |
_type.contents Real |
| 5317 |
_enumeration.default 0.0 |
| 5318 |
_units.code millimetres |
| 5319 |
|
| 5320 |
save_ |
| 5321 |
|
| 5322 |
|
| 5323 |
save__diffrn_scan_axis.displacement_start |
| 5324 |
|
| 5325 |
_definition.id '_diffrn_scan_axis.displacement_start' |
| 5326 |
_definition.update 2014-07-07 |
| 5327 |
_description.text |
| 5328 |
; |
| 5329 |
The starting position for the specified axis in millimetres. |
| 5330 |
; |
| 5331 |
_name.category_id diffrn_scan_axis |
| 5332 |
_name.object_id displacement_start |
| 5333 |
_type.purpose Number |
| 5334 |
_type.source Derived |
| 5335 |
_type.container Single |
| 5336 |
_type.contents Real |
| 5337 |
_enumeration.default 0.0 |
| 5338 |
_units.code millimetres |
| 5339 |
|
| 5340 |
save_ |
| 5341 |
|
| 5342 |
|
| 5343 |
save__diffrn_scan_axis.key |
| 5344 |
|
| 5345 |
_definition.id '_diffrn_scan_axis.key' |
| 5346 |
_definition.update 2015-11-17 |
| 5347 |
_description.text |
| 5348 |
; |
| 5349 |
The value of this data item is a unique identifier for this |
| 5350 |
category |
| 5351 |
; |
| 5352 |
_name.category_id diffrn_scan_axis |
| 5353 |
_name.object_id key |
| 5354 |
_type.purpose Link |
| 5355 |
_type.source Related |
| 5356 |
_type.container Single |
| 5357 |
_type.contents Code |
| 5358 |
loop_ |
| 5359 |
_method.purpose |
| 5360 |
_method.expression |
| 5361 |
Evaluation |
| 5362 |
; |
| 5363 |
_diffrn_scan_axis.key = [_diffrn_scan_axis.scan_id,_diffrn_scan_axis.axis_id] |
| 5364 |
; |
| 5365 |
|
| 5366 |
save_ |
| 5367 |
|
| 5368 |
|
| 5369 |
save__diffrn_scan_axis.reference_angle |
| 5370 |
|
| 5371 |
_definition.id '_diffrn_scan_axis.reference_angle' |
| 5372 |
_definition.update 2014-07-07 |
| 5373 |
_description.text |
| 5374 |
; |
| 5375 |
The setting of the specified axis in degrees |
| 5376 |
against which measurements of the reference beam center |
| 5377 |
and reference detector distance should be made. |
| 5378 |
In general, this will agree with |
| 5379 |
_diffrn_scan_frame_axis.reference_angle. |
| 5380 |
If the individual frame values vary, then the value of |
| 5381 |
_diffrn_scan_axis.reference_angle will be |
| 5382 |
representative of the ensemble of values of |
| 5383 |
_diffrn_scan_frame_axis.reference_angle (e.g. |
| 5384 |
the mean). |
| 5385 |
; |
| 5386 |
_name.category_id diffrn_scan_axis |
| 5387 |
_name.object_id reference_angle |
| 5388 |
_type.purpose Number |
| 5389 |
_type.source Derived |
| 5390 |
_type.container Single |
| 5391 |
_type.contents Real |
| 5392 |
_enumeration.default 0.0 |
| 5393 |
_units.code degrees |
| 5394 |
|
| 5395 |
save_ |
| 5396 |
|
| 5397 |
|
| 5398 |
save__diffrn_scan_axis.reference_displacement |
| 5399 |
|
| 5400 |
_definition.id '_diffrn_scan_axis.reference_displacement' |
| 5401 |
_definition.update 2014-07-07 |
| 5402 |
_description.text |
| 5403 |
; |
| 5404 |
The setting of the specified axis in millimetres |
| 5405 |
against which measurements of the reference beam center |
| 5406 |
and reference detector distance should be made. |
| 5407 |
In general, this will agree with |
| 5408 |
_diffrn_scan_frame_axis.reference_displacement. |
| 5409 |
If the individual frame values vary, then the value of |
| 5410 |
_diffrn_scan_axis.reference_displacement will be |
| 5411 |
representative of the ensemble of values of |
| 5412 |
_diffrn_scan_frame_axis.reference_displacement (e.g. the mean). |
| 5413 |
; |
| 5414 |
_name.category_id diffrn_scan_axis |
| 5415 |
_name.object_id reference_displacement |
| 5416 |
_type.purpose Number |
| 5417 |
_type.source Derived |
| 5418 |
_type.container Single |
| 5419 |
_type.contents Real |
| 5420 |
_units.code millimetres |
| 5421 |
|
| 5422 |
save_ |
| 5423 |
|
| 5424 |
|
| 5425 |
save__diffrn_scan_axis.scan_id |
| 5426 |
|
| 5427 |
_definition.id '_diffrn_scan_axis.scan_id' |
| 5428 |
_definition.update 2014-07-07 |
| 5429 |
_description.text |
| 5430 |
; |
| 5431 |
The value of this data item is the identifier of the |
| 5432 |
scan for which axis settings are being specified. |
| 5433 |
Multiple axes may be specified for the same value of |
| 5434 |
_diffrn_scan.id. |
| 5435 |
This item is a pointer to _diffrn_scan.id in the |
| 5436 |
DIFFRN_SCAN category. |
| 5437 |
; |
| 5438 |
_name.category_id diffrn_scan_axis |
| 5439 |
_name.object_id scan_id |
| 5440 |
_name.linked_item_id '_diffrn_scan.id' |
| 5441 |
_type.purpose Link |
| 5442 |
_type.source Related |
| 5443 |
_type.container Single |
| 5444 |
_type.contents Code |
| 5445 |
|
| 5446 |
save_ |
| 5447 |
|
| 5448 |
|
| 5449 |
save_DIFFRN_SCAN_FRAME |
| 5450 |
|
| 5451 |
_definition.id DIFFRN_SCAN_FRAME |
| 5452 |
_definition.scope Category |
| 5453 |
_definition.class Loop |
| 5454 |
_definition.update 2014-07-07 |
| 5455 |
_description.text |
| 5456 |
; |
| 5457 |
Data items in the DIFFRN_SCAN_FRAME category describe |
| 5458 |
the relationships of particular frames to scans. |
| 5459 |
; |
| 5460 |
_name.category_id DEMO_DIC_HEAD |
| 5461 |
_name.object_id DIFFRN_SCAN_FRAME |
| 5462 |
_category.key_id '_diffrn_scan_frame.key' |
| 5463 |
loop_ |
| 5464 |
_category_key.name '_diffrn_scan_frame.scan_id' '_diffrn_scan_frame.frame_id' |
| 5465 |
loop_ |
| 5466 |
_method.purpose |
| 5467 |
_method.expression |
| 5468 |
Evaluation |
| 5469 |
; |
| 5470 |
with dssf as diffrn_scan_simple_frames |
| 5471 |
diffrn_scan_frame (.scan_id = dssf.scan_id, |
| 5472 |
.frame_id = dssf.frame_id, |
| 5473 |
.frame_number = dssf.frame_number |
| 5474 |
) |
| 5475 |
|
| 5476 |
; |
| 5477 |
|
| 5478 |
save_ |
| 5479 |
|
| 5480 |
|
| 5481 |
save__diffrn_scan_frame.date |
| 5482 |
|
| 5483 |
_definition.id '_diffrn_scan_frame.date' |
| 5484 |
_definition.update 2014-07-07 |
| 5485 |
_description.text |
| 5486 |
; |
| 5487 |
The date and time of the start of the frame being scanned. |
| 5488 |
; |
| 5489 |
_name.category_id diffrn_scan_frame |
| 5490 |
_name.object_id date |
| 5491 |
_type.purpose Encode |
| 5492 |
_type.source Recorded |
| 5493 |
_type.container Single |
| 5494 |
_type.contents Date |
| 5495 |
|
| 5496 |
save_ |
| 5497 |
|
| 5498 |
|
| 5499 |
save__diffrn_scan_frame.frame_id |
| 5500 |
|
| 5501 |
_definition.id '_diffrn_scan_frame.frame_id' |
| 5502 |
_definition.update 2014-07-07 |
| 5503 |
_description.text |
| 5504 |
; |
| 5505 |
The value of this data item is the identifier of the |
| 5506 |
frame being examined. This item is a pointer to |
| 5507 |
_diffrn_data_frame.id in the DIFFRN_DATA_FRAME category. |
| 5508 |
; |
| 5509 |
_name.category_id diffrn_scan_frame |
| 5510 |
_name.object_id frame_id |
| 5511 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 5512 |
_type.purpose Link |
| 5513 |
_type.source Related |
| 5514 |
_type.container Single |
| 5515 |
_type.contents Code |
| 5516 |
|
| 5517 |
save_ |
| 5518 |
|
| 5519 |
|
| 5520 |
save__diffrn_scan_frame.frame_number |
| 5521 |
|
| 5522 |
_definition.id '_diffrn_scan_frame.frame_number' |
| 5523 |
_definition.update 2014-07-07 |
| 5524 |
_description.text |
| 5525 |
; |
| 5526 |
The value of this data item is the number of the frame |
| 5527 |
within the scan, starting with 1. It is not necessarily |
| 5528 |
the same as the value of _diffrn_scan_frame.frame_id, |
| 5529 |
but it may be. |
| 5530 |
; |
| 5531 |
_name.category_id diffrn_scan_frame |
| 5532 |
_name.object_id frame_number |
| 5533 |
_type.purpose Number |
| 5534 |
_type.source Derived |
| 5535 |
_type.container Single |
| 5536 |
_type.contents Count |
| 5537 |
_enumeration.range 1: |
| 5538 |
|
| 5539 |
save_ |
| 5540 |
|
| 5541 |
|
| 5542 |
save__diffrn_scan_frame.integration_time |
| 5543 |
|
| 5544 |
_definition.id '_diffrn_scan_frame.integration_time' |
| 5545 |
_definition.update 2014-07-07 |
| 5546 |
_description.text |
| 5547 |
; |
| 5548 |
The time in seconds to integrate this step of the scan. |
| 5549 |
This should be the precise time of integration of each |
| 5550 |
particular frame. The value of this data item should |
| 5551 |
be given explicitly for each frame and not inferred |
| 5552 |
from the value of _diffrn_scan.integration_time. |
| 5553 |
; |
| 5554 |
_name.category_id diffrn_scan_frame |
| 5555 |
_name.object_id Integeregration_time |
| 5556 |
_type.purpose Number |
| 5557 |
_type.source Derived |
| 5558 |
_type.container Single |
| 5559 |
_type.contents Real |
| 5560 |
_units.code seconds |
| 5561 |
|
| 5562 |
save_ |
| 5563 |
|
| 5564 |
|
| 5565 |
save__diffrn_scan_frame.key |
| 5566 |
|
| 5567 |
_definition.id '_diffrn_scan_frame.key' |
| 5568 |
_definition.update 2015-11-12 |
| 5569 |
_description.text |
| 5570 |
; |
| 5571 |
The value of this data item is a unique identifier of items |
| 5572 |
in this category. |
| 5573 |
; |
| 5574 |
_name.category_id diffrn_scan_frame |
| 5575 |
_name.object_id key |
| 5576 |
_type.purpose Key |
| 5577 |
_type.source Assigned |
| 5578 |
_type.container Single |
| 5579 |
_type.contents Code |
| 5580 |
loop_ |
| 5581 |
_method.purpose |
| 5582 |
_method.expression |
| 5583 |
Evaluation |
| 5584 |
; |
| 5585 |
_diffrn_scan_frame.key = [_diffrn_scan_frame.scan_id, _diffrn_scan_frame.frame_id] |
| 5586 |
; |
| 5587 |
|
| 5588 |
save_ |
| 5589 |
|
| 5590 |
|
| 5591 |
save__diffrn_scan_frame.polarizn_Stokes_I |
| 5592 |
|
| 5593 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_I' |
| 5594 |
_definition.update 2014-07-07 |
| 5595 |
_description.text |
| 5596 |
; |
| 5597 |
Ip+In+Inp, where where Ip is the intensity (amplitude squared) |
| 5598 |
of the electric vector in the plane of polarization, |
| 5599 |
In is the intensity (amplitude squared) of the electric vector |
| 5600 |
in the plane of the normal to the plane of polarization, |
| 5601 |
and Inp is the intensity (amplitude squared) of the non- |
| 5602 |
polarized (incoherent) electric vector. |
| 5603 |
This is an average or other representative sample of the scan. |
| 5604 |
This is the first of the Stokes polarization parameters, |
| 5605 |
I, Q, U, V (also known as I, M, C, S). See |
| 5606 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 5607 |
"Measurement of the Stokes parameters of Light", |
| 5608 |
Applied Optics, 16:12, 3200 -- 3205. |
| 5609 |
If the absolute intensity is not known, the value 1. |
| 5610 |
is assumed for I, and all 4 Stokes parameters are |
| 5611 |
dimensionless. When the absolute intensity is known, |
| 5612 |
all 4 Stokes parameters are in units of Watts per |
| 5613 |
square meter. |
| 5614 |
Note that, if the polarized intensity Ip+In is required, |
| 5615 |
(Ip+In)^2 is the sum of Q^2+U^2+V^2. |
| 5616 |
; |
| 5617 |
_name.category_id diffrn_scan_frame |
| 5618 |
_name.object_id polarizn_Stokes_I |
| 5619 |
_type.purpose Number |
| 5620 |
_type.source Derived |
| 5621 |
_type.container Single |
| 5622 |
_type.contents Real |
| 5623 |
_enumeration.default 1.0 |
| 5624 |
|
| 5625 |
save_ |
| 5626 |
|
| 5627 |
|
| 5628 |
save__diffrn_scan_frame.polarizn_Stokes_I_esd |
| 5629 |
|
| 5630 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_I_esd' |
| 5631 |
loop_ |
| 5632 |
_alias.definition_id |
| 5633 |
'_diffrn_scan_frame.polarizn_Stokes_I_su' |
| 5634 |
_definition.update 2014-07-30 |
| 5635 |
_description.text |
| 5636 |
; |
| 5637 |
The standard uncertainty (esd)i of _diffrn_scan_frame.polarizn_Stokes_I, |
| 5638 |
Ip+In+Inp, where where Ip is the intensity (amplitude squared) |
| 5639 |
of the electric vector in the plane of polarization, |
| 5640 |
In is the intensity (amplitude squared) of the electric vector |
| 5641 |
in the plane of the normal to the plane of polarization, |
| 5642 |
and Inp is the intensity (amplitude squared) of the non- |
| 5643 |
polarized (incoherent) electric vector. |
| 5644 |
; |
| 5645 |
_name.category_id diffrn_scan_frame |
| 5646 |
_name.object_id polarizn_Stokes_I_su |
| 5647 |
_name.linked_item_id '_diffrn_scan_frame.polarizn_Stokes_I' |
| 5648 |
_type.purpose SU |
| 5649 |
_type.source Related |
| 5650 |
_type.container Single |
| 5651 |
_type.contents Real |
| 5652 |
|
| 5653 |
save_ |
| 5654 |
|
| 5655 |
|
| 5656 |
save__diffrn_scan_frame.polarizn_Stokes_Q |
| 5657 |
|
| 5658 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_Q' |
| 5659 |
_definition.update 2014-07-07 |
| 5660 |
_description.text |
| 5661 |
; |
| 5662 |
(Ip-In)*cos(2*theta), where where Ip is the intensity |
| 5663 |
(amplitude squared) of the electric vector in the plane of |
| 5664 |
polarization, In is the intensity (amplitude squared) of |
| 5665 |
the electric vector in the plane of the normal to the |
| 5666 |
plane of polarization, and theta is the angle as viewed |
| 5667 |
from the specimen, between the normal to the polarization |
| 5668 |
plane and the laboratory Y axis as defined in the |
| 5669 |
AXIS category. |
| 5670 |
This is an average or other representative sample of the scan. |
| 5671 |
This is the second of the Stokes polarization parameters, |
| 5672 |
I, Q, U, V (also known as I, M, C, S). See |
| 5673 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 5674 |
"Measurement of the Stokes parameters of Light", |
| 5675 |
Applied Optics, 16:12, 3200 -- 3205. |
| 5676 |
If the absolute intensity is not known, the value 1. |
| 5677 |
is assumed for I, and all 4 Stokes parameters are |
| 5678 |
dimensionless. When the absolute intensity is known, |
| 5679 |
all 4 Stokes parameters are in units of Watts per |
| 5680 |
square meter. |
| 5681 |
; |
| 5682 |
_name.category_id diffrn_scan_frame |
| 5683 |
_name.object_id polarizn_Stokes_Q |
| 5684 |
_type.purpose Number |
| 5685 |
_type.source Derived |
| 5686 |
_type.container Single |
| 5687 |
_type.contents Real |
| 5688 |
|
| 5689 |
save_ |
| 5690 |
|
| 5691 |
|
| 5692 |
save__diffrn_scan_frame.polarizn_Stokes_Q_esd |
| 5693 |
|
| 5694 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_Q_esd' |
| 5695 |
loop_ |
| 5696 |
_alias.definition_id |
| 5697 |
'_diffrn_scan_frame.polarizn_Stokes_Q_su' |
| 5698 |
_definition.update 2014-07-30 |
| 5699 |
_description.text |
| 5700 |
; |
| 5701 |
The standard uncertainty (esd) of _diffrn_scan_frame.polarizn_Stokes_Q, |
| 5702 |
(Ip-In)*cos(2*theta), where where Ip is the intensity |
| 5703 |
(amplitude squared) of the electric vector in the plane of |
| 5704 |
polarization, In is the intensity (amplitude squared) of |
| 5705 |
the electric vector in the plane of the normal to the |
| 5706 |
plane of polarization, and theta is the angle as viewed |
| 5707 |
from the specimen, between the normal to the polarization |
| 5708 |
plane and the laboratory Y axis as defined in the |
| 5709 |
AXIS category. |
| 5710 |
; |
| 5711 |
_name.category_id diffrn_scan_frame |
| 5712 |
_name.object_id polarizn_Stokes_Q_su |
| 5713 |
_name.linked_item_id '_diffrn_scan_frame.polarizn_Stokes_Q' |
| 5714 |
_type.purpose SU |
| 5715 |
_type.source Related |
| 5716 |
_type.container Single |
| 5717 |
_type.contents Real |
| 5718 |
|
| 5719 |
save_ |
| 5720 |
|
| 5721 |
|
| 5722 |
save__diffrn_scan_frame.polarizn_Stokes_U |
| 5723 |
|
| 5724 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_U' |
| 5725 |
_definition.update 2014-07-07 |
| 5726 |
_description.text |
| 5727 |
; |
| 5728 |
(Ip-In)*sin(2*theta), where where Ip is the intensity |
| 5729 |
(amplitude squared) of the electric vector in the plane of |
| 5730 |
polarization, In is the intensity (amplitude squared) of |
| 5731 |
the electric vector in the plane of the normal to the |
| 5732 |
plane of polarization, and theta is the angle as viewed |
| 5733 |
from the specimen, between the normal to the polarization |
| 5734 |
plane and the laboratory Y axis as defined in the |
| 5735 |
AXIS category. |
| 5736 |
This is an average or other representative sample of the scan. |
| 5737 |
This is the third of the Stokes polarization parameters, |
| 5738 |
I, Q, U, V (also known as I, M, C, S). See |
| 5739 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 5740 |
"Measurement of the Stokes parameters of Light", |
| 5741 |
Applied Optics, 16:12, 3200 -- 3205. |
| 5742 |
If the absolute intensity is not known, the value 1. |
| 5743 |
is assumed for I, and all 4 Stokes parameters are |
| 5744 |
dimensionless. When the absolute intensity is known, |
| 5745 |
all 4 Stokes parameters are in units of Watts per |
| 5746 |
square meter. |
| 5747 |
; |
| 5748 |
_name.category_id diffrn_scan_frame |
| 5749 |
_name.object_id polarizn_Stokes_U |
| 5750 |
_type.purpose Number |
| 5751 |
_type.source Derived |
| 5752 |
_type.container Single |
| 5753 |
_type.contents Real |
| 5754 |
|
| 5755 |
save_ |
| 5756 |
|
| 5757 |
|
| 5758 |
save__diffrn_scan_frame.polarizn_Stokes_U_esd |
| 5759 |
|
| 5760 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_U_esd' |
| 5761 |
loop_ |
| 5762 |
_alias.definition_id |
| 5763 |
'_diffrn_scan_frame.polarizn_Stokes_U_su' |
| 5764 |
_definition.update 2014-07-30 |
| 5765 |
_description.text |
| 5766 |
; |
| 5767 |
The standard uncertainty (esd) _diffrn_scan_frame.polarizn_Stokes_U, |
| 5768 |
(Ip-In)*sin(2*theta), where where Ip is the intensity |
| 5769 |
(amplitude squared) of the electric vector in the plane of |
| 5770 |
polarization, In is the intensity (amplitude squared) of |
| 5771 |
the electric vector in the plane of the normal to the |
| 5772 |
plane of polarization, and theta is the angle as viewed |
| 5773 |
from the specimen, between the normal to the polarization |
| 5774 |
plane and the laboratory Y axis as defined in the |
| 5775 |
AXIS category. |
| 5776 |
; |
| 5777 |
_name.category_id diffrn_scan_frame |
| 5778 |
_name.object_id polarizn_Stokes_U_su |
| 5779 |
_name.linked_item_id '_diffrn_scan_frame.polarizn_Stokes_U' |
| 5780 |
_type.purpose SU |
| 5781 |
_type.source Related |
| 5782 |
_type.container Single |
| 5783 |
_type.contents Real |
| 5784 |
|
| 5785 |
save_ |
| 5786 |
|
| 5787 |
|
| 5788 |
save__diffrn_scan_frame.polarizn_Stokes_V |
| 5789 |
|
| 5790 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_V' |
| 5791 |
_definition.update 2014-07-07 |
| 5792 |
_description.text |
| 5793 |
; |
| 5794 |
+/-2*sqrt(IpIn), with a + sign for right-handed circular |
| 5795 |
polarization, where where Ip is the intensity |
| 5796 |
(amplitude squared) of the electric vector in the plane of |
| 5797 |
polarization and In is the intensity (amplitude squared) of |
| 5798 |
the electric vector in the plane of the normal to the |
| 5799 |
plane of polarization, and theta is the angle as viewed |
| 5800 |
from the specimen, between the normal to the polarization |
| 5801 |
plane and the laboratory Y axis as defined in the |
| 5802 |
AXIS category. |
| 5803 |
This is an average or other representative sample of the scan. |
| 5804 |
This is the fourth of the Stokes polarization parameters, |
| 5805 |
I, Q, U, V (also known as I, M, C, S). See |
| 5806 |
H. H. Berry, G. Gabrielse, A. E. Livingston (1977), |
| 5807 |
"Measurement of the Stokes parameters of Light", |
| 5808 |
Applied Optics, 16:12, 3200 -- 3205. |
| 5809 |
If the absolute intensity is not known, the value 1. |
| 5810 |
is assumed for I, and all 4 Stokes parameters are |
| 5811 |
dimensionless. When the absolute intensity is known, |
| 5812 |
all 4 Stokes parameters are in units of Watts per |
| 5813 |
square meter. |
| 5814 |
; |
| 5815 |
_name.category_id diffrn_scan_frame |
| 5816 |
_name.object_id polarizn_Stokes_V |
| 5817 |
_type.purpose Number |
| 5818 |
_type.source Derived |
| 5819 |
_type.container Single |
| 5820 |
_type.contents Real |
| 5821 |
|
| 5822 |
save_ |
| 5823 |
|
| 5824 |
|
| 5825 |
save__diffrn_scan_frame.polarizn_Stokes_V_esd |
| 5826 |
|
| 5827 |
_definition.id '_diffrn_scan_frame.polarizn_Stokes_V_esd' |
| 5828 |
loop_ |
| 5829 |
_alias.definition_id |
| 5830 |
'_diffrn_scan_frame.polarizn_Stokes_V_su' |
| 5831 |
_definition.update 2014-07-30 |
| 5832 |
_description.text |
| 5833 |
; |
| 5834 |
Standard uncertainty (esd) _diffrn_scan_frame.polarizn_Stokes_V, |
| 5835 |
+/-2*sqrt(IpIn), with a + sign for right-handed circular |
| 5836 |
polarization, where where Ip is the intensity |
| 5837 |
(amplitude squared) of the electric vector in the plane of |
| 5838 |
polarization and In is the intensity (amplitude squared) of |
| 5839 |
the electric vector in the plane of the normal to the |
| 5840 |
plane of polarization, and theta is the angle as viewed |
| 5841 |
from the specimen, between the normal to the polarization |
| 5842 |
plane and the laboratory Y axis as defined in the |
| 5843 |
AXIS category. |
| 5844 |
; |
| 5845 |
_name.category_id diffrn_scan_frame |
| 5846 |
_name.object_id polarizn_Stokes_V_su |
| 5847 |
_name.linked_item_id '_diffrn_scan_frame.polarizn_Stokes_V' |
| 5848 |
_type.purpose SU |
| 5849 |
_type.source Related |
| 5850 |
_type.container Single |
| 5851 |
_type.contents Real |
| 5852 |
|
| 5853 |
save_ |
| 5854 |
|
| 5855 |
|
| 5856 |
save__diffrn_scan_frame.scan_id |
| 5857 |
|
| 5858 |
_definition.id '_diffrn_scan_frame.scan_id' |
| 5859 |
_definition.update 2014-07-07 |
| 5860 |
_description.text |
| 5861 |
; |
| 5862 |
The value of _diffrn_scan_frame.scan_id identifies the scan |
| 5863 |
containing this frame. This item is a pointer to |
| 5864 |
_diffrn_scan.id in the DIFFRN_SCAN category. |
| 5865 |
; |
| 5866 |
_name.category_id diffrn_scan_frame |
| 5867 |
_name.object_id scan_id |
| 5868 |
_name.linked_item_id '_diffrn_scan.id' |
| 5869 |
_type.purpose Link |
| 5870 |
_type.source Related |
| 5871 |
_type.container Single |
| 5872 |
_type.contents Code |
| 5873 |
|
| 5874 |
save_ |
| 5875 |
|
| 5876 |
|
| 5877 |
save__diffrn_scan_frame.time_period |
| 5878 |
|
| 5879 |
_definition.id '_diffrn_scan_frame.time_period' |
| 5880 |
_definition.update 2014-07-07 |
| 5881 |
_description.text |
| 5882 |
; |
| 5883 |
The time in seconds between the start of this frame and the |
| 5884 |
start of the next frame, if any. If there is no next frame, |
| 5885 |
a null value should be given. |
| 5886 |
; |
| 5887 |
_name.category_id diffrn_scan_frame |
| 5888 |
_name.object_id time_period |
| 5889 |
_type.purpose Number |
| 5890 |
_type.source Derived |
| 5891 |
_type.container Single |
| 5892 |
_type.contents Real |
| 5893 |
_units.code seconds |
| 5894 |
|
| 5895 |
save_ |
| 5896 |
|
| 5897 |
|
| 5898 |
save__diffrn_scan_frame.time_rstrt_incr |
| 5899 |
|
| 5900 |
_definition.id '_diffrn_scan_frame.time_rstrt_incr' |
| 5901 |
_definition.update 2014-07-07 |
| 5902 |
_description.text |
| 5903 |
; |
| 5904 |
The time in seconds between the end of integration of this step o |
| 5905 |
and the start of integration of the next step. |
| 5906 |
The sum of the values of _diffrn_scan_frame.integration_time |
| 5907 |
and _diffrn_scan_frame.time_rstrt_incr is the |
| 5908 |
time from the start of integration of one frame and the start of |
| 5909 |
integration for the next frame and should equal the value of |
| 5910 |
_diffrn_scan_frame.time_period for this |
| 5911 |
frame. The value of _diffrn_scan.time_rstrt_incr will be |
| 5912 |
representative of the ensemble of values of |
| 5913 |
_diffrn_scan_frame_axis.time_rstrt_incr (e.g. the mean). |
| 5914 |
If there is no next frame, a null value should be given. |
| 5915 |
; |
| 5916 |
_name.category_id diffrn_scan_frame |
| 5917 |
_name.object_id time_rstrt_incr |
| 5918 |
_type.purpose Number |
| 5919 |
_type.source Derived |
| 5920 |
_type.container Single |
| 5921 |
_type.contents Real |
| 5922 |
_units.code seconds |
| 5923 |
|
| 5924 |
save_ |
| 5925 |
|
| 5926 |
|
| 5927 |
save_DIFFRN_SCAN_FRAME_AXIS |
| 5928 |
|
| 5929 |
_definition.id DIFFRN_SCAN_FRAME_AXIS |
| 5930 |
_definition.scope Category |
| 5931 |
_definition.class Loop |
| 5932 |
_definition.update 2014-07-07 |
| 5933 |
_description.text |
| 5934 |
; |
| 5935 |
Data items in the DIFFRN_SCAN_FRAME_AXIS category describe the |
| 5936 |
settings of axes for particular frames. Unspecified axes are |
| 5937 |
assumed to be at their zero points. If, for any given frame, |
| 5938 |
nonzero values apply for any of the data items in this category, |
| 5939 |
those values should be given explicitly in this category and not |
| 5940 |
simply inferred from values in DIFFRN_SCAN_AXIS. |
| 5941 |
; |
| 5942 |
_name.category_id DEMO_DIC_HEAD |
| 5943 |
_name.object_id DIFFRN_SCAN_FRAME_AXIS |
| 5944 |
_category.key_id '_diffrn_scan_frame_axis.key' |
| 5945 |
loop_ |
| 5946 |
_category_key.name '_diffrn_scan_frame_axis.frame_id' |
| 5947 |
'_diffrn_scan_frame_axis.axis_id' |
| 5948 |
|
| 5949 |
save_ |
| 5950 |
|
| 5951 |
|
| 5952 |
save__diffrn_scan_frame_axis.angle |
| 5953 |
|
| 5954 |
_definition.id '_diffrn_scan_frame_axis.angle' |
| 5955 |
_definition.update 2014-07-07 |
| 5956 |
_description.text |
| 5957 |
; |
| 5958 |
The setting of the specified axis in degrees for this frame. |
| 5959 |
This is the setting at the start of the integration time. |
| 5960 |
; |
| 5961 |
_name.category_id diffrn_scan_frame_axis |
| 5962 |
_name.object_id angle |
| 5963 |
_type.purpose Number |
| 5964 |
_type.source Derived |
| 5965 |
_type.container Single |
| 5966 |
_type.contents Real |
| 5967 |
_enumeration.default 0.0 |
| 5968 |
_units.code degrees |
| 5969 |
|
| 5970 |
save_ |
| 5971 |
|
| 5972 |
|
| 5973 |
save__diffrn_scan_frame_axis.angle_increment |
| 5974 |
|
| 5975 |
_definition.id '_diffrn_scan_frame_axis.angle_increment' |
| 5976 |
_definition.update 2014-07-07 |
| 5977 |
_description.text |
| 5978 |
; |
| 5979 |
The increment for this frame for the angular setting of |
| 5980 |
the specified axis in degrees. The sum of the values |
| 5981 |
of _diffrn_scan_frame_axis.angle and |
| 5982 |
_diffrn_scan_frame_axis.angle_increment is the |
| 5983 |
angular setting of the axis at the end of the integration |
| 5984 |
time for this frame. |
| 5985 |
; |
| 5986 |
_name.category_id diffrn_scan_frame_axis |
| 5987 |
_name.object_id angle_increment |
| 5988 |
_type.purpose Number |
| 5989 |
_type.source Derived |
| 5990 |
_type.container Single |
| 5991 |
_type.contents Real |
| 5992 |
_enumeration.default 0.0 |
| 5993 |
_units.code degrees |
| 5994 |
|
| 5995 |
save_ |
| 5996 |
|
| 5997 |
|
| 5998 |
save__diffrn_scan_frame_axis.angle_rstrt_incr |
| 5999 |
|
| 6000 |
_definition.id '_diffrn_scan_frame_axis.angle_rstrt_incr' |
| 6001 |
_definition.update 2014-07-07 |
| 6002 |
_description.text |
| 6003 |
; |
| 6004 |
The increment after this frame for the angular setting of |
| 6005 |
the specified axis in degrees. The sum of the values |
| 6006 |
of _diffrn_scan_frame_axis.angle, |
| 6007 |
_diffrn_scan_frame_axis.angle_increment and |
| 6008 |
_diffrn_scan_frame_axis.angle_rstrt_incr is the |
| 6009 |
angular setting of the axis at the start of the integration |
| 6010 |
time for the next frame and should equal |
| 6011 |
_diffrn_scan_frame_axis.angle for this next frame. |
| 6012 |
; |
| 6013 |
_name.category_id diffrn_scan_frame_axis |
| 6014 |
_name.object_id angle_rstrt_incr |
| 6015 |
_type.purpose Number |
| 6016 |
_type.source Derived |
| 6017 |
_type.container Single |
| 6018 |
_type.contents Real |
| 6019 |
_enumeration.default 0.0 |
| 6020 |
_units.code degrees |
| 6021 |
|
| 6022 |
save_ |
| 6023 |
|
| 6024 |
|
| 6025 |
save__diffrn_scan_frame_axis.axis_id |
| 6026 |
|
| 6027 |
_definition.id '_diffrn_scan_frame_axis.axis_id' |
| 6028 |
_definition.update 2014-07-07 |
| 6029 |
_description.text |
| 6030 |
; |
| 6031 |
The value of this data item is the identifier of one of |
| 6032 |
the axes for the frame for which settings are being specified. |
| 6033 |
Multiple axes may be specified for the same value of |
| 6034 |
_diffrn_scan_frame.frame_id. This item is a pointer to |
| 6035 |
_axis.id in the AXIS category. |
| 6036 |
; |
| 6037 |
_name.category_id diffrn_scan_frame_axis |
| 6038 |
_name.object_id axis_id |
| 6039 |
_name.linked_item_id '_axis.id' |
| 6040 |
_type.purpose Link |
| 6041 |
_type.source Related |
| 6042 |
_type.container Single |
| 6043 |
_type.contents Code |
| 6044 |
|
| 6045 |
save_ |
| 6046 |
|
| 6047 |
|
| 6048 |
save__diffrn_scan_frame_axis.displacement |
| 6049 |
|
| 6050 |
_definition.id '_diffrn_scan_frame_axis.displacement' |
| 6051 |
_definition.update 2014-07-07 |
| 6052 |
_description.text |
| 6053 |
; |
| 6054 |
The setting of the specified axis in millimetres for this |
| 6055 |
frame. This is the setting at the start of the integration |
| 6056 |
time. |
| 6057 |
; |
| 6058 |
_name.category_id diffrn_scan_frame_axis |
| 6059 |
_name.object_id displacement |
| 6060 |
_type.purpose Number |
| 6061 |
_type.source Derived |
| 6062 |
_type.container Single |
| 6063 |
_type.contents Real |
| 6064 |
_enumeration.default 0.0 |
| 6065 |
_units.code millimetres |
| 6066 |
|
| 6067 |
save_ |
| 6068 |
|
| 6069 |
|
| 6070 |
save__diffrn_scan_frame_axis.displacement_increment |
| 6071 |
|
| 6072 |
_definition.id '_diffrn_scan_frame_axis.displacement_increment' |
| 6073 |
_definition.update 2014-07-07 |
| 6074 |
_description.text |
| 6075 |
; |
| 6076 |
The increment for this frame for the displacement setting of |
| 6077 |
the specified axis in millimetres. The sum of the values |
| 6078 |
of _diffrn_scan_frame_axis.displacement and |
| 6079 |
_diffrn_scan_frame_axis.displacement_increment is the |
| 6080 |
angular setting of the axis at the end of the integration |
| 6081 |
time for this frame. |
| 6082 |
; |
| 6083 |
_name.category_id diffrn_scan_frame_axis |
| 6084 |
_name.object_id displacement_increment |
| 6085 |
_type.purpose Number |
| 6086 |
_type.source Derived |
| 6087 |
_type.container Single |
| 6088 |
_type.contents Real |
| 6089 |
_enumeration.default 0.0 |
| 6090 |
_units.code millimetres |
| 6091 |
|
| 6092 |
save_ |
| 6093 |
|
| 6094 |
|
| 6095 |
save__diffrn_scan_frame_axis.displacement_rstrt_incr |
| 6096 |
|
| 6097 |
_definition.id '_diffrn_scan_frame_axis.displacement_rstrt_incr' |
| 6098 |
_definition.update 2014-07-07 |
| 6099 |
_description.text |
| 6100 |
; |
| 6101 |
The increment for this frame for the displacement setting of |
| 6102 |
the specified axis in millimetres. The sum of the values |
| 6103 |
of _diffrn_scan_frame_axis.displacement, |
| 6104 |
_diffrn_scan_frame_axis.displacement_increment and |
| 6105 |
_diffrn_scan_frame_axis.displacement_rstrt_incr is the |
| 6106 |
angular setting of the axis at the start of the integration |
| 6107 |
time for the next frame and should equal |
| 6108 |
_diffrn_scan_frame_axis.displacement for this next frame. |
| 6109 |
; |
| 6110 |
_name.category_id diffrn_scan_frame_axis |
| 6111 |
_name.object_id displacement_rstrt_incr |
| 6112 |
_type.purpose Number |
| 6113 |
_type.source Derived |
| 6114 |
_type.container Single |
| 6115 |
_type.contents Real |
| 6116 |
_enumeration.default 0.0 |
| 6117 |
_units.code millimetres |
| 6118 |
|
| 6119 |
save_ |
| 6120 |
|
| 6121 |
|
| 6122 |
save__diffrn_scan_frame_axis.frame_id |
| 6123 |
|
| 6124 |
_definition.id '_diffrn_scan_frame_axis.frame_id' |
| 6125 |
_definition.update 2014-07-07 |
| 6126 |
_description.text |
| 6127 |
; |
| 6128 |
The value of this data item is the identifier of the |
| 6129 |
frame for which axis settings are being specified. |
| 6130 |
Multiple axes may be specified for the same value of |
| 6131 |
_diffrn_scan_frame.frame_id. |
| 6132 |
This item is a pointer to _diffrn_data_frame.id in the |
| 6133 |
DIFFRN_DATA_FRAME category. |
| 6134 |
; |
| 6135 |
_name.category_id diffrn_scan_frame_axis |
| 6136 |
_name.object_id frame_id |
| 6137 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 6138 |
_type.purpose Link |
| 6139 |
_type.source Related |
| 6140 |
_type.container Single |
| 6141 |
_type.contents Code |
| 6142 |
|
| 6143 |
save_ |
| 6144 |
|
| 6145 |
|
| 6146 |
save__diffrn_scan_frame_axis.reference_angle |
| 6147 |
|
| 6148 |
_definition.id '_diffrn_scan_frame_axis.reference_angle' |
| 6149 |
_definition.update 2014-07-07 |
| 6150 |
_description.text |
| 6151 |
; |
| 6152 |
The setting of the specified axis in degrees |
| 6153 |
against which measurements of the reference beam center |
| 6154 |
and reference detector distance should be made. |
| 6155 |
This is normally the same for all frames, but the |
| 6156 |
option is provided here of making changes when needed. |
| 6157 |
; |
| 6158 |
_name.category_id diffrn_scan_frame_axis |
| 6159 |
_name.object_id reference_angle |
| 6160 |
_type.purpose Number |
| 6161 |
_type.source Derived |
| 6162 |
_type.container Single |
| 6163 |
_type.contents Real |
| 6164 |
_enumeration.default 0.0 |
| 6165 |
_units.code degrees |
| 6166 |
|
| 6167 |
save_ |
| 6168 |
|
| 6169 |
|
| 6170 |
save__diffrn_scan_frame_axis.reference_displacement |
| 6171 |
|
| 6172 |
_definition.id '_diffrn_scan_frame_axis.reference_displacement' |
| 6173 |
_definition.update 2014-07-07 |
| 6174 |
_description.text |
| 6175 |
; |
| 6176 |
The setting of the specified axis in millimetres for this |
| 6177 |
frame against which measurements of the reference beam center |
| 6178 |
and reference detector distance should be made. |
| 6179 |
This is normally the same for all frames, but the |
| 6180 |
option is provided here of making changes when |
| 6181 |
needed. |
| 6182 |
If not provided, it is assumed to be equal to |
| 6183 |
_diffrn_scan_frame_axis.displacement. |
| 6184 |
; |
| 6185 |
_name.category_id diffrn_scan_frame_axis |
| 6186 |
_name.object_id reference_displacement |
| 6187 |
_type.purpose Number |
| 6188 |
_type.source Derived |
| 6189 |
_type.container Single |
| 6190 |
_type.contents Real |
| 6191 |
_units.code millimetres |
| 6192 |
|
| 6193 |
save_ |
| 6194 |
|
| 6195 |
|
| 6196 |
save_DIFFRN_SCAN_FRAME_MONITOR |
| 6197 |
|
| 6198 |
_definition.id DIFFRN_SCAN_FRAME_MONITOR |
| 6199 |
_definition.scope Category |
| 6200 |
_definition.class Loop |
| 6201 |
_definition.update 2014-07-07 |
| 6202 |
_description.text |
| 6203 |
; |
| 6204 |
Data items in the DIFFRN_SCAN_FRAME_MONITOR category record |
| 6205 |
the values and details about each monitor for each frame of data |
| 6206 |
during a scan. |
| 6207 |
Each monitor value is uniquely identified by the combination of |
| 6208 |
the scan_id given by _diffrn_scan_frame.scan_id |
| 6209 |
the frame_id given by _diffrn_scan_frame_monitor.frame_id, |
| 6210 |
the monitor's detector_id given by |
| 6211 |
_diffrn_scan_frame_monitor.detector_id, |
| 6212 |
and a 1-based ordinal given by _diffrn_scan_frame_monitor.id. |
| 6213 |
If there is only one frame for the scan, the value of |
| 6214 |
_diffrn_scan_frame_monitor.frame_id may be omitted. |
| 6215 |
A single frame may have more than one monitor value, and each |
| 6216 |
monitor value may be the result of integration over the entire |
| 6217 |
frame integration time given by the value of |
| 6218 |
_diffrn_scan_frame.integration_time |
| 6219 |
or many monitor values may be reported over shorter times given |
| 6220 |
by the value of _diffrn_scan_frame_monitor.integration_time. If |
| 6221 |
only one monitor value for a given monitor is collected during |
| 6222 |
the integration time of the frame, the value of |
| 6223 |
_diffrn_scan_frame_monitor.id may be |
| 6224 |
omitted. |
| 6225 |
; |
| 6226 |
_name.category_id DEMO_DIC_HEAD |
| 6227 |
_name.object_id DIFFRN_SCAN_FRAME_MONITOR |
| 6228 |
_category.key_id '_diffrn_scan_frame_monitor.key' |
| 6229 |
loop_ |
| 6230 |
_category_key.name '_diffrn_scan_frame_monitor.id' |
| 6231 |
'_diffrn_scan_frame_monitor.detector_id' |
| 6232 |
'_diffrn_scan_frame_monitor.scan_id' |
| 6233 |
'_diffrn_scan_frame_monitor.frame_id' |
| 6234 |
|
| 6235 |
save_ |
| 6236 |
|
| 6237 |
|
| 6238 |
save__diffrn_scan_frame_monitor.detector_id |
| 6239 |
|
| 6240 |
_definition.id '_diffrn_scan_frame_monitor.detector_id' |
| 6241 |
_definition.update 2014-07-07 |
| 6242 |
_description.text |
| 6243 |
; |
| 6244 |
This data item is a pointer to _diffrn_detector.id in |
| 6245 |
the DIFFRN_DETECTOR category. |
| 6246 |
|
| 6247 |
; |
| 6248 |
_name.category_id diffrn_scan_frame_monitor |
| 6249 |
_name.object_id detector_id |
| 6250 |
_name.linked_item_id '_diffrn_detector.id' |
| 6251 |
_type.purpose Link |
| 6252 |
_type.source Related |
| 6253 |
_type.container Single |
| 6254 |
_type.contents Code |
| 6255 |
|
| 6256 |
save_ |
| 6257 |
|
| 6258 |
|
| 6259 |
save__diffrn_scan_frame_monitor.frame_id |
| 6260 |
|
| 6261 |
_definition.id '_diffrn_scan_frame_monitor.frame_id' |
| 6262 |
_definition.update 2014-07-07 |
| 6263 |
_description.text |
| 6264 |
; |
| 6265 |
This item is a pointer to _diffrn_data_frame.id |
| 6266 |
in the DIFFRN_DATA_FRAME category. |
| 6267 |
; |
| 6268 |
_name.category_id diffrn_scan_frame_monitor |
| 6269 |
_name.object_id frame_id |
| 6270 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 6271 |
_type.purpose Link |
| 6272 |
_type.source Related |
| 6273 |
_type.container Single |
| 6274 |
_type.contents Code |
| 6275 |
|
| 6276 |
save_ |
| 6277 |
|
| 6278 |
|
| 6279 |
save__diffrn_scan_frame_monitor.id |
| 6280 |
|
| 6281 |
_definition.id '_diffrn_scan_frame_monitor.id' |
| 6282 |
_definition.update 2014-07-07 |
| 6283 |
_description.text |
| 6284 |
; |
| 6285 |
This item is an integer identifier which, along with |
| 6286 |
_diffrn_scan_frame_monitor.detector_id, |
| 6287 |
_diffrn_scan_frame_monitor.scan_id, and |
| 6288 |
_diffrn_scan_frame_monitor.frame_id |
| 6289 |
should uniquely identify the monitor value being recorded |
| 6290 |
If _array_data.binary_id is not explicitly given, |
| 6291 |
it defaults to 1. |
| 6292 |
; |
| 6293 |
_name.category_id diffrn_scan_frame_monitor |
| 6294 |
_name.object_id id |
| 6295 |
_type.purpose Number |
| 6296 |
_type.source Assigned |
| 6297 |
_type.container Single |
| 6298 |
_type.contents Integer |
| 6299 |
_enumeration.default 1 |
| 6300 |
|
| 6301 |
save_ |
| 6302 |
|
| 6303 |
|
| 6304 |
save__diffrn_scan_frame_monitor.integration_time |
| 6305 |
|
| 6306 |
_definition.id '_diffrn_scan_frame_monitor.integration_time' |
| 6307 |
_definition.update 2014-07-07 |
| 6308 |
_description.text |
| 6309 |
; |
| 6310 |
The precise time for integration of the monitor value given in |
| 6311 |
_diffrn_scan_frame_monitor.value |
| 6312 |
must be given in _diffrn_scan_frame_monitor.integration_time. |
| 6313 |
; |
| 6314 |
_name.category_id diffrn_scan_frame_monitor |
| 6315 |
_name.object_id Integeregration_time |
| 6316 |
_type.purpose Number |
| 6317 |
_type.source Derived |
| 6318 |
_type.container Single |
| 6319 |
_type.contents Real |
| 6320 |
_units.code seconds |
| 6321 |
|
| 6322 |
save_ |
| 6323 |
|
| 6324 |
|
| 6325 |
save__diffrn_scan_frame_monitor.scan_id |
| 6326 |
|
| 6327 |
_definition.id '_diffrn_scan_frame_monitor.scan_id' |
| 6328 |
_definition.update 2014-07-07 |
| 6329 |
_description.text |
| 6330 |
; |
| 6331 |
Pointer to _diffrn_scan.id in the DIFFRN_SCAN category. |
| 6332 |
; |
| 6333 |
_name.category_id diffrn_scan_frame_monitor |
| 6334 |
_name.object_id scan_id |
| 6335 |
_name.linked_item_id '_diffrn_scan.id' |
| 6336 |
_type.purpose Link |
| 6337 |
_type.source Related |
| 6338 |
_type.container Single |
| 6339 |
_type.contents Code |
| 6340 |
|
| 6341 |
save_ |
| 6342 |
|
| 6343 |
|
| 6344 |
save__diffrn_scan_frame_monitor.value |
| 6345 |
|
| 6346 |
_definition.id '_diffrn_scan_frame_monitor.value' |
| 6347 |
_definition.update 2014-07-07 |
| 6348 |
_description.text |
| 6349 |
; |
| 6350 |
The value reported by the monitor detector should be given in |
| 6351 |
_diffrn_scan_frame_monitor.value. |
| 6352 |
The value is typed as float to allow of monitors for very intense |
| 6353 |
that cannot report all digits, but when available, all digits of |
| 6354 |
monitor should be recorded. |
| 6355 |
; |
| 6356 |
_name.category_id diffrn_scan_frame_monitor |
| 6357 |
_name.object_id value |
| 6358 |
_type.purpose Number |
| 6359 |
_type.source Derived |
| 6360 |
_type.container Single |
| 6361 |
_type.contents Real |
| 6362 |
|
| 6363 |
save_ |
| 6364 |
|
| 6365 |
|
| 6366 |
save_diffrn_scan_simple |
| 6367 |
|
| 6368 |
_name.object_id diffrn_scan_simple |
| 6369 |
_name.category_id demo_dic_head |
| 6370 |
_definition.id diffrn_scan_simple |
| 6371 |
_definition.scope Category |
| 6372 |
_definition.class Loop |
| 6373 |
_description.text |
| 6374 |
'This category provides information about scans consisting of identically-structured frames obtained by scanning a single axis.' |
| 6375 |
_category.key_id '_diffrn_scan_simple.scan_id' |
| 6376 |
_category_key.name '_diffrn_scan_simple.scan_id' |
| 6377 |
_category_construct_local.new_ids [scan_id] |
| 6378 |
_category_construct_local.type Filter |
| 6379 |
_category_construct_local.filter [1] |
| 6380 |
_category_construct_local.components ['_diffrn_scan.number_of_scanned_axes'] |
| 6381 |
|
| 6382 |
save_ |
| 6383 |
|
| 6384 |
|
| 6385 |
save__diffrn_scan_simple.axis_id |
| 6386 |
|
| 6387 |
_definition.id '_diffrn_scan_simple.axis_id' |
| 6388 |
_name.object_id axis_id |
| 6389 |
_name.category_id diffrn_scan_simple |
| 6390 |
_definition.class Datum |
| 6391 |
_description.text 'The identifier of the axis that was scanned.' |
| 6392 |
_type.purpose Link |
| 6393 |
_type.source Related |
| 6394 |
_type.container Single |
| 6395 |
_type.contents Code |
| 6396 |
_name.linked_item_id '_axis.id' |
| 6397 |
loop_ |
| 6398 |
_method.purpose |
| 6399 |
_method.expression |
| 6400 |
Evaluation |
| 6401 |
; |
| 6402 |
with dss as diffrn_scan_simple |
| 6403 |
loop dsa as diffrn_scan_axis { |
| 6404 |
if (dsa.scan_id != dss.scan_id) continue |
| 6405 |
if (dsa.angle_increment != 0 or dsa.displacement_increment != 0) { |
| 6406 |
axisid = dsa.axis_id |
| 6407 |
} |
| 6408 |
} |
| 6409 |
dss.axis_id = axisid |
| 6410 |
|
| 6411 |
; |
| 6412 |
|
| 6413 |
save_ |
| 6414 |
|
| 6415 |
|
| 6416 |
save__diffrn_scan_simple.scan_id |
| 6417 |
|
| 6418 |
_definition.id '_diffrn_scan_simple.scan_id' |
| 6419 |
_name.object_id scan_id |
| 6420 |
_name.category_id diffrn_scan_simple |
| 6421 |
_definition.class Datum |
| 6422 |
_description.text 'PLEASE DEFINE ME' |
| 6423 |
_type.purpose Link |
| 6424 |
_type.source Related |
| 6425 |
_type.container Single |
| 6426 |
_type.contents Text |
| 6427 |
|
| 6428 |
save_ |
| 6429 |
|
| 6430 |
|
| 6431 |
save_diffrn_scan_simple_frames |
| 6432 |
|
| 6433 |
_name.object_id diffrn_scan_simple_frames |
| 6434 |
_name.category_id DEMO_DIC_HEAD |
| 6435 |
_definition.id diffrn_scan_simple_frames |
| 6436 |
_definition.scope Category |
| 6437 |
_definition.class Loop |
| 6438 |
_description.text |
| 6439 |
;This category provides information about diffraction frames for scans that consist of identically-constructed |
| 6440 |
frames with a single scan axis. |
| 6441 |
; |
| 6442 |
_category.key_id '_diffrn_scan_simple_frames.id' |
| 6443 |
_category_construct_local.new_ids [id scan_id] |
| 6444 |
_category_construct_local.type Pullback |
| 6445 |
_category_construct_local.components ['_full_frame.scan_id' |
| 6446 |
'_diffrn_scan_simple.scan_id'] |
| 6447 |
loop_ |
| 6448 |
_category_key.name |
| 6449 |
'_diffrn_scan_simple_frames.id' |
| 6450 |
'_diffrn_scan_simple_frames.frame_id' |
| 6451 |
loop_ |
| 6452 |
_method.purpose |
| 6453 |
_method.expression |
| 6454 |
Evaluation |
| 6455 |
; |
| 6456 |
loop sad as scan_array_data { |
| 6457 |
do frame_no = 1, len(sad.array_data) { |
| 6458 |
diffrn_scan_simple_frames (.frame_number = frame_no, |
| 6459 |
.array_data = sad.array_data[frame_no-1], |
| 6460 |
.scan_id = sad.scan_id, |
| 6461 |
.frame_id = 'Frame'+`frame_no`, |
| 6462 |
.array_id = 'Array1', |
| 6463 |
.binary_id = `frame_no`, |
| 6464 |
.id = [sad.scan_id,'Frame'+`frame_no`]) |
| 6465 |
} |
| 6466 |
} |
| 6467 |
|
| 6468 |
; |
| 6469 |
|
| 6470 |
save_ |
| 6471 |
|
| 6472 |
|
| 6473 |
save__diffrn_scan_simple_frames.array_data |
| 6474 |
|
| 6475 |
_definition.id '_diffrn_scan_simple_frames.array_data' |
| 6476 |
_name.object_id array_data |
| 6477 |
_name.category_id diffrn_scan_simple_frames |
| 6478 |
_definition.class Datum |
| 6479 |
_description.text 'PLEASE DEFINE ME' |
| 6480 |
|
| 6481 |
save_ |
| 6482 |
|
| 6483 |
|
| 6484 |
save__diffrn_scan_simple_frames.array_id |
| 6485 |
|
| 6486 |
_definition.id '_diffrn_scan_simple_frames.array_id' |
| 6487 |
_name.object_id array_id |
| 6488 |
_name.category_id diffrn_scan_simple_frames |
| 6489 |
_definition.class Datum |
| 6490 |
_description.text 'PLEASE DEFINE ME' |
| 6491 |
|
| 6492 |
save_ |
| 6493 |
|
| 6494 |
|
| 6495 |
save__diffrn_scan_simple_frames.axis_id |
| 6496 |
|
| 6497 |
_definition.id '_diffrn_scan_simple_frames.axis_id' |
| 6498 |
_name.object_id axis_id |
| 6499 |
_name.category_id diffrn_scan_simple_frames |
| 6500 |
_definition.class Datum |
| 6501 |
_description.text 'PLEASE DEFINE ME' |
| 6502 |
_type.purpose Link |
| 6503 |
_type.source Related |
| 6504 |
_type.container Single |
| 6505 |
_type.contents Text |
| 6506 |
_name.linked_item_id '_diffrn_scan_simple.axis_id' |
| 6507 |
|
| 6508 |
save_ |
| 6509 |
|
| 6510 |
|
| 6511 |
save__diffrn_scan_simple_frames.binary_id |
| 6512 |
|
| 6513 |
_definition.id '_diffrn_scan_simple_frames.binary_id' |
| 6514 |
_name.object_id binary_id |
| 6515 |
_name.category_id diffrn_scan_simple_frames |
| 6516 |
_definition.class Datum |
| 6517 |
_description.text 'PLEASE DEFINE ME' |
| 6518 |
|
| 6519 |
save_ |
| 6520 |
|
| 6521 |
|
| 6522 |
save__diffrn_scan_simple_frames.element_id |
| 6523 |
|
| 6524 |
_definition.id '_diffrn_scan_simple_frames.element_id' |
| 6525 |
_name.object_id element_id |
| 6526 |
_name.category_id diffrn_scan_simple_frames |
| 6527 |
_definition.class Datum |
| 6528 |
_description.text 'PLEASE DEFINE ME' |
| 6529 |
|
| 6530 |
save_ |
| 6531 |
|
| 6532 |
|
| 6533 |
save__diffrn_scan_simple_frames.frame_id |
| 6534 |
|
| 6535 |
_definition.id '_diffrn_scan_simple_frames.frame_id' |
| 6536 |
_name.object_id frame_id |
| 6537 |
_name.category_id diffrn_scan_simple_frames |
| 6538 |
_definition.class Datum |
| 6539 |
_description.text 'Frame IDs corresponding to the the identified scan.' |
| 6540 |
_name.linked_item_id '_diffrn_data_frame.id' |
| 6541 |
_type.purpose Key |
| 6542 |
_type.source Related |
| 6543 |
_type.container Single |
| 6544 |
_type.contents Text |
| 6545 |
|
| 6546 |
save_ |
| 6547 |
|
| 6548 |
|
| 6549 |
save__diffrn_scan_simple_frames.frame_number |
| 6550 |
|
| 6551 |
_definition.id '_diffrn_scan_simple_frames.frame_number' |
| 6552 |
_name.object_id frame_number |
| 6553 |
_name.category_id diffrn_scan_simple_frames |
| 6554 |
_definition.class Datum |
| 6555 |
_description.text 'PLEASE DEFINE ME' |
| 6556 |
|
| 6557 |
save_ |
| 6558 |
|
| 6559 |
|
| 6560 |
save__diffrn_scan_simple_frames.id |
| 6561 |
|
| 6562 |
_definition.id '_diffrn_scan_simple_frames.id' |
| 6563 |
_name.object_id id |
| 6564 |
_name.category_id diffrn_scan_simple_frames |
| 6565 |
_definition.class Datum |
| 6566 |
_description.text 'This value is used to access individual simple frames.' |
| 6567 |
_type.purpose Key |
| 6568 |
_type.source Assigned |
| 6569 |
_type.container Multiple |
| 6570 |
_type.contents Text |
| 6571 |
loop_ |
| 6572 |
_method.purpose |
| 6573 |
_method.expression |
| 6574 |
Evaluation |
| 6575 |
; |
| 6576 |
with dssf as diffrn_scan_simple_frames { |
| 6577 |
dssf.id = [dssf.scan_id, dssf.frame_id] |
| 6578 |
} |
| 6579 |
|
| 6580 |
; |
| 6581 |
|
| 6582 |
save_ |
| 6583 |
|
| 6584 |
|
| 6585 |
save__diffrn_scan_simple_frames.scan_id |
| 6586 |
|
| 6587 |
_definition.id '_diffrn_scan_simple_frames.scan_id' |
| 6588 |
_name.object_id scan_id |
| 6589 |
_name.category_id diffrn_scan_simple_frames |
| 6590 |
_definition.class Datum |
| 6591 |
_description.text |
| 6592 |
'An identifier for a simple scan. This item points to _diffrn_scan.id' |
| 6593 |
_type.purpose Key |
| 6594 |
_type.source Assigned |
| 6595 |
_type.container Single |
| 6596 |
_type.contents Text |
| 6597 |
|
| 6598 |
save_ |
| 6599 |
|
| 6600 |
|
| 6601 |
save_full_frame |
| 6602 |
|
| 6603 |
_name.object_id full_frame |
| 6604 |
_name.category_id DEMO_DIC_HEAD |
| 6605 |
_definition.id full_frame |
| 6606 |
_definition.scope Category |
| 6607 |
_definition.class Loop |
| 6608 |
_description.text |
| 6609 |
'Items in the full frame category describe data arrays from detectors consisting of a single element.' |
| 6610 |
_category.key_id '_full_frame.id' |
| 6611 |
_category_construct_local.new_ids [id detector_element_key] |
| 6612 |
_category_construct_local.components ['_diffrn_data_frame.detector_element_key' |
| 6613 |
'_diffrn_detector_monolithic_element.key'] |
| 6614 |
_category_construct_local.type Pullback |
| 6615 |
loop_ |
| 6616 |
_category_key.name |
| 6617 |
'_full_frame.id' |
| 6618 |
|
| 6619 |
save_ |
| 6620 |
|
| 6621 |
|
| 6622 |
save__full_frame.array_id |
| 6623 |
|
| 6624 |
_definition.id '_full_frame.array_id' |
| 6625 |
_name.object_id array_id |
| 6626 |
_name.category_id full_frame |
| 6627 |
_definition.class Datum |
| 6628 |
_description.text 'A pointer to the array structure describing this full frame' |
| 6629 |
_type.purpose Link |
| 6630 |
_type.source Related |
| 6631 |
_type.container Single |
| 6632 |
_type.contents Text |
| 6633 |
|
| 6634 |
save_ |
| 6635 |
|
| 6636 |
|
| 6637 |
save__full_frame.binary_id |
| 6638 |
|
| 6639 |
_definition.id '_full_frame.binary_id' |
| 6640 |
_name.object_id binary_id |
| 6641 |
_name.category_id full_frame |
| 6642 |
_definition.class Datum |
| 6643 |
_description.text |
| 6644 |
'A pointer to the binary_id containing the data for this full frame.' |
| 6645 |
_type.purpose Link |
| 6646 |
_type.source Related |
| 6647 |
_type.container Single |
| 6648 |
_type.contents Code |
| 6649 |
_name.linked_item_id '_array_data.binary_id' |
| 6650 |
|
| 6651 |
save_ |
| 6652 |
|
| 6653 |
|
| 6654 |
save__full_frame.detector_element_id |
| 6655 |
|
| 6656 |
_definition.id '_full_frame.detector_element_id' |
| 6657 |
_name.object_id detector_element_id |
| 6658 |
_name.category_id full_frame |
| 6659 |
_definition.class Datum |
| 6660 |
_description.text 'PLEASE DEFINE ME' |
| 6661 |
_type.purpose Link |
| 6662 |
_type.source Related |
| 6663 |
_type.container Single |
| 6664 |
_type.contents Text |
| 6665 |
_name.linked_item_id '_diffrn_detector_element.key' |
| 6666 |
|
| 6667 |
save_ |
| 6668 |
|
| 6669 |
|
| 6670 |
save__full_frame.detector_element_key |
| 6671 |
|
| 6672 |
_definition.id '_full_frame.detector_element_key' |
| 6673 |
_name.object_id detector_element_key |
| 6674 |
_name.category_id full_frame |
| 6675 |
_definition.class Datum |
| 6676 |
_description.text 'PLEASE DEFINE ME' |
| 6677 |
_type.purpose Link |
| 6678 |
_type.source Related |
| 6679 |
_type.container Multiple |
| 6680 |
_type.contents Code |
| 6681 |
_name.linked_item_id '_diffrn_detector_element.key' |
| 6682 |
|
| 6683 |
save_ |
| 6684 |
|
| 6685 |
|
| 6686 |
save__full_frame.frame_id |
| 6687 |
|
| 6688 |
_definition.id '_full_frame.frame_id' |
| 6689 |
_name.object_id frame_id |
| 6690 |
_name.category_id full_frame |
| 6691 |
_definition.class Datum |
| 6692 |
_description.text 'PLEASE DEFINE ME' |
| 6693 |
_type.purpose Link |
| 6694 |
_type.source Related |
| 6695 |
_type.container Single |
| 6696 |
_type.contents Text |
| 6697 |
_name.linked_item_id '' |
| 6698 |
loop_ |
| 6699 |
_method.purpose |
| 6700 |
_method.expression |
| 6701 |
Evaluation |
| 6702 |
; |
| 6703 |
_full_frame.frame_id = _full_frame.id[1] |
| 6704 |
|
| 6705 |
; |
| 6706 |
|
| 6707 |
save_ |
| 6708 |
|
| 6709 |
|
| 6710 |
save__full_frame.id |
| 6711 |
|
| 6712 |
_definition.id '_full_frame.id' |
| 6713 |
_name.object_id id |
| 6714 |
_name.category_id full_frame |
| 6715 |
_definition.class Datum |
| 6716 |
_description.text 'This item uniquely identifies a full frame of data' |
| 6717 |
_type.purpose Key |
| 6718 |
_type.source Assigned |
| 6719 |
_type.container Single |
| 6720 |
_type.contents Code |
| 6721 |
loop_ |
| 6722 |
_method.purpose |
| 6723 |
_method.expression |
| 6724 |
Evaluation |
| 6725 |
; |
| 6726 |
_full_frame.id = [_full_frame.scan_id,_full_frame.frame_id] |
| 6727 |
|
| 6728 |
; |
| 6729 |
|
| 6730 |
save_ |
| 6731 |
|
| 6732 |
|
| 6733 |
save__full_frame.scan_id |
| 6734 |
|
| 6735 |
_definition.id '_full_frame.scan_id' |
| 6736 |
_name.object_id scan_id |
| 6737 |
_name.category_id full_frame |
| 6738 |
_definition.class Datum |
| 6739 |
_description.text 'PLEASE DEFINE ME' |
| 6740 |
_type.purpose Link |
| 6741 |
_type.source Related |
| 6742 |
_type.container Single |
| 6743 |
_type.contents Text |
| 6744 |
_name.linked_item_id '' |
| 6745 |
loop_ |
| 6746 |
_method.purpose |
| 6747 |
_method.expression |
| 6748 |
Evaluation |
| 6749 |
; |
| 6750 |
_full_frame.scan_id = _full_frame.id[0] |
| 6751 |
|
| 6752 |
; |
| 6753 |
|
| 6754 |
save_ |
| 6755 |
|
| 6756 |
|
| 6757 |
save_goniometer_axis |
| 6758 |
|
| 6759 |
_name.object_id goniometer_axis |
| 6760 |
_name.category_id DEMO_DIC_HEAD |
| 6761 |
_definition.id goniometer_axis |
| 6762 |
_definition.scope Category |
| 6763 |
_definition.class Loop |
| 6764 |
_description.text 'This category contains axes that belong to the goniometer' |
| 6765 |
_category.key_id '_goniometer_axis.id' |
| 6766 |
loop_ |
| 6767 |
_category_key.name |
| 6768 |
'_goniometer_axis.id' |
| 6769 |
_category_construct_local.type Filter |
| 6770 |
_category_construct_local.components ['_axis.equipment'] |
| 6771 |
_category_construct_local.text_filter [goniometer] |
| 6772 |
_category_construct_local.new_ids [id] |
| 6773 |
|
| 6774 |
save_ |
| 6775 |
|
| 6776 |
|
| 6777 |
save__goniometer_axis.id |
| 6778 |
|
| 6779 |
_definition.id '_goniometer_axis.id' |
| 6780 |
_name.object_id id |
| 6781 |
_name.category_id goniometer_axis |
| 6782 |
_definition.class Datum |
| 6783 |
_description.text 'PLEASE DEFINE ME' |
| 6784 |
_name.linked_item_id '_axis.id' |
| 6785 |
_type.purpose Link |
| 6786 |
_type.source Related |
| 6787 |
_type.container Multiple |
| 6788 |
_type.contents Code |
| 6789 |
|
| 6790 |
save_ |
| 6791 |
|
| 6792 |
|
| 6793 |
save__goniometer_axis.offset |
| 6794 |
|
| 6795 |
_definition.id '_goniometer_axis.offset' |
| 6796 |
_name.object_id offset |
| 6797 |
_name.category_id goniometer_axis |
| 6798 |
_definition.class Datum |
| 6799 |
_description.text 'See _axis.offset' |
| 6800 |
_type.purpose Number |
| 6801 |
_type.source Assigned |
| 6802 |
_type.container Matrix |
| 6803 |
_type.contents Real |
| 6804 |
_type.dimension '[3]' |
| 6805 |
|
| 6806 |
save_ |
| 6807 |
|
| 6808 |
|
| 6809 |
save__goniometer_axis.type |
| 6810 |
|
| 6811 |
_definition.id '_goniometer_axis.type' |
| 6812 |
_name.object_id type |
| 6813 |
_name.category_id goniometer_axis |
| 6814 |
_definition.class Datum |
| 6815 |
_description.text 'See _axis.type' |
| 6816 |
_type.purpose State |
| 6817 |
_type.source Assigned |
| 6818 |
_type.container Single |
| 6819 |
_type.contents Text |
| 6820 |
|
| 6821 |
save_ |
| 6822 |
|
| 6823 |
|
| 6824 |
save__goniometer_axis.vector |
| 6825 |
|
| 6826 |
_definition.id '_goniometer_axis.vector' |
| 6827 |
_name.object_id vector |
| 6828 |
_name.category_id goniometer_axis |
| 6829 |
_definition.class Datum |
| 6830 |
_description.text 'See _axis.vector' |
| 6831 |
_type.purpose Number |
| 6832 |
_type.source Recorded |
| 6833 |
_type.container Matrix |
| 6834 |
_type.contents Real |
| 6835 |
_type.dimension '[3]' |
| 6836 |
|
| 6837 |
save_ |
| 6838 |
|
| 6839 |
|
| 6840 |
save_scan_array_data |
| 6841 |
|
| 6842 |
_name.object_id scan_array_data |
| 6843 |
_name.category_id DEMO_DIC_HEAD |
| 6844 |
_definition.id scan_array_data |
| 6845 |
_definition.scope Category |
| 6846 |
_definition.class Loop |
| 6847 |
_description.text |
| 6848 |
;Items in the scan array category describe data arrays obtained by stacking all exposures in a single scan. |
| 6849 |
Not all items have been defined but in general a series of items analogous to the array data items should |
| 6850 |
be defined. |
| 6851 |
|
| 6852 |
; |
| 6853 |
_category.key_id '_scan_array_data.scan_id' |
| 6854 |
loop_ |
| 6855 |
_method.purpose |
| 6856 |
_method.expression |
| 6857 |
Evaluation |
| 6858 |
; |
| 6859 |
loop dss as diffrn_scan_simple { |
| 6860 |
scan_array_data (.scan_id = dss.scan_id |
| 6861 |
) |
| 6862 |
} |
| 6863 |
|
| 6864 |
; |
| 6865 |
loop_ |
| 6866 |
_category_key.name |
| 6867 |
'_scan_array_data.scan_id' |
| 6868 |
|
| 6869 |
save_ |
| 6870 |
|
| 6871 |
|
| 6872 |
save__scan_array_data.array_data |
| 6873 |
|
| 6874 |
_definition.id '_scan_array_data.array_data' |
| 6875 |
_name.object_id array_data |
| 6876 |
_name.category_id scan_array_data |
| 6877 |
_definition.class Datum |
| 6878 |
_description.text |
| 6879 |
'A three-dimensional dataset obtained by concatenating all frames corresponding to a single scan ID in order with each frame assumed to have identical structure. ' |
| 6880 |
_type.purpose Number |
| 6881 |
_type.source Assigned |
| 6882 |
_type.container Array |
| 6883 |
_type.contents Integer |
| 6884 |
loop_ |
| 6885 |
_method.purpose |
| 6886 |
_method.expression |
| 6887 |
Evaluation |
| 6888 |
; |
| 6889 |
with sad as scan_array_data { |
| 6890 |
total_frames = diffrn_scan[sad.scan_id].frames |
| 6891 |
# now build up frames in order (this is a very slow way to do it) |
| 6892 |
frame_list = [] |
| 6893 |
do frame_no = 1,total_frames { |
| 6894 |
loop dssf as diffrn_scan_simple_frames { |
| 6895 |
if (dssf.scan_id == sad.scan_id ) { |
| 6896 |
frame_lookup = [dssf.scan_id,dssf.frame_id] |
| 6897 |
frame_number = diffrn_scan_frame[frame_lookup].frame_number |
| 6898 |
if (frame_number == frame_no) { |
| 6899 |
array_ptr = full_frame[frame_lookup].binary_id |
| 6900 |
print "** Now appending frame " + `array_ptr` |
| 6901 |
frame_list ++= array_data[array_ptr].as_integers #assuming binary_id is key |
| 6902 |
} |
| 6903 |
} |
| 6904 |
} |
| 6905 |
|
| 6906 |
} |
| 6907 |
} |
| 6908 |
final_result = frame_list[0] |
| 6909 |
do frame_no = 1, total_frames-1 { |
| 6910 |
final_result ++= frame_list[frame_no] |
| 6911 |
} |
| 6912 |
_scan_array_data.array_data = final_result |
| 6913 |
|
| 6914 |
; |
| 6915 |
|
| 6916 |
save_ |
| 6917 |
|
| 6918 |
|
| 6919 |
save__scan_array_data.scan_id |
| 6920 |
|
| 6921 |
_definition.id '_scan_array_data.scan_id' |
| 6922 |
_name.object_id scan_id |
| 6923 |
_name.category_id scan_array_data |
| 6924 |
_definition.class Datum |
| 6925 |
_description.text |
| 6926 |
'This is a pointer to the scan ID. The data correspond to all individual measurements in this scan.' |
| 6927 |
_type.purpose Key |
| 6928 |
_type.source Assigned |
| 6929 |
_type.container Single |
| 6930 |
_type.contents Text |
| 6931 |
_name.linked_item_id '_diffrn_scan.id' |
| 6932 |
|
| 6933 |
save_ |
| 6934 |
|
| 6935 |
|
| 6936 |
save_simple_array_axis |
| 6937 |
|
| 6938 |
_name.object_id simple_array_axis |
| 6939 |
_name.category_id DEMO_DIC_HEAD |
| 6940 |
_definition.id simple_array_axis |
| 6941 |
_definition.scope Category |
| 6942 |
_definition.class Loop |
| 6943 |
_description.text |
| 6944 |
;This category contains axes that belong to the detector and which are not coupled. |
| 6945 |
|
| 6946 |
; |
| 6947 |
_category.key_id '_simple_detector_axis.id' |
| 6948 |
loop_ |
| 6949 |
_category_key.name |
| 6950 |
'_detector_axis.id' |
| 6951 |
loop_ |
| 6952 |
_method.purpose |
| 6953 |
_method.expression |
| 6954 |
Evaluation |
| 6955 |
; |
| 6956 |
seen_sets = List() |
| 6957 |
seen_axes = List() |
| 6958 |
coupled_sets = List() |
| 6959 |
loop asla as array_structure_list_axis { |
| 6960 |
if (asla.axis_id not in seen_axes) { |
| 6961 |
seen_axes ++= asla.axis_id |
| 6962 |
} |
| 6963 |
if (asla.axis_set_id not in seen_sets) { |
| 6964 |
seen_sets ++= asla.axis_set_id |
| 6965 |
} else { #more than one entry |
| 6966 |
coupled_sets ++= asla.axis_set_id |
| 6967 |
} |
| 6968 |
} |
| 6969 |
coupled_axes = List() |
| 6970 |
loop asla as array_structure_list_axis { |
| 6971 |
if (asla.axis_set_id in coupled_sets) { |
| 6972 |
coupled_axes ++= asla.axis_id |
| 6973 |
} |
| 6974 |
} |
| 6975 |
loop ax as axis { |
| 6976 |
if (ax.id in seen_axes and ax.id not in coupled_axes) { |
| 6977 |
simple_array_axis (.id = ax.id, |
| 6978 |
.vector = ax.vector, |
| 6979 |
.offset = ax.offset, |
| 6980 |
.type = ax.type |
| 6981 |
) |
| 6982 |
} |
| 6983 |
} |
| 6984 |
|
| 6985 |
; |
| 6986 |
|
| 6987 |
save_ |
| 6988 |
|
| 6989 |
|
| 6990 |
save__simple_array_axis.id |
| 6991 |
|
| 6992 |
_definition.id '_simple_array_axis.id' |
| 6993 |
_name.object_id id |
| 6994 |
_name.category_id simple_array_axis |
| 6995 |
_definition.class Datum |
| 6996 |
_description.text 'PLEASE DEFINE ME' |
| 6997 |
_type.purpose Key |
| 6998 |
_type.source Related |
| 6999 |
_type.container Single |
| 7000 |
_type.contents Text |
| 7001 |
_name.linked_item_id '_axis.id' |
| 7002 |
|
| 7003 |
save_ |
| 7004 |
|
| 7005 |
|
| 7006 |
save__simple_array_axis.offset |
| 7007 |
|
| 7008 |
_definition.id '_simple_array_axis.offset' |
| 7009 |
_name.object_id offset |
| 7010 |
_name.category_id simple_array_axis |
| 7011 |
_definition.class Datum |
| 7012 |
_description.text 'PLEASE DEFINE ME' |
| 7013 |
_type.purpose Number |
| 7014 |
_type.source Recorded |
| 7015 |
_type.container Array |
| 7016 |
_type.contents Real |
| 7017 |
|
| 7018 |
save_ |
| 7019 |
|
| 7020 |
|
| 7021 |
save__simple_array_axis.offset_convention2 |
| 7022 |
|
| 7023 |
_definition.id '_simple_array_axis.offset_convention2' |
| 7024 |
_name.object_id offset_convention2 |
| 7025 |
_name.category_id simple_array_axis |
| 7026 |
_definition.class Datum |
| 7027 |
_description.text |
| 7028 |
'The axis vector expressed in an alternate coordinate system where Z points along the beam away from the source.' |
| 7029 |
_name.linked_item_id '' |
| 7030 |
_type.purpose Number |
| 7031 |
_type.source Recorded |
| 7032 |
_type.container Array |
| 7033 |
_type.contents Real |
| 7034 |
loop_ |
| 7035 |
_method.purpose |
| 7036 |
_method.expression |
| 7037 |
Evaluation |
| 7038 |
; |
| 7039 |
with saa as simple_array_axis |
| 7040 |
saa.offset_convention2 = saa.offset * Array([[-1,0,0],[0,1,0],[0,0,-1]]) |
| 7041 |
|
| 7042 |
; |
| 7043 |
|
| 7044 |
save_ |
| 7045 |
|
| 7046 |
|
| 7047 |
save__simple_array_axis.type |
| 7048 |
|
| 7049 |
_definition.id '_simple_array_axis.type' |
| 7050 |
_name.object_id type |
| 7051 |
_name.category_id simple_array_axis |
| 7052 |
_definition.class Datum |
| 7053 |
_description.text 'PLEASE DEFINE ME' |
| 7054 |
_type.purpose State |
| 7055 |
_type.source Recorded |
| 7056 |
_type.container Single |
| 7057 |
_type.contents Text |
| 7058 |
|
| 7059 |
save_ |
| 7060 |
|
| 7061 |
|
| 7062 |
save__simple_array_axis.vector |
| 7063 |
|
| 7064 |
_definition.id '_simple_array_axis.vector' |
| 7065 |
_name.object_id vector |
| 7066 |
_name.category_id simple_array_axis |
| 7067 |
_definition.class Datum |
| 7068 |
_description.text 'PLEASE DEFINE ME' |
| 7069 |
_type.purpose Number |
| 7070 |
_type.source Recorded |
| 7071 |
_type.container Array |
| 7072 |
_type.contents Real |
| 7073 |
|
| 7074 |
save_ |
| 7075 |
|
| 7076 |
|
| 7077 |
save__simple_array_axis.vector_convention2 |
| 7078 |
|
| 7079 |
_definition.id '_simple_array_axis.vector_convention2' |
| 7080 |
_name.object_id vector_convention2 |
| 7081 |
_name.category_id simple_array_axis |
| 7082 |
_definition.class Datum |
| 7083 |
_description.text |
| 7084 |
'The axis vector expressed in an alternate coordinate system where Z points along the beam away from the source.' |
| 7085 |
_name.linked_item_id '' |
| 7086 |
loop_ |
| 7087 |
_method.purpose |
| 7088 |
_method.expression |
| 7089 |
Evaluation |
| 7090 |
; |
| 7091 |
with saa as simple_array_axis |
| 7092 |
saa.vector_convention2 = saa.vector * Array([[-1,0,0],[0,1,0],[0,0,-1]]) |
| 7093 |
|
| 7094 |
; |
| 7095 |
_type.purpose Number |
| 7096 |
_type.source Recorded |
| 7097 |
_type.container Array |
| 7098 |
_type.contents Real |
| 7099 |
|
| 7100 |
save_ |
| 7101 |
|
| 7102 |
|
| 7103 |
save_simple_data_axis |
| 7104 |
|
| 7105 |
_name.object_id simple_data_axis |
| 7106 |
_name.category_id DEMO_DIC_HEAD |
| 7107 |
_definition.id simple_data_axis |
| 7108 |
_definition.scope Category |
| 7109 |
_definition.class Loop |
| 7110 |
_description.text |
| 7111 |
'Items in the data_axis category describe the axes used relevant to the entire dataset as a single data array, that is, they include both scan axes and detector array axes, but not axes that were fixed during data collection. Being simple, they do not describe coupled axis motion.' |
| 7112 |
_category.key_id '_simple_data_axis.id' |
| 7113 |
loop_ |
| 7114 |
_category_key.name |
| 7115 |
'_simple_data_axis.id' |
| 7116 |
loop_ |
| 7117 |
_method.purpose |
| 7118 |
_method.expression |
| 7119 |
Evaluation |
| 7120 |
; |
| 7121 |
# List the simple detector axes with precedence |
| 7122 |
|
| 7123 |
loop sad as scan_array_data { |
| 7124 |
scan_id = sad.scan_id |
| 7125 |
one_frame_id = diffrn_scan[scan_id].frame_id_start |
| 7126 |
frame_key = [scan_id,one_frame_id] |
| 7127 |
one_array = full_frame[frame_key].array_id |
| 7128 |
maxprec = 0 |
| 7129 |
loop asl as array_structure_list { |
| 7130 |
if (asl.array_id == one_array) { |
| 7131 |
setid = asl.axis_set_id |
| 7132 |
precedence = asl.precedence |
| 7133 |
maxprec = max([maxprec,precedence]) |
| 7134 |
loop asla as array_structure_list_axis { |
| 7135 |
if (asla.axis_set_id == setid) { |
| 7136 |
simple_data_axis (.scan_id = scan_id, |
| 7137 |
.id = asla.axis_id, |
| 7138 |
.precedence = precedence |
| 7139 |
) |
| 7140 |
} |
| 7141 |
} |
| 7142 |
} |
| 7143 |
} |
| 7144 |
# add scan axis |
| 7145 |
simple_data_axis (.scan_id = scan_id, |
| 7146 |
.id = diffrn_scan_simple[scan_id].axis_id, |
| 7147 |
.precedence = maxprec + 1 |
| 7148 |
) |
| 7149 |
} |
| 7150 |
|
| 7151 |
; |
| 7152 |
|
| 7153 |
save_ |
| 7154 |
|
| 7155 |
|
| 7156 |
save__simple_data_axis.id |
| 7157 |
|
| 7158 |
_definition.id '_simple_data_axis.id' |
| 7159 |
_name.object_id id |
| 7160 |
_name.category_id simple_data_axis |
| 7161 |
_definition.class Datum |
| 7162 |
_description.text 'An axis identifier' |
| 7163 |
_name.linked_item_id '_axis.id' |
| 7164 |
_type.purpose Link |
| 7165 |
_type.source Related |
| 7166 |
_type.container Single |
| 7167 |
_type.contents Code |
| 7168 |
|
| 7169 |
save_ |
| 7170 |
|
| 7171 |
|
| 7172 |
save__simple_data_axis.precedence |
| 7173 |
|
| 7174 |
_definition.id '_simple_data_axis.precedence' |
| 7175 |
_name.object_id precedence |
| 7176 |
_name.category_id simple_data_axis |
| 7177 |
_definition.class Datum |
| 7178 |
_description.text |
| 7179 |
;The precedence of this axis as an integer. The lowest-numbered axis is the most rapidly-varying. As |
| 7180 |
this proof of concept assumes that only one axis is changed for each scan, the highest-precedence axis |
| 7181 |
will be the scan axis. |
| 7182 |
; |
| 7183 |
_type.purpose Number |
| 7184 |
_type.source Assigned |
| 7185 |
_type.container Single |
| 7186 |
_type.contents Integer |
| 7187 |
|
| 7188 |
save_ |
| 7189 |
|
| 7190 |
|
| 7191 |
save__simple_data_axis.scan_id |
| 7192 |
|
| 7193 |
_definition.id '_simple_data_axis.scan_id' |
| 7194 |
_name.object_id scan_id |
| 7195 |
_name.category_id simple_data_axis |
| 7196 |
_definition.class Datum |
| 7197 |
_description.text 'PLEASE DEFINE ME' |
| 7198 |
_type.purpose Link |
| 7199 |
_type.source Related |
| 7200 |
_type.container Single |
| 7201 |
_type.contents Code |
| 7202 |
_name.linked_item_id '_diffrn_scan.id' |
| 7203 |
|
| 7204 |
save_ |