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

Module mcsampling

source code

Classes
  MonteCarloSampling
Monte Carlo Sampling for diffraction pattern.
Functions
 
importFromGSASstd(datafilename, bankid)
Import a GSAS .raw file and get the dict of y, sd
source code
 
importFromGSAStimemap(datafilename, bankid)
Import a GSAS .gsa/gda file and get the dict of y, sd
source code
Variables
  __package__ = 'diffpy.srrietveld.addon'

Imports: SrrError, os, tempfile


Function Details

importFromGSASstd(datafilename, bankid)

source code 

Import a GSAS .raw file and get the dict of y, sd

Arguments:

  • datafilename : full-path name of .raw file;

Return: datadict: a dictionary that includes series of yobs, sobs

importFromGSAStimemap(datafilename, bankid)

source code 

Import a GSAS .gsa/gda file and get the dict of y, sd

Arguments:

  • datafilename : full-path name of .gsa/gda file;

Return: datadict: a dictionary that includes series of yobs, sobs