Changeset 4440 for trunk/GSASIIspc.py


Ignore:
Timestamp:
May 26, 2020 10:44:15 AM (2 years ago)
Author:
vondreele
Message:

fix atom draw update problem when atoms not in unit cell2Arelated fixes for RMCProfile & fullrmc big box building routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r4253 r4440  
    20262026    :returns: XYZ - numpy array of new coordinates now 0 or greater and less than 1
    20272027    '''
    2028     XYZ = (np.array(xyz)+10.)%1.
     2028    XYZ = np.array(xyz)%1.
    20292029    cell = np.asarray(np.rint(XYZ-xyz),dtype=np.int32)
    20302030    return XYZ,cell
     
    20842084    mj = 0
    20852085    cell0 = np.zeros(3,dtype=np.int32)
    2086     if Move:
    2087         X,cell0 = MoveToUnitCell(X)
    20882086    for ic,cen in enumerate(icen):
    20892087        C = np.array(cen)
Note: See TracChangeset for help on using the changeset viewer.