Recent Releases of torchoptics

torchoptics - TorchOptics 0.4.0

What's Changed

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

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.3.2...v0.4.0

- Python
Published by MatthewFilipovich 9 months ago

torchoptics - TorchOptics 0.3.2

What's Changed

  • Convert test framework to pytest by @MatthewFilipovich in https://github.com/MatthewFilipovich/torchoptics/pull/51
  • Update readme and contributing by @MatthewFilipovich in https://github.com/MatthewFilipovich/torchoptics/pull/52
  • Improve visualization functions by @MatthewFilipovich in https://github.com/MatthewFilipovich/torchoptics/pull/53
  • Add kwargs to visualize_tensor() by @swansonr in https://github.com/MatthewFilipovich/torchoptics/pull/54
  • Refactor animate_tensor() by @MatthewFilipovich in https://github.com/MatthewFilipovich/torchoptics/pull/55

New Contributors

  • @swansonr made their first contribution in https://github.com/MatthewFilipovich/torchoptics/pull/54

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.3.1...v0.3.2

- Python
Published by MatthewFilipovich 10 months ago

torchoptics - TorchOptics 0.3.1

What's Changed

  • Add shape initialization utility in https://github.com/MatthewFilipovich/torchoptics/pull/47
  • Improve lens classes and functions in https://github.com/MatthewFilipovich/torchoptics/pull/48
  • Add spherical_wave and plane_wave profiles in https://github.com/MatthewFilipovich/torchoptics/pull/49

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.3.0...v0.3.1

- Python
Published by MatthewFilipovich 10 months ago

torchoptics - TorchOptics 0.3.0

What's Changed

  • Refactor Field class and subclasses in https://github.com/MatthewFilipovich/torchoptics/pull/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 https://github.com/MatthewFilipovich/torchoptics/pull/43
  • Add Siemens star pattern and docs example in https://github.com/MatthewFilipovich/torchoptics/pull/44

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.2.1...v0.3.0

- Python
Published by MatthewFilipovich 11 months ago

torchoptics - TorchOptics 0.2.1

What's Changed

  • Improve docs in https://github.com/MatthewFilipovich/torchoptics/pull/34
  • Fix shape initialization in PlanarGeometry in https://github.com/MatthewFilipovich/torchoptics/pull/36
  • Add type hints and update documentation in https://github.com/MatthewFilipovich/torchoptics/pull/37
  • Fix fftfreq_grad() and add relevant tests in https://github.com/MatthewFilipovich/torchoptics/pull/38

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.2.0...v0.2.1

- Python
Published by MatthewFilipovich 11 months ago

torchoptics - TorchOptics 0.2.0

What's Changed

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

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.1.0...v0.2.0

- Python
Published by MatthewFilipovich 11 months ago

torchoptics - TorchOptics 0.1.0

What's Changed

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

Full Changelog: https://github.com/MatthewFilipovich/torchoptics/compare/v0.0.0...v0.1.0

- Python
Published by MatthewFilipovich about 1 year ago

torchoptics - TorchOptics 0.0.0

First public release of TorchOptics 🎉

- Python
Published by MatthewFilipovich about 1 year ago