Skip to content
Snippets Groups Projects
Commit 979e4f80 authored by Bilheux, Jean-Christophe's avatar Bilheux, Jean-Christophe
Browse files

Merge pull request #14501 from mantidproject/14500_lr_neg_points

Remove reflectivity points consistent with zero
parents 7659f0ac 469fd97d
No related branches found
No related tags found
No related merge requests found
...@@ -208,8 +208,8 @@ class LRReflectivityOutput(PythonAlgorithm): ...@@ -208,8 +208,8 @@ class LRReflectivityOutput(PythonAlgorithm):
content += '# Q[1/Angstrom] R delta_R Precision\n' content += '# Q[1/Angstrom] R delta_R Precision\n'
for i in range(len(data_x)): for i in range(len(data_x)):
# Skip point where the error is much larger than the reflectivity value # Skip point where the error is larger than the reflectivity value
if data_y[i] > data_e[i] / 100.0: if data_y[i] > data_e[i]:
content += str(data_x[i]) content += str(data_x[i])
content += ' ' + str(data_y[i]) content += ' ' + str(data_y[i])
content += ' ' + str(data_e[i]) content += ' ' + str(data_e[i])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment