From 5e054fbfc289a84f0f822ce92fdb6d94127611d6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 23:51:32 +0000 Subject: [PATCH 1/2] Initial plan From 792461028c4add1e15d9eedf1a6927fe707fb436 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 23:53:19 +0000 Subject: [PATCH 2/2] fix: update docs build config and notebook examples --- docs/examples/image_analysis.ipynb | 7 ++++++- docs/examples/simulated_quad_scan.ipynb | 7 ++++++- mkdocs.yml | 4 +--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/examples/image_analysis.ipynb b/docs/examples/image_analysis.ipynb index a09d432..dc91baf 100644 --- a/docs/examples/image_analysis.ipynb +++ b/docs/examples/image_analysis.ipynb @@ -192,7 +192,12 @@ "source": [ "# returns: xsize, ysize, xsize_error, ysize_error, x_amplitude, y_amplitude\n", "fit_res = im.get_sizes(method = \"gaussian\", show_plots = True)\n", - "xsize, ysize, xsize_error, ysize_error, x_amplitude, y_amplitude = fit_res" + "xsize = fit_res[\"xrms\"]\n", + "ysize = fit_res[\"yrms\"]\n", + "xsize_error = fit_res[\"xrms_err\"]\n", + "ysize_error = fit_res[\"yrms_err\"]\n", + "x_amplitude = fit_res[\"xamp\"]\n", + "y_amplitude = fit_res[\"yamp\"]" ] }, { diff --git a/docs/examples/simulated_quad_scan.ipynb b/docs/examples/simulated_quad_scan.ipynb index bac00d2..03c5652 100644 --- a/docs/examples/simulated_quad_scan.ipynb +++ b/docs/examples/simulated_quad_scan.ipynb @@ -760,7 +760,12 @@ ], "source": [ "fit_res = im.get_sizes(method = \"gaussian\", show_plots = True)\n", - "xsize, ysize, xsize_error, ysize_error, x_amplitude, y_amplitude = fit_res" + "xsize = fit_res[\"xrms\"]\n", + "ysize = fit_res[\"yrms\"]\n", + "xsize_error = fit_res[\"xrms_err\"]\n", + "ysize_error = fit_res[\"yrms_err\"]\n", + "x_amplitude = fit_res[\"xamp\"]\n", + "y_amplitude = fit_res[\"yamp\"]" ] }, { diff --git a/mkdocs.yml b/mkdocs.yml index 6f2e75f..5497a64 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -61,13 +61,12 @@ plugins: default_handler: python handlers: python: - selection: + options: docstring_style: "numpy" inherited_members: false filters: - "!^_" # exclude all members starting with _ - "^__init__$" # but always include __init__ modules and methods - rendering: show_source: true show_root_heading: true @@ -75,4 +74,3 @@ plugins: -