File: map_edit.html

package info (click to toggle)
cbflib 0.9.7%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 65,272 kB
  • sloc: ansic: 131,361; python: 22,780; sh: 3,108; makefile: 2,088; yacc: 659; java: 223; f90: 214; xml: 210; cpp: 58
file content (320 lines) | stat: -rw-r--r-- 11,534 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
#######
# <a name="MAP">MAP</a> #
#######

save_MAP
    _category.description
;             Data items in the <a href="#MAP">MAP</a> category record
              the details of a maps. Maps record values of parameters,
              such as density, that are functions of position within
              a cell or are functions of orthogonal coordinates in
              three space.
              
              A map may is composed of one or more map segments
              specified in the MAP_SEGMENT category.
              
              Maps are optionally keyed to a particular _diffrn.id
              or to a particular _entry.id, so that multiple maps
              for different data collections or entries may be
              collected in one data block.
              
              Examples are given in the MAP_SEGMENT category.
;
    _category.id                   map
    _category.mandatory_code       no
     loop_
    _category_key.name             '<a href="#_map.id" >_map.id</a>'
                                   '<a href="#_map.diffrn_id" >_map.diffrn_id</a>'
                                   '<a href="#_map.entry_id" >_map.entry_id</a>'
    loop_
    _category_group.id             'inclusive_group'
                                   'array_data_group'
    loop_
    _category_examples.detail
    _category_examples.case
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;   Example 1 - Identifying an observed density map
                and a calculated density map
;
;
        
        loop_
        <a href="#_map.id" >_map.id</a>
        <a href="#_map.details" >_map.details</a>
        
        rho_calc
;
        density calculated from F_calc derived from the ATOM_SITE list
;
        rho_obs
;
        density combining the observed structure factors with the
        calculated phases
;

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    save_


save_<a name="_map.details" >_map.details</a>
     _item_description.description
;              The value of <a href="#_map.details" >_map.details</a> should give a
               description of special aspects of each map.

;
    _item.name                  '<a name="_map.details" >_map.details</a>'
    _item.category_id             map
    _item.mandatory_code          no
    _item_type.code               text
     loop_
    _item_examples.case
    _item_examples.detail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;   Example 1 - Identifying an observed density map
                and a calculated density map
;
;
        
        loop_
        <a href="#_map.id" >_map.id</a>
        <a href="#_map.details" >_map.details</a>
        
        rho_calc
;
        density calculated from F_calc derived from the ATOM_SITE list
;
        rho_obs
;
        density combining the observed structure factors with the
        calculated phases
;

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      save_
      
save_<a name="_map.diffrn_id" >_map.diffrn_id</a>
    _item_description.description
;             This item is a pointer to <a href="#_diffrn.id" >_diffrn.id</a> in the
              <a href="#DIFFRN">DIFFRN</a> category.
;
    _item.name                  '<a href="#_map.diffrn_id" >_map.diffrn_id</a>'
    _item.category_id             map
    _item.mandatory_code          implicit
    _item_type.code               code
     save_

save_<a name="_map.entry_id" >_map.entry_id</a>
    _item_description.description
;             This item is a pointer to <a href="#_entry.id" >_entry.id</a> in the
              <a href="#ENTRY">ENTRY</a> category.
;
    _item.name                  '<a href="#_map.entry_id" >_map.entry_id</a>'
    _item.category_id             map
    _item.mandatory_code          implicit
    _item_type.code               code
     save_


save_<a name="_map.id" >_map.id</a>
    _item_description.description
;             The value of <a href="#_map.id" >_map.id</a> must uniquely identify
              each map for the given diffrn.id or entry.id.
;
     loop_
    _item.name
    _item.category_id
    _item.mandatory_code
           '<a href="#_map.id" >_map.id</a>'                map          yes
           '<a href="#_map_segment.id" >_map_segment.id</a>'        map_segment  yes
    _item_type.code               code
     loop_
    _item_linked.child_name
    _item_linked.parent_name
           '<a href="#_map_segment.id" >_map_segment.id</a>'        '<a href="#_map.id" >_map.id</a>'
     save_




###########################
# <a name="MAP_SEGMENT">MAP_SEGMENT</a> #
###########################


save_MAP_SEGMENT
    _category.description
;             Data items in the <a href="#MAP_SEGMENT">MAP_SEGMENT</a> category record
              the details about each segment (section or brick) of a map. 
;
    _category.id                   map_segment
    _category.mandatory_code       no
     loop_
    _category_key.name             '<a href="#_map_segment.id" >_map_segment.id</a>'
                                   '<a href="#_map_segment.map_id" >_map_segment.map_id</a>'
    loop_
    _category_group.id             'inclusive_group'
                                   'array_data_group'
    loop_
    _category_examples.detail
    _category_examples.case
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;   Example 1 - Identifying an observed density map
                and a calculated density map, each consisting of one
                segment, both using the same array structure
                and mask.
;
;
        
        loop_
        <a href="#_map.id" >_map.id</a>
        <a href="#_map.details" >_map.details</a>
        
        rho_calc
;
        density calculated from F_calc derived from the ATOM_SITE list
;
        rho_obs
;
        density combining the observed structure factors with the
        calculated phases
;

        loop_
        _map_segment.map_id
        _map_segment.id
        _map_segment.array_id
        _map_segment.binary_id
        _map_segment.mask_array_id
        _map_segment.mask_binary_id
        rho_calc rho_calc map_structure 1 mask_structure 1
        rho_obs  rho_obs  map_structure 2 mask_structure 1

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    save_


save_<a name="_map_segment.array_id" >_map_segment.array_id</a>
    _item_description.description
;             The value of _map_segment.array_id identifies the array structure 
              into which the map is organized.

              This item is a pointer to <a href="#_array_structure.id" >_array_structure.id</a> in the
              <a href="#ARRAY_STRUCTURE">ARRAY_STRUCTURE</a> category.
;
    _item.name                  '<a href="#_map_segement.array_id" >_map_segment.array_id</a>'
    _item.category_id             map_segment
    _item.mandatory_code          yes
    _item_type.code               code
     save_


save_<a name="_map_segment.binary_id" >_map_segment.binary_id</a>
    _item_description.description
;             The value of _map_segment.binary_id distinguishes the particular set
              of data organized according to _map_segment.array_id in which
              the data values of the map are stored.

              This item is a pointer to <a href="#_array_data.binary_id" >_array_data.binary_id</a> in the
              <a href="#ARRAY_DATA">ARRAY_DATA</a> category.
;
    _item.name                  '<a href="#_map_segment.binary_id" >_map_segment.binary_id</a>'
    _item.category_id             map_segment
    _item.mandatory_code          implicit
    _item_type.code               int
     save_

save_<a name="_map_segment.mask_array_id" >_map_segment.mask_array_id</a>
    _item_description.description
;             The value of _map_segment.mask_array_id, if given, the array structure
              into which the mask for the map is organized.  If no value is given,
              then all elements of the map are valid.  If a value is given, then
              only elements of the map for which the corresponding element of
              the mask is non-zero are valid.  The value of 
              _map_segment.mask_array_id differ from the value of
              _map_segment.array_id in order to permit the mask to be given
              as, say, unsigned 8-bit integers, while the map is given as
              a data type with more range.  However, the two array structures
              must be aligned, using the same axes in the same order with the
              same displacements and increments

              This item is a pointer to <a href="#_array_structure.id" >_array_structure.id</a> in the
              <a href="#ARRAY_STRUCTURE">ARRAY_STRUCTURE</a> category.
;
    _item.name                  '<a href="#_map_segment.mask_array_id" >_map_segment.mask_array_id</a>'
    _item.category_id             map_segment
    _item.mandatory_code          no
    _item_type.code               code
     save_


save_<a name="_map_segment.mask_binary_id" >_map_segment.mask_binary_id</a>
    _item_description.description
;             The value of _map_segment.mask_binary_id identifies the particular set
              of data organized according to _map_segment.mask_array_id specifying
              the mask for the map.

              This item is a pointer to <a href="#_array_data.mask_binary_id" >_array_data.mask_binary_id</a> in the
              <a href="#ARRAY_DATA">ARRAY_DATA</a> category.
;
    _item.name                  '<a href="#_map_segment.mask_binary_id" >_map_segment.mask_binary_id</a>'
    _item.category_id             map_segment
    _item.mandatory_code          implicit
    _item_type.code               int
     save_


save_<a name="_map_segment.id" >_map_segment.id</a>
    _item_description.description
;             The value of <a href="#_map_segment.id" >_map_segment.id</a> must uniquely
              identify each segment of a map.
;
     loop_
    _item.name
    _item.category_id
    _item.mandatory_code
           '<a href="#_map_segment.id" >_map_segment.id</a>'
           map_segment
           yes
    _item_type.code               code
     loop_
    _item_linked.child_name
    _item_linked.parent_name
           '<a href="#_map_data_frame.map_segment_id" >_map_data_frame.map_segment_id</a>'
           '<a href="#_map_segment.id" >_map_segment.id</a>'

     save_


save_<a name="_map_segment.map_id" >_map_segment.map_id</a>
    _item_description.description
;              This item is a pointer to <a href="#_map.id" >_map.id</a>
               in the <a href="#MAP">MAP</a> category.
;
    _item.name                  '<a href="#_map_segment.map_id" >_map_segment.map_id</a>'
    _item.category_id             map_segment
    _item.mandatory_code          yes
    _item_type.code               code
     save_

save_<a name="_map_segment.details" >_map_segment.details</a>
     _item_description.description
;              The value of <a href="#_map_segment.details" >_map_segment.details</a> should give a
               description of special aspects of each segment of a map.

;
    _item.name                  '<a name="_map_segment.details" >_map_segment.details</a>'
    _item.category_id             map_segment
    _item.mandatory_code          no
    _item_type.code               text
     loop_
    _item_examples.case
    _item_examples.detail
;               Example to be provided
;
;               

;
      save_