Changeset 282
- Timestamp:
- Dec 4, 2009 5:03:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/expgui_cfg.html
- Property rcs:date changed from 2000/08/21 19:33:31 to 2000/09/25 20:07:22
- Property rcs:lines changed from +98 -1 to +27 -14
- Property rcs:rev changed from 1.10 to 1.11
r270 r282 182 182 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36> 183 183 </H3> 184 Currently two formats are supported, the Crystallographic Information File (CIF) 185 and .CEL files from PowderCell. 184 186 It is possible to define new formats for EXPGUI to use for importing 185 187 phase/coordinate information. This is done by creating a file named 186 <TT>import_</TT><I>xxx </I><TT>.tcl</TT> in the EXPGUI directory. See187 file <TT>import_cell.tcl</TT> as an example.188 <TT>import_</TT><I>xxxx</I><TT>.tcl</TT> (where <I>xxxx</I> is arbitrary) 189 in the EXPGUI directory. See the file <TT>import_cell.tcl</TT> as an example. 188 190 189 191 The file must contain four items: … … 194 196 set description "PowderCell .CEL file" 195 197 </PRE></DL> 196 The text should not be too long anduse a return (\n) if needed:198 The text should not be too long, but use a return (\n) if needed: 197 199 <DL><PRE> 198 200 set description "My favorite coordinate\nfile from the GIGO pkg" 199 201 </PRE></DL></DL> 202 This description text shows up on the button for selecting a format. 203 <P> 200 204 <LI> 201 A list of acceptable file extensions. In UNIX upper and lower case 202 versions will be generated automatically, so do not worry about 203 the case of the extension. 205 A list of preferred file extensions. 204 206 <DL><DL><PRE> 205 207 set extensions .cel … … 209 211 set extensions {.jnk .junk} 210 212 </PRE></DL></DL> 213 In UNIX upper and lower case 214 versions will be generated automatically, so do not worry about 215 the case of the extension. Note that "*" (all files) is always added as well. 216 <P> 211 217 <LI> 212 218 The name of the routine that will read the data file … … 219 225 proc ReadPowderCellFile {filename} { 220 226 </PRE></DL></DL> 221 and returns a list containing the following threeitems227 and returns a list containing the following four items 222 228 <OL> 223 < LI>Space Group229 <P><LI>Space Group 224 230 <DL><DL> 225 231 The space group should be named and spaced appropriately for GSAS, 226 232 e.g. P 21/c or P 21 21 21, not P21/c or P212121. 227 233 </DL></DL> 228 <LI>Cell parameters 234 Note that GSAS requires that if a center of symmetry is present, 235 this center defines the origin (Origin 2 settings, where more than one setting 236 is given in the International Tables). 237 <P><LI>Cell parameters 229 238 <DL><DL> 230 239 All six parameters should be specified in a list 231 240 </DL></DL> 232 < LI>Atom Coordinates241 <P><LI>Atom Coordinates 233 242 <DL><DL> 234 243 The atom coordinates should be specified as a list with a list element … … 261 270 262 271 </DL></DL> 272 <P><LI>Warning Message (optional) 273 <DL><DL> 274 The warning message is displayed at the bottom of the 275 Replace Atoms and Add Atoms box after the file is read. This can be used 276 to warn the user about problems reading the file, for example if 277 the space group symbol needs attention. 278 </DL></DL> 263 279 </OL> 264 Note that GSAS requires that if a center of symmetry is present,265 this center defines the origin (Origin 2 settings, where more than one setting266 is given in the International Tables).267 280 268 281 </UL>
Note: See TracChangeset
for help on using the changeset viewer.