Changeset 4330


Ignore:
Timestamp:
Feb 26, 2020 8:32:59 AM (20 months ago)
Author:
vondreele
Message:

Added RMCProfile-II to list of tutorials
fix a crash problem in setting up RMCProfile data files
switch mean --> median for image spot mask finder

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4273 r4330  
    52625262    ['RMCProfile-I', 'RMCProfile-I.htm','RMC Modeling with RMCProfile-I',
    52635263     '''Big box modelling for real and reciprocal space diffraction data for SF6'''],
     5264    ['RMCProfile-II', 'RMCProfile-II.htm','RMC Modeling with RMCProfile-II',
     5265     '''Big box modelling for real and reciprocal space diffraction data for SrTiO3'''],
    52645266
    52655267    ['Stacking Fault Modeling'],
  • trunk/GSASIIimage.py

    r4325 r4330  
    14801480        pcmax = np.percentile(band.compressed(),prob)
    14811481        mband = ma.masked_greater(band,pcmax)
    1482         mean = ma.mean(mband)
     1482        mean = ma.median(mband)
    14831483        std = ma.std(mband)
    14841484        anom = ma.masked_greater((band-mean)/std,esdMul)
  • trunk/GSASIIphsGUI.py

    r4328 r4330  
    46564656                if dlg.ShowModal() == wx.ID_OK:
    46574657                    fpath,fName = os.path.split(dlg.GetPath())
    4658                     disfile.copy_file(dlg.GetPath(),os.path.join(G2frame.LastGPXdir,fName))
     4658                    if fpath != G2frame.LastGPXdir:
     4659                        disfile.copy_file(dlg.GetPath(),os.path.join(G2frame.LastGPXdir,fName))
    46594660                    if os.path.exists(fName):
    46604661                        RMCPdict['files'][fil][0] = fName
Note: See TracChangeset for help on using the changeset viewer.