Changeset 652
- Timestamp:
- Dec 4, 2009 5:09:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/gsas2cif.html
- Property rcs:date changed from 2002/07/31 00:33:41 to 2002/09/05 21:18:57
- Property rcs:lines changed from +73 -11 to +87 -51
- Property rcs:rev changed from 1.3 to 1.4
r635 r652 234 234 </BLOCKQUOTE> 235 235 <a name="filltemplate"> 236 <H 3>The FillTemplate program</H3>236 <H2>The FillTemplate program</H2> 237 237 <BLOCKQUOTE> 238 238 </a> … … 249 249 opens a window, as is shown below: 250 250 </BLOCKQUOTE> 251 </BLOCKQUOTE> 251 252 <img src="ciffill1.gif" alt="View of FillTemplate window"> 252 253 <BLOCKQUOTE> 253 The box on the left side of the window displays the datanames in the CIF 254 <BLOCKQUOTE> 255 The box on the left side of the window displays the data names in the CIF 254 256 as a hierarchical tree. Note that subentries can be displayed or hidden 255 by clicking on the +/- sign to the right of a group. For example, 256 by default the datanames contained in each loop are not shown, but 257 clicking on the + sign to the right of the "loop_0" listing (shown below), 258 allows the three data items included in this loop to be displayed. 259 <P> 260 Clicking on an individual dataname causes the 261 associated value to be displayed on the right. This value can be edited by 262 clicking on the entry box. Note these edits are not performed until 263 the "Save Changes" button is pressed, unless the 264 "<a href="#autoaccept">Auto-Accept</a>" is turned on. 265 <P> 266 In the case above, the dataname 267 _pd_prep_temperature is defined in the CIF dictionary as a number 268 between 0 and infinity and 269 the units are defined as Kelvins, so the input will be validated to ensure 270 that only numbers in the allowed range are input and the units are displayed. 271 If the CIF dictionary defines a enumerated list of values 272 for a dataname, these are the only valid choices, so a menu button offers 273 a list of these options, in place of a box where text can be typed. 274 <P> 275 CIF loops allow multiple values to be associated with one or more data items, 276 in effect defining a table of data. 277 Clicking on a loop, causes all the datanames in the loop to be displayed, 278 as is shown below. 279 </BLOCKQUOTE> 280 <img src="ciffill.gif" alt="View of FillTemplate window"> 281 <BLOCKQUOTE> 282 When a loop is displayed, extra controls appear. The "spinbox" to the right 283 of the "Loop element #" label is used to select 284 which "row" from the loop is displayed. A new row can be added to the end of a 285 loop using the "Add to loop" button and the displayed 286 row can be deleted from a loop 287 using the "Delete loop entry" button. 288 It is also possible to click on the dataname for a item inside a loop, in this 289 case, all entries for that data item in the loop 290 are displayed (a column). 257 by clicking on the +/- sign to the right of each grouping. For example, 258 by default the data names contained in each loop are not shown. 259 However, clicking on the + sign to the right of the "loop_0" listing 260 causes the data names in the loop to be shown (as in 261 the <a href="#loopfig">example below</a>.) 262 <P> 263 Clicking on an individual data name causes the 264 associated value to be displayed on the right. The value associated 265 with the data name can be edited by 266 clicking on the entry box. The information you enter is copied into the 267 in-memory copy of the CIF when you click on another 268 data name, etc. 269 <P> 270 In the example shown above, the data name 271 <tt>_cell_measurement_temperature</tt> has been selected. 272 This is defined in the 273 CIF dictionary as a number 274 between 0 and infinity with 275 units of Kelvins. These units (K) are displayed adjacent to the entry box. 276 When appropriate input is validated to require 277 that valid numbers in the allowed range are input or that 278 standard uncertainties (esd's) are entered only where allowed. 279 Likewise, if the CIF dictionary defines a enumerated list of values 280 for a data name, a menu button is offered in place of an entry box. In 281 this way, only a valid entry from the list can be selected. 291 282 <P> 292 283 The controls on the bottom of the window have the following effects: … … 294 285 <BLOCKQUOTE> 295 286 <DL> 296 <DT><B>Save Changes</B><DD>297 287 <P><DT><B>Template file</B><DD> 298 288 The menu button labeled "Template file" offers a list of template files. This … … 312 302 made to a data item or the CIF has been changed, but have not been saved, 313 303 a chance is offered to save these items. 314 <P><DT><a name="cifcontents"><B>Show /HideCIF contents</B></A><DD>304 <P><DT><a name="cifcontents"><B>Show (Hide) CIF contents</B></A><DD> 315 305 The "Show CIF contents" button causes a window to be displayed 316 306 that shows the text of the CIF, as shown below. As CIF data items … … 322 312 have been made to the CIF 323 313 so another section of the file must be changed, before the edits can be 324 saved to disk (see the <a href="#saveedits">Save Edits</a> button).314 saved to disk (see the <a href="#saveedits">Save</a> button). 325 315 <P> 326 316 After the "Show CIF contents" button is pressed, the label changes to … … 328 318 <BR> 329 319 <img src="cif_contents.gif" alt="View of CIF text window"> 330 <P><DT><B>Show /HideCIF definitions</B><DD>331 As CIF data names are selected, their definitions are shown in the320 <P><DT><B>Show (Hide) CIF definitions</B><DD> 321 As CIF data names are selected, their definitions are shown in the 332 322 CIF Definitions window, as shown below. 333 323 After the "Show CIF definitions" button is pressed, the label changes to … … 336 326 <BR> 337 327 <img src="cifdef.gif" alt="View of CIF definitions window"> 338 <P><DT><a name="saveedits"><B>Save Edits</B></a><DD> 328 329 <P><DT><a name="undo"><B>Undo</B></a><DD> 330 As changes are made to the CIF template, they are recorded and can be 331 reversed using the "Undo" button. There is no limit to the number of changes 332 that are recorded. However, changes cannot be undone after the CIF has been 333 saved to disk. 334 <P><DT><a name="redo"><B>Redo</B></a><DD> 335 If changes have been reversed with the <a href="#undo">"Undo"</a> button, 336 the changes can be 337 reapplied using the "Redo" button. The list of changes available for "Redo" 338 is cleared when a new edit is made or when the CIF is saved. 339 340 <P><DT><a name="saveedits"><B>Save</B></a><DD> 339 341 Changes made to the CIF are not saved to the disk file automatically, 340 342 unless the <a href="#autosave">Auto-Save</a> checkbutton is set. When changes 341 343 have been made, but not saved to disk, this button is made active. 342 <P><DT><a name="autoaccept"><B>Auto-Accept</B></a><DD>343 When the Auto-Accept mode is not selected,344 as information is added to the edit boxes for CIF items, these changes are345 not made to the in-memory copy of the CIF that is displayed in the346 <a href="#cifcontents">CIF Contents window</a>. The "Save Changes"347 button causes these changes to be applied. If the348 Auto-Accept mode is selected, these changes are made automatically.349 344 <P><DT><a name="autosave"><B>Auto-Save</B></a><DD> 350 345 When the Auto-Save mode is not selected, 351 346 changes made to the in-memory copy of the CIF that is displayed in the 352 347 <a href="#cifcontents">CIF Contents window</a> are not written to 353 the disk file until the "<a href="#saveedits">Save Changes</a>"348 the disk file until the "<a href="#saveedits">Save</a>" 354 349 button is pressed. If the 355 350 Auto-Save mode is selected, these changes are saved to disk automatically. 356 351 </DL> 357 352 </BLOCKQUOTE> 353 <H3>CIF loops</H3> 354 <P> 355 CIF loops allow multiple values to be associated with one or more data items, 356 in effect defining a table of data. 357 Clicking on a loop, causes all the data names in the loop to be displayed, 358 as is shown below. 359 </BLOCKQUOTE> 360 </BLOCKQUOTE> 361 <a name="loopfig"></a> 362 <img src="ciffill.gif" alt="View of FillTemplate window"> 363 <BLOCKQUOTE> 364 <BLOCKQUOTE> 365 When a loop is displayed, extra controls appear, as are defined below. 366 <BLOCKQUOTE> 367 <DL> 368 <P><DT><a name="loopspinbox"><B>Loop element #</B></a><DD> 369 The Loop element #" spinbox" is used to select 370 which "row" from the loop is displayed. The up arrow advances to the next 371 row, while the down arrow reverses by one entry. Numbers can also be typed into 372 the entry box; the number is accepted when Enter is pressed. 373 The keyboard up and down arrows can also 374 be used to advance between entries. Other keys such as Page Up, Home, etc. 375 advance in large increments. 376 <P><DT><B>Add to loop</B><DD> 377 A new row can be added to the end of a 378 loop using the "Add to loop" button. The value for each new entry 379 is initialized as "?" (meaning value unknown or unspecified.) 380 <P><DT><B>Delete loop entry</B><DD> 381 This deletes the current row from the loop. 382 First select the row to delete with the 383 "<a href="#loopspinbox">Loop element #</A>" 384 spinbox. Note that the values are displayed for confirmation before the 385 delete operation is performed. 386 It is not possible to delete all entries from a loop, so 387 this button is disabled when a loop has only a single row defined. 388 </DL> 389 </BLOCKQUOTE> 390 It is also possible to click on the data name for a item inside a loop, in this 391 case, all entries for that data item in the loop 392 are displayed (a column). 393 358 394 359 395 </BLOCKQUOTE> 360 396 <a name="cifselect"> 361 <H 3>The CIFSelect utility</H3>397 <H2>The CIFSelect utility</H2> 362 398 <BLOCKQUOTE> 363 399 </a>
Note: See TracChangeset
for help on using the changeset viewer.