Skip to content

Commit ac15296

Browse files
committed
Normalize by proton charge for all banks
This hides the problem with monitor normalization (#161)
1 parent 6fab5ef commit ac15296

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/user-guide/dream/dream-advanced-powder-reduction.ipynb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,18 +370,13 @@
370370
"metadata": {},
371371
"outputs": [],
372372
"source": [
373-
"workflow = dream.DreamGeant4Workflow(run_norm=powder.RunNormalization.monitor_histogram)\n",
373+
"workflow = dream.DreamGeant4Workflow(run_norm=powder.RunNormalization.proton_charge)\n",
374374
"\n",
375375
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
376376
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
377377
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
378378
"workflow[CalibrationFilename] = None\n",
379379
"\n",
380-
"workflow[MonitorFilename[SampleRun]] = dream.data.simulated_monitor_diamond_sample()\n",
381-
"workflow[MonitorFilename[VanadiumRun]] = dream.data.simulated_monitor_vanadium_sample()\n",
382-
"workflow[MonitorFilename[BackgroundRun]] = dream.data.simulated_monitor_empty_can()\n",
383-
"workflow[CaveMonitorPosition] = sc.vector([0.0, 0.0, -4220.0], unit=\"mm\")\n",
384-
"\n",
385380
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",
386381
"# We drop uncertainties where they would otherwise lead to correlations:\n",
387382
"workflow[UncertaintyBroadcastMode] = UncertaintyBroadcastMode.drop\n",

0 commit comments

Comments
 (0)