Skip to content

Updated optuna study - #528

Open
Pwhsky wants to merge 7 commits into
developfrom
al/update-dtgs127
Open

Pwhsky wants to merge 7 commits into
developfrom
al/update-dtgs127

Conversation

@Pwhsky

@Pwhsky Pwhsky commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Reduces the parameter ranges for aberration coefficient and particle radii, removed optical axis position parameter from the Optuna search.

Reduces the parameter ranges for aberration coefficient and particle radii, removed optical axis position parameter from the Optuna search.
@Pwhsky Pwhsky self-assigned this Sep 16, 2026
" f\"Z: {particle.z()} vs {best_params['z']}\"\n",
" f\"{'Parameter':<15} {'Predicted':<20} {'Ground Truth':<20}\\n\"\n",
" f\"{'-' * 55}\\n\"\n",
" f\"{'Aberration':<15} {aberration.name():<20} {best_params['aberration_name']}\\n\"\n",

@edudc edudc Sep 16, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (blocking): The validation table currently labels the reference values (aberration and particle) as Predicted and the optimized values (best_params) as Ground Truth.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit dd84cfb

@@ -114,7 +122,7 @@
"\n",
"# Define optics.\n",
"optics = dt.Fluorescence(\n",
" magnification=10,\n",
" magnification=15,\n",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (non-blocking): the description states that the microscope has a pixel size of 0.1 um, but with resolution=1e-6 and magnification=15, the calculated pixel size is approximately 0.0667 um

@mirjagranfors

Copy link
Copy Markdown
Collaborator

I added some suggestions for updating the tutorial in a separate PR: #529

Comment thread tutorials/1-getting-started/DTGS127_characterizing_aberrations_optuna.ipynb Outdated
Comment thread tutorials/1-getting-started/DTGS127_characterizing_aberrations_optuna.ipynb Outdated
Comment thread tutorials/1-getting-started/DTGS127_characterizing_aberrations_optuna.ipynb Outdated
Comment thread tutorials/1-getting-started/DTGS127_characterizing_aberrations_optuna.ipynb Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to rearrange the text description in sections 4 and 5? For example, RMSE is employed in the next section's code but is mentioned here in the text. or merger section 4 and 5 together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants