Changeset 3842 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Mar 7, 2019 2:15:49 PM (4 years ago)
Author:
vondreele
Message:

force number of integration bins to be divisible by 4 - solves crash problem from fortran histogram routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r3841 r3842  
    961961    LRazm = np.array(data['LRazimuth'],dtype=np.float64)
    962962    numAzms = data['outAzimuths']
    963     numChans = data['outChannels']
     963    numChans = (data['outChannels']//4)*4
    964964    Dazm = (LRazm[1]-LRazm[0])/numAzms
    965965    if '2-theta' in data.get('binType','2-theta'):
Note: See TracChangeset for help on using the changeset viewer.