Skip to content
Snippets Groups Projects
Commit 4c116861 authored by Nick Draper's avatar Nick Draper
Browse files

corrections re #20869

parent bbde4eab
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
......@@ -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)))
......
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