Skip to content

Commit

Permalink
do not show graph and avoid graphviz dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nvaytet committed Jul 1, 2024
1 parent e08cb29 commit b17d029
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/wfm-stitching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -425,21 +425,12 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d3c6cb34-cebe-43c3-8253-574fbad9b790",
"id": "dbb79512-efbc-4f9c-92e4-e1125f18b07f",
"metadata": {},
"outputs": [],
"source": [
"# Make a coordinate transformation graph to compute wavelength from tof\n",
"graph = {**beamline(scatter=True), **elastic(\"tof\")}\n",
"sc.show_graph(graph, simplified=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "78a5c3fc-3454-42b2-9874-4d0069d69a9e",
"metadata": {},
"outputs": [],
"source": [
"wav_naive = tofs.transform_coords(\"wavelength\", graph=graph)\n",
"wav_naive.hist(wavelength=300).plot()"
]
Expand Down

0 comments on commit b17d029

Please sign in to comment.