Skip to content

Commit

Permalink
Fix failing docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
viljarjf committed Apr 19, 2024
1 parent 731853e commit 728f3db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/virtual_imaging/creating_a_segmented_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

# Visualizing the virtual detector
cp = _get_control_points(
1, npt_azim=8, radial_range=(1, 5), affine=dp.calibrate.affine
1,
npt_azim=8,
radial_range=(1, 5),
azimuthal_range=(-np.pi, np.pi),
affine=dp.calibrate.affine,
)[:, :, ::-1]
poly = hs.plot.markers.Polygons(verts=cp, edgecolor="w", facecolor="none")
dp.plot()
Expand Down
2 changes: 2 additions & 0 deletions pyxem/utils/_azimuthal_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def _get_control_points(npt, npt_azim, radial_range, azimuthal_range, affine):
The center of the diffraction pattern
radial_range: (float, float)
The radial range of the data
azimuthal_range: (float, float)
The azumuthal range of the data, in radians
Returns
-------
Expand Down

0 comments on commit 728f3db

Please sign in to comment.