Differt2d

Latest version: v0.4.0

Safety actively analyzes 714973 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

[v0.4.0](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.5...v0.4.0)

(v0.4.0-changed)=
Changed

+ Scene instantiation class methods now return `Scene[Wall]`
instead of `Self`. This could break code that created subclasses of
`Scene`.
This is a **breaking change**.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)
+ Scene `accumulate_*` methods now have almost
all arguments as **keyword-only** arguments.
This is a **breaking change**.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)
+ `Scene.get_object` supports traced arrays if all scene
objects are of the same type.

(v0.4.0-chore)=
Chore

+ Remove extras in favor to dependency groups.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)
+ Fixed some issues with type hints.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)
+ Removed unnecessary `jax.jit` and `jaxtyped` decorators.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)

(v0.4.0-fixed)=
Fixed

+ Fixed documentation issue with self-reference inside Array type hints.
[98](https://github.com/jeertmans/DiffeRT2d/pull/98)

0.3.5

[v0.3.5](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.4...v0.3.5)

(v0.3.5-added)=
Added

+ Added `Interactable.sample` method to randomly sample a point on an object.
[80](https://github.com/jeertmans/DiffeRT2d/pull/80)
+ Added optional y-axis size in `Interactable.grid`.
[82](https://github.com/jeertmans/DiffeRT2d/pull/82)
+ Added `Scene.{get_objet,stacked_objects,from_stacked_objects}` methods.
[85](https://github.com/jeertmans/DiffeRT2d/pull/85)

(v0.3.5-chore)=
Chore

+ Changed `pyperf` to `pytest-benchmark` for benchmarks.
[83](https://github.com/jeertmans/DiffeRT2d/pull/83)
+ Changed Rye to uv.
[93](https://github.com/jeertmans/DiffeRT2d/pull/93)
+ Removed support for Python 3.9 (as a consequence of bumping JAX).
[93](https://github.com/jeertmans/DiffeRT2d/pull/93)
+ Use `typing.Self` instead of string annotation, to include subclasses.
[93](https://github.com/jeertmans/DiffeRT2d/pull/93)

(v0.3.5-fixed)=
Fixed

+ Fixed issues with `jax>0.4.28`.
[81](https://github.com/jeertmans/DiffeRT2d/pull/81)
+ Fixed layout issue [92](https://github.com/jeertmans/DiffeRT2d/pull/92).
[93](https://github.com/jeertmans/DiffeRT2d/pull/93)
+ Fixed `Scene.square_scene_will_wall` not using `ratio` argument.
[93](https://github.com/jeertmans/DiffeRT2d/pull/93)

0.3.4

[v0.3.4](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.3...v0.3.4)

This is a release of the JOSS paper submission.

0.3.3

[v0.3.3](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.2...v0.3.3)

(v0.3.3-added)=
Added

+ Added `Vertex` class for basic vertex diffraction.
[70](https://github.com/jeertmans/DiffeRT2d/pull/70)
+ Added `get_vertices` method to `Wall`.
[70](https://github.com/jeertmans/DiffeRT2d/pull/70)
+ Added `filter_objects` method to `Scene`.
[70](https://github.com/jeertmans/DiffeRT2d/pull/70)
+ Added `filter_objects` parameters to `Scene.all_path_candidates`
and related methods.
[70](https://github.com/jeertmans/DiffeRT2d/pull/70)
+ Added a lower-level, cached, variant of `all_path_candidates`.
[70](https://github.com/jeertmans/DiffeRT2d/pull/70)

(v0.3.3-chore)=
Chore

+ Fixed broken links and added test to check for links.
[68](https://github.com/jeertmans/DiffeRT2d/pull/68)
+ Enhanced the documentation homepage.
[77](https://github.com/jeertmans/DiffeRT2d/pull/77)

0.3.2

[v0.3.2](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.1...v0.3.2)

Small documentation enhancements.

0.3.1

[v0.3.1](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.0...v0.3.1)

(v0.3.1-added)=
Added

+ Added utilities to rename scene transmitters and receivers.
[62](https://github.com/jeertmans/DiffeRT2d/pull/62)

(v0.3.1-changed)=
Changed

+ Changed the types of indices (and path candidates) to
allow signed integers, as a way to support negative indexing.
[62](https://github.com/jeertmans/DiffeRT2d/pull/62)

(v0.3.1-chore)=
Chore

+ Added a detailed notebook about our ML model presented at
the COST20120 INTERACT meeting, Helsinki, June 2024.
[62](https://github.com/jeertmans/DiffeRT2d/pull/62)

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.