Skip to content

Commit 8ac1b53

Browse files
committed
Rename domain types in docs
1 parent 442fa5e commit 8ac1b53

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/user-guide/tof/dream.ipynb

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@
456456
"wf[TimeOfFlightLookupTable] = table\n",
457457
"\n",
458458
"# Compute time-of-flight of neutron events\n",
459-
"tofs = wf.compute(DetectorTofData[SampleRun])\n",
459+
"tofs = wf.compute(TofDetector[SampleRun])\n",
460460
"tofs"
461461
]
462462
},
@@ -615,11 +615,11 @@
615615
"outputs": [],
616616
"source": [
617617
"# Update workflow\n",
618-
"wf[DetectorData[SampleRun]] = raw_data\n",
618+
"wf[RawDetector[SampleRun]] = raw_data\n",
619619
"wf[DetectorLtotal[SampleRun]] = Ltotal\n",
620620
"\n",
621621
"# Compute tofs and wavelengths\n",
622-
"tofs = wf.compute(DetectorTofData[SampleRun])\n",
622+
"tofs = wf.compute(TofDetector[SampleRun])\n",
623623
"wav_wfm = tofs.transform_coords(\"wavelength\", graph=graph)\n",
624624
"\n",
625625
"# Compare in plot\n",
@@ -817,7 +817,13 @@
817817
]
818818
}
819819
],
820-
"metadata": {},
820+
"metadata": {
821+
"kernelspec": {
822+
"display_name": "Python 3 (ipykernel)",
823+
"language": "python",
824+
"name": "python3"
825+
}
826+
},
821827
"nbformat": 4,
822828
"nbformat_minor": 5
823829
}

0 commit comments

Comments
 (0)