Skip to content

Commit c4d9193

Browse files
committed
use simulated spectrum for DOC calculation
1 parent b0948b6 commit c4d9193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hexrd/wppf/WPPF.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ def DOC(self):
15781578
if self.amorphous_model is None:
15791579
return 1.
15801580
else:
1581-
tth, intensity = self.spectrum_expt.data
1581+
tth, intensity = self.spectrum_sim.data
15821582
_, background = self.background.data
15831583
total_intensity = intensity-background
15841584
amorphous_area = \

0 commit comments

Comments
 (0)