Skip to content

Conversation

Pwhsky
Copy link
Collaborator

@Pwhsky Pwhsky commented Apr 11, 2025

  • Changed type hints to use future
  • replaced union with |
  • absolute imports.
  • Added warning when passing a non-mie scatterer to either Darkfield, ISCAT, Holography, as doing this just produces a Brightfield image.

The code for the warning is in the __call__ method of the Optics class, on line 918.

@giovannivolpe giovannivolpe merged commit 23f9bcd into DeepTrackAI:develop May 3, 2025
25 checks passed
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.

2 participants