Changeset 4325 for trunk/GSASIIimage.py
- Timestamp:
- Feb 22, 2020 11:14:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIimage.py ΒΆ
r4324 r4325 1478 1478 for it,TTh in enumerate(TThs): 1479 1479 band.mask = ma.masked_outside(TA,TTh,TTh+dtth).mask+tam 1480 pcmax = np.percentile(band ,prob)1480 pcmax = np.percentile(band.compressed(),prob) 1481 1481 mband = ma.masked_greater(band,pcmax) 1482 mean = ma.me dian(mband)1482 mean = ma.mean(mband) 1483 1483 std = ma.std(mband) 1484 1484 anom = ma.masked_greater((band-mean)/std,esdMul) 1485 1485 mask ^= (anom.mask^band.mask) 1486 1486 if not dlg is None: 1487 dlg.Raise()1488 1487 GoOn = dlg.Update(it,newmsg='Processed 2-theta rings = %d'%(it)) 1489 1488 if not GoOn[0]:
Note: See TracChangeset
for help on using the changeset viewer.