Differt2d

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

[v0.2.0](https://github.com/jeertmans/DiffeRT2d/compare/v0.1.0...v0.2.0)

(v0.2.0-added)=
Added

+ Added three keyword arguments to `Scene.plot`, to make plotting transmitters,
receivers or objects, an option.
[37](https://github.com/jeertmans/DiffeRT2d/pull/37)
+ Added a new `annotate_offset` argument to `Point.plot` to shift the text.
+ Added options to compute the gradient (or the value and the gradient) of
accumulated functions from `Scene` class.

(v0.2.0-changed)=
Changed

+ Renamed all occurences of `emitter*` to `transmitter*`.
This is a **breaking change** regarding some function names.
[43](https://github.com/jeertmans/DiffeRT2d/pull/43)
+ Accumulate functions from `Scene` class now return an iterator by default,
which can be reduce with the `reduce_all` option.
This is a **breaking change**.
+ Changed `function` parameter in `activation` to be a callable, not a `str`,
so anyone can provide a custom activation function.
This is a **breaking change**.
[45](https://github.com/jeertmans/DiffeRT2d/pull/45)
+ Changed the default value for `many` parameter to `1` when generating paths
using `MPT` or `FPT`. Prior to that, `10` was used.
+ Renamed environ variable `JAX_ENABLE_APPROX` to `DISABLE_APPROX`.
Setting this variable to any value will disable approximation.
This is a **breaking change**.
[45](https://github.com/jeertmans/DiffeRT2d/pull/54)
+ Changed the default value of enabling (or not) approximation from `jax.config`
(removed from their API) to `differt2d.logic.set_approx`.
This is a **breaking change**.
[45](https://github.com/jeertmans/DiffeRT2d/pull/54)

(v0.2.0-chore)=
Chore

+ Added benchmarks to better quantify performance changes.

(v0.2.0-fixed)=
Fixed

+ Fixed how path candidates are computed, which actually removes the
`get_visibility` matrix method and changes the output type of `all_path_candidates`
to a list of arrays.
[48](https://github.com/jeertmans/DiffeRT2d/pull/458)

0.1.0

This version added all basic features. This changelog will only document feature
changes in future versions.

<!-- end changelog -->

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.