Skip to content
Snippets Groups Projects
Commit cefe451a authored by Brandon Hewer's avatar Brandon Hewer
Browse files

Update RingProfile docs

Refs #20820
parent 5bb801a4
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ Usage ...@@ -71,7 +71,7 @@ Usage
ws = CreateSampleWorkspace("Histogram","Multiple Peaks") ws = CreateSampleWorkspace("Histogram","Multiple Peaks")
wsOut = RingProfile(ws,Centre=[0,5,10],MaxRadius=5) wsOut = RingProfile(ws,Centre=[0,5,10],MaxRadius=5)
print ("The RingProfile has been calculated with %i bins" % wsOut.blocksize()) print("The RingProfile has been calculated with {} bins".format(wsOut.blocksize()))
Output: Output:
...@@ -86,7 +86,7 @@ Output: ...@@ -86,7 +86,7 @@ Output:
ws = CreateSampleWorkspace("Histogram","Multiple Peaks") ws = CreateSampleWorkspace("Histogram","Multiple Peaks")
wsOut = RingProfile(ws,Centre=[0,5,10],MinRadius=1,MaxRadius=5,NumBins=200) wsOut = RingProfile(ws,Centre=[0,5,10],MinRadius=1,MaxRadius=5,NumBins=200)
print ("The RingProfile has been calculated with %i bins" % wsOut.blocksize()) print("The RingProfile has been calculated with {} bins".format(wsOut.blocksize()))
Output: Output:
......
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