Package diffpy :: Package srrietveld :: Package addon :: Module datafile
[frames] | no frames]

Module datafile

source code

datafile.py is to convert different format files into Fullprof/GSAS readable 
format. And save x, y, sigma into data dictionary.
    Fullprof format is the standard XYSigma format.
    GSAS     format is one of the following:
                1. Timemap; 2. FXYE; 3. ESD; 4. STD.

Classes
  DataFileConverter
Unify to convert input data file to engine file and save the XYSigma into data dictionary.
Functions
 
createDataDict(datainfofile, datadirectory)
Create datadict template for refine.py
source code
 
readFileList(datafilelist, enginename)
Read datafile content based on datafilelist.
source code
Variables
  __id__ = '$Id: datafile.py 6420 2011-03-29 10:32:46Z yshang $'
  __package__ = 'diffpy.srrietveld.addon'

Imports: checkFormat, math, os