Changeset 529 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Apr 4, 2012 1:18:25 PM (13 years ago)
Author:
vondreele
Message:

fix rho min/max issues for contouring
fix errors in Fosq extraction in GSASIIstruct.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIphsGUI.py ΒΆ

    r527 r529  
    34413441        print 'Fourier map time: %.4f'%(time.time()-time0),'no. elements: %d'%(Fhkl.size)
    34423442        mapData['rho'] = np.real(rho)
    3443         mapData['rhoMax'] = np.max(np.real(rho))
     3443        mapData['rhoMax'] = max(np.max(mapData['rho']),-np.min(mapData['rho']))
    34443444        data['Drawing']['contourLevel'] = 1.
    34453445        data['Drawing']['mapSize'] = 10.
    3446         print mapData['MapType']+' computed: rhomax = %.3f rhomin = %.3f'%(mapData['rhoMax'],np.min(np.real(rho)))
     3446        print mapData['MapType']+' computed: rhomax = %.3f rhomin = %.3f'%(np.max(mapData['rho']),np.min(mapData['rho']))
    34473447        G2plt.PlotStructure(G2frame,data)                   
    34483448## map printing for testing purposes
Note: See TracChangeset for help on using the changeset viewer.