Changeset 5002 for trunk


Ignore:
Timestamp:
Jul 28, 2021 9:36:42 AM (4 years ago)
Author:
vondreele
Message:

allow constraints between like Debye & Bragg peak parameters.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIconstrGUI.py

    r4998 r5002  
    390390        elif 'mV' in name:
    391391            namelist = ['mV0','mV1','mV2']
     392        elif 'Debye' in name or 'BkPk' in name:   #special cases for Background fxns
     393            dbname = name.split(';')[0].split(':')[2]
     394            return [item for item in nameList if dbname in item]
    392395        elif 'RB' in name:
    393396            rbfx = 'RB'+items[2][2]
     
    860863       
    861864    def OnAddRiding(event):
    862         ''' Add riding equivalences between all parameters on atoms '''
     865        ''' Add riding equivalences between all parameters on atoms  - not currently used'''
    863866        page = G2frame.Page
    864867        vartype,varList,constrDictEnt = PageSelection(page)
  • TabularUnified trunk/GSASIImath.py

    r5001 r5002  
    17481748    phi = np.inner((XYZ-SGT[:,:3][nxs,:,:]),modQ).T
    17491749    TA = np.sum(mst[nxs,:,:]*(XYZ-SGT[:,:3][nxs,:,:]),axis=-1).T
    1750     phase =  TA[nxs,:,:] + epsinv[nxs,:,nxs]*(glTau[:,nxs,nxs])+phi[nxs,:,:]-SGT[:,3][nxs,:,nxs]   #+,+,+ best for DyMnGe
     1750    phase =  TA[nxs,:,:] + epsinv[nxs,:,nxs]*(glTau[:,nxs,nxs])-SGT[:,3][nxs,:,nxs]+phi[nxs,:,:]   #+,+,+ best for DyMnGe
    17511751    psin = np.sin(twopi*phase)      #tau,ops,atms
    17521752    pcos = np.cos(twopi*phase)
Note: See TracChangeset for help on using the changeset viewer.