Changeset 1496 for trunk/exports


Ignore:
Timestamp:
Sep 14, 2014 7:48:39 PM (7 years ago)
Author:
vondreele
Message:

Add sequential peak fitting.
Change Back:n to Back;n for background parameters
Also DebyeA, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_CIF.py

    r1261 r1496  
    278278            l = "    "
    279279            for i,v in enumerate(fxn[3:]):
    280                 name = '%sBack:%d'%(hfx,i)
     280                name = '%sBack;%d'%(hfx,i)
    281281                sig = self.sigDict.get(name,-0.009)
    282282                if len(l) > 60:
     
    287287            if bkgdict['nDebye']:
    288288                txt += '\n  Background Debye function parameters: A, R, U:'
    289                 names = ['A:','R:','U:']
     289                names = ['A;','R;','U;']
    290290                for i in range(bkgdict['nDebye']):
    291291                    txt += '\n    '
     
    296296            if bkgdict['nPeaks']:
    297297                txt += '\n  Background peak parameters: pos, int, sig, gam:'
    298                 names = ['pos:','int:','sig:','gam:']
     298                names = ['pos;','int;','sig;','gam;']
    299299                for i in range(bkgdict['nPeaks']):
    300300                    txt += '\n    '
Note: See TracChangeset for help on using the changeset viewer.