Changeset 1123 for trunk/exports/G2export_examples.py
- Timestamp:
- Oct 25, 2013 2:24:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_examples.py
r1115 r1123 8 8 # $Id$ 9 9 ########### SVN repository information ################### 10 '''Code to demonstrate how GSAS-II data export routines are created 10 ''' 11 *Module G2export_examples: Examples* 12 ------------------------------------------- 13 14 Code to demonstrate how GSAS-II data export routines are created. The 15 classes defined here, :class:`ExportPhaseText`, 16 :class:`ExportSingleText`, :class:`ExportPowderReflText`, 17 and :class:`ExportPowderText` each demonstrate a different type 18 of export. Also see :class:`G2export_map.ExportMapASCII` for an 19 example of a map export. 20 11 21 ''' 12 22 import os.path … … 148 158 self.CloseFile() 149 159 print(str(hist)+' written to file '+str(self.filename)) 150 151 160 class ExportPowderReflText(G2IO.ExportBaseclass): 152 161 '''Used to create a text file of reflections from a powder data set
Note: See TracChangeset
for help on using the changeset viewer.