Update the docs to include the new example for loading and viewing a ptychography reconstruction

This commit is contained in:
allevitan committed 2026-06-16 16:13:51 +02:00
1 parent 4d360f1361
commit 6af72e1ce0
1 file changed
+10
+10
View File
@@ -86,6 +86,16 @@ Note also the use of :code:`model.save_on_exception` and :code:`model.save_to_h5
Finally, note that there are several small adjustments made to the script to counteract particular sources of error that are present in this dataset, for example the raster grid pathology caused by the scan pattern used. Also note that not every mixin is needed every time - in this case, we turn off optimization of the :code:`weights` parameter.
View Gold Ball Ptycho Results
-----------------------------
This script shows how to load and view a saved ptychography reconstruction.
.. literalinclude:: ../../examples/view_gold_ball_ptycho.py
Note that :code:`obj_view_crop` and :code:`units` are directly set when loading from the saved reconstruction, because this information purely refers to the settings of the viewer in :code:`model.inspect()` and is not saved with the reconstruction.
Near-Field Ptycho
-----------------