Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
4c116861
Commit
4c116861
authored
7 years ago
by
Nick Draper
Browse files
Options
Downloads
Patches
Plain Diff
corrections re #20869
parent
bbde4eab
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/source/algorithms/TOSCABankCorrection-v1.rst
+1
-1
1 addition, 1 deletion
docs/source/algorithms/TOSCABankCorrection-v1.rst
docs/source/algorithms/ViewBOA-v1.rst
+1
-1
1 addition, 1 deletion
docs/source/algorithms/ViewBOA-v1.rst
with
2 additions
and
2 deletions
docs/source/algorithms/TOSCABankCorrection-v1.rst
+
1
−
1
View file @
4c116861
...
...
@@ -89,7 +89,7 @@ Output:
TOSCABankCorrection(InputWorkspace=original_reduction,
PeakPosition='715')
print(
)
'Target peak centre: %.f' % peak_position)
print('Target peak centre: %.f' % peak_position)
Output:
...
...
This diff is collapsed.
Click to expand it.
docs/source/algorithms/ViewBOA-v1.rst
+
1
−
1
View file @
4c116861
...
...
@@ -41,7 +41,7 @@ The following code loads a BOA file and prints out information about the wavelen
lamdba_distribution = mtd['histogram61'].readY(0)
lambda_values = mtd['histogram61'].readX(0)
print("The wavelength spectrum is described by {}".format(len(lamdba_distribution)
,"points."
))
print("The wavelength spectrum is described by {}
points.
".format(len(lamdba_distribution)))
print("The range covered is {0} - {1} Angstrom.".format(round(lambda_values[0], 4),round(lambda_values[-1], 4)))
print("The maximum is located at {} Angstrom.".format(round(lambda_values[np.argmax(lamdba_distribution)], 4)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment