Changeset 4038


Ignore:
Timestamp:
Jun 24, 2019 10:00:12 AM (2 years ago)
Author:
vondreele
Message:

set no. cycles to zero for simulated data.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4036 r4038  
    20062006                GetGPXtreeItemId(self,Id,'Reflection Lists'))
    20072007            refList[generalData['Name']] = []
     2008        cId = GetGPXtreeItemId(self,self.root, 'Controls')
     2009        Controls = self.GPXtree.GetItemPyData(cId)
     2010        Controls['max cyc'] = 0
    20082011        self.EnableRefineCommand()
    20092012        return # success
  • trunk/GSASIIstrMath.py

    r4016 r4038  
    15201520            GSdata = SGData['MagMom'][nxs,:,nxs]*GSdata   #flip vectors according to spin flip * det(opM)
    15211521            GSdata = np.swapaxes(GSdata,0,1)    #Nop,Natm,Mxyz
    1522 #            Tmag += Gdata.T[nxs,nxs,:,:]
    1523 #           
    1524 #        TmagC = np.inner(Tmag,uAmat.T)   #make cartesian; Ntau,Nops,Natm,,Mxyz
    1525 #        Smag = np.sqrt(np.sum(TmagC**2,axis=-1))
    1526 #        Kmag = TmagC/Smag[:,:,:,nxs]
    15271522
    15281523    FF = np.zeros(len(Tdata))
Note: See TracChangeset for help on using the changeset viewer.