Skip to content

Commit a0a34a5

Browse files
committed
Wrong sign in delt-Fo plot
1 parent 9b57b71 commit a0a34a5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

GSASII/GSASIIplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ def FillHKLRC():
16011601
dF = Fosq-Fcsq
16021602
if dF > 0:
16031603
R.append(Fosq)
1604-
dw = int(255.*(1.0-(dF/dFmin)))
1604+
dw = int(255.*(1.0-(dF/-dFmin)))
16051605
color = np.array([dw,255,0])
16061606
else:
16071607
R.append(Fosq)

GSASII/imports/G2sfact.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
'''Classes to read single crystal reflection files in formats used by:
33
Shelx, Jana, REMOS, TOPAS (SNS), HB-3A (HIFR)
44
'''
5-
from __future__ import division, print_function
65
import sys
76
import numpy as np
87
from .. import GSASIIobj as G2obj

0 commit comments

Comments
 (0)