Changeset 1155


Ignore:
Timestamp:
Nov 26, 2013 3:53:17 PM (8 years ago)
Author:
vondreele
Message:

skipped lines are now skipped in recalibrate, but their expected rings are plotted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1154 r1155  
    495495    Found = False
    496496    wave = data['wavelength']
    497     for H in HKL:
     497    for iH,H in enumerate(HKL):
    498498        dsp = H[3]
    499499        tth = 2.0*asind(wave/(2.*dsp))
     
    504504        Ring,delt,sumI = makeRing(dsp,ellipse,pixLimit,cutoff,scalex,scaley,self.ImageZ)
    505505        if Ring:
    506             data['rings'].append(np.array(Ring))
     506            if iH >= skip:
     507                data['rings'].append(np.array(Ring))
    507508            data['ellipses'].append(copy.deepcopy(ellipse+('r',)))
    508509            Found = True
Note: See TracChangeset for help on using the changeset viewer.