Changeset 4538 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Aug 6, 2020 9:59:46 AM (3 years ago)
Author:
vondreele
Message:

fix integer divide issue in ComputeArc? in G2plot
remove Spotmask is None message (Spotmask is missing was removed earlier)
in SaveIntegration? get polarization from dataPolaVal? instead of from Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4537 r4538  
    67946794    xy2 = []
    67956795    aR = [azm0,azm1,max(3,int(0.5+azm1-azm0))] # number of points should be at least 3
    6796     if azm1-azm0 > 180: aR[2] /= 2  # for more than 180 degrees, steps can be 2 deg.
     6796    if azm1-azm0 > 180: aR[2] //= 2  # for more than 180 degrees, steps can be 2 deg.
    67976797    Azm = np.linspace(*aR)
    67986798    for azm in Azm:
     
    76417641                MaskA = ma.getmaskarray(MA)
    76427642            except TypeError: # needed if spotMasks set to initial value (None)
    7643                 if GSASIIpath.GetConfigValue('debug'): print('spotMask is None')
     7643#                if GSASIIpath.GetConfigValue('debug'): print('spotMask is None')
    76447644                MaskA = ma.getmaskarray(MA)
    76457645            for xline in Masks.get('Xlines',[]):
Note: See TracChangeset for help on using the changeset viewer.