Skip to content

Commit 526462e

Browse files
committed
move LUT notebook inside docs
1 parent cec00e2 commit 526462e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tools/dream-make-tof-lookup-table.ipynb renamed to docs/user-guide/dream/dream-make-tof-lookup-table.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"id": "0",
66
"metadata": {},
77
"source": [
8-
"# Create a time-of-flight lookup table for DREAM"
8+
"# Create a time-of-flight lookup table for DREAM\n",
9+
"\n",
10+
"This notebook shows how to create a time-of-flight lookup table for the DREAM instrument."
911
]
1012
},
1113
{
@@ -26,7 +28,9 @@
2628
"id": "2",
2729
"metadata": {},
2830
"source": [
29-
"## Select the choppers"
31+
"## Select the choppers\n",
32+
"\n",
33+
"We select the choppers for the 'high-flux' configuration."
3034
]
3135
},
3236
{
@@ -57,7 +61,7 @@
5761
"wf = time_of_flight.TofLookupTableWorkflow()\n",
5862
"\n",
5963
"wf[time_of_flight.LtotalRange] = sc.scalar(60.0, unit=\"m\"), sc.scalar(80.0, unit=\"m\")\n",
60-
"wf[time_of_flight.NumberOfSimulatedNeutrons] = 5_000_000\n",
64+
"wf[time_of_flight.NumberOfSimulatedNeutrons] = 200_000 # Increase this number for more reliable results\n",
6165
"wf[time_of_flight.SourcePosition] = sc.vector([0, 0, 0], unit='m')\n",
6266
"wf[time_of_flight.DiskChoppers] = disk_choppers\n",
6367
"wf[time_of_flight.DistanceResolution] = sc.scalar(0.1, unit=\"m\")\n",

docs/user-guide/dream/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ dream-instrument-view
5454
workflow-widget-dream
5555
dream-detector-diagnostics
5656
dream-visualize-absorption
57+
dream-make-tof-lookup-table
5758
```

0 commit comments

Comments
 (0)