Skip to content

Releases: MatthewFilipovich/torchoptics

TorchOptics 0.4.0

22 May 13:26

Choose a tag to compare

What's Changed

  • Fix bounds handling in visualization in #56
  • Refactor elements in System to tuple for better type safety and type hinting in #58
  • Update CI workflow with ruff and pyright in #59
  • Add logging to propagation functions in #60
  • Fix meshgrid initialization in profiles in #61
  • Update slicing support in System in #63
  • Update documentation in #64

Full Changelog: v0.3.2...v0.4.0

TorchOptics 0.3.2

05 May 15:09

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

TorchOptics 0.3.1

15 Apr 16:36

Choose a tag to compare

What's Changed

  • Add shape initialization utility in #47
  • Improve lens classes and functions in #48
  • Add spherical_wave and plane_wave profiles in #49

Full Changelog: v0.3.0...v0.3.1

TorchOptics 0.3.0

21 Mar 17:52

Choose a tag to compare

What's Changed

  • Refactor Field class and subclasses in #42:
    • Rename CoherenceField to SpatialCoherence
    • Remove PolarizedField class. Instead, polarization can be simulated directly with the Field and SpatialCoherence classes using polarized_modulate().
    • Remove FieldDetector class. Use Field.inner() instead
    • Rename IntensityDetector to LinearDetector
    • Add get_coherence_evolution(), which returns the spatial coherence evolution function
    • Refactor validation methods in Field
  • Rename PlanarGeometry to PlanarGrid in #43
  • Add Siemens star pattern and docs example in #44

Full Changelog: v0.2.1...v0.3.0

TorchOptics 0.2.1

19 Mar 11:21

Choose a tag to compare

What's Changed

  • Improve docs in #34
  • Fix shape initialization in PlanarGeometry in #36
  • Add type hints and update documentation in #37
  • Fix fftfreq_grad() and add relevant tests in #38

Full Changelog: v0.2.0...v0.2.1

TorchOptics 0.2.0

17 Mar 11:22

Choose a tag to compare

What's Changed

  • Refactor validation and utility functions in #14
  • Enhance CI workflow with linting and formatting tools in #18
  • Refactor register_optics_property() in #19
  • Add grating profiles in #21
  • Add Zernike polynomial profiles in #22
  • Update propagation functions with new arguments in #23
  • Miscellaneous fixes in #24
  • Fix critical propagation distance calculations and update documentation in #25
  • Implement copy utility function in #26
  • Fix profile return dtypes and add tests in #28
  • Improve is_asm() and spatial coherence error in #29
  • Allow evanescent waves in asm propagation in #31
  • Refactor docs in #32
  • Fix docs for readthedocs in #33

Full Changelog: v0.1.0...v0.2.0

TorchOptics 0.1.0

21 Feb 01:11

Choose a tag to compare

What's Changed

  • Fix mypy errors in #4
  • Add getter functions for wavelength and spacing in #5
  • Enable polychromatic modulation elements in #8
  • Improve System class in #9
  • Update functionality of parameters in #10
  • Change default interpolation mode from bilinear to nearest
  • Change modulation_profile from a property to method
  • Fix bug in Lens class

Full Changelog: v0.0.0...v0.1.0

TorchOptics 0.0.0

23 Jan 14:22

Choose a tag to compare

First public release of TorchOptics 🎉