Ignore:
Timestamp:
Oct 12, 2016 1:06:57 PM (5 years ago)
Author:
vondreele
Message:

fix mag form factor lookup - some aren't chemical valences (e.g. Fe+4)
fix mag form factor periodic table - nonmagnetic atoms now not shown
fix powder reflection mark & diff curve placement issues
fix issues with mag structure drawings - fill unit cell, etc.
fix structure transform to make magnetic cells (still needs making of constraints)
fix problem of mustrain & hstrain coeff changes with change in space group
add print to file of covariance matrix - user request
fix magnetic moment site symmetry restrictions
work on mag structure factor calcs.
change EXP file importer to ignore magnetic symmetry from GSAS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIElemGUI.py

    r1972 r2486  
    2626    "Makes periodic table widget for picking element - caller maintains element list"
    2727    Elem=None
    28     def _init_ctrls(self, prnt):
     28    def _init_ctrls(self,prnt,ifMag=False):
    2929        wx.Dialog.__init__(self, id=-1, name='PickElement',
    3030              parent=prnt, pos=wx.DefaultPosition,
     
    3737       
    3838        i=0
    39         for E in ET.ElTable:
     39        Elems = ET.ElTable
     40        if ifMag:
     41            Elems = ET.MagElTable
     42        for E in Elems:
    4043            if E[1] < 0: continue
    4144            if self.oneOnly:
     
    4851            i+=1
    4952
    50     def __init__(self, parent,oneOnly=False,ifNone=False):
     53    def __init__(self, parent,oneOnly=False,ifNone=False,ifMag=False):
    5154        'Needs a doc string'
    5255        self.oneOnly = oneOnly
    5356        self.ifNone = ifNone
    54         self._init_ctrls(parent)
     57        self._init_ctrls(parent,ifMag=ifMag)
    5558       
    5659    def ElButton(self, name, pos, tip, color):
Note: See TracChangeset for help on using the changeset viewer.