Changelog¶
v0.4.1¶
v0.4.0¶
Changed¶
Scene instantiation class methods now return
Scene[Wall]instead ofSelf. This could break code that created subclasses ofScene. This is a breaking change. #98Scene
accumulate_*methods now have almost all arguments as keyword-only arguments. This is a breaking change. #98Scene.get_objectsupports traced arrays if all scene objects are of the same type.
Chore¶
Fixed¶
Fixed documentation issue with self-reference inside Array type hints. #98
v0.3.5¶
Added¶
Chore¶
Fixed¶
v0.3.4¶
This is a release of the JOSS paper submission.
v0.3.3¶
Added¶
Chore¶
v0.3.2¶
Small documentation enhancements.
v0.3.1¶
Added¶
Added utilities to rename scene transmitters and receivers. #62
Changed¶
Changed the types of indices (and path candidates) to allow signed integers, as a way to support negative indexing. #62
Chore¶
Added a detailed notebook about our ML model presented at the COST20120 INTERACT meeting, Helsinki, June 2024. #62
v0.3.0¶
Added¶
Path methods now accept
Pointin addition toFloat[Array, "2"]fortxandrxarguments. #59
Changed¶
Changed
.pointand.pointsclass attributes to.xyand.xysto emphasize that they are the raw x-y coordinates. This is a breaking change. #59Changed
Sceneattributes to me immutable, to follow the principle of PyTrees. This is a breaking change. #59Removed the
seedargument for path methods and made thekeyargument mandatory when needed. Thekeyandkwargsarguments are now present everywhere, but may be unused. This is a breaking change. #59
Chore¶
Changed to project to use modern tools like Rye, Ruff (discarding Black and others),
bump-my-version, ReadTheDocs documentation hosting, better type hints, etc. This is a breaking change because some functions parameters changed (e.g.,minimize), a type checker is used on many functions, and classes are now frozen dataclasses (because PyTrees). #58Update the examples and lib to match changes in codebase and satisfy Pyright. #59
Reworked documentation to include notes on JAX, jaxtyping, and scientific publications. #59
v0.2.0¶
Added¶
Added three keyword arguments to
Scene.plot, to make plotting transmitters, receivers or objects, an option. #37Added a new
annotate_offsetargument toPoint.plotto shift the text.Added options to compute the gradient (or the value and the gradient) of accumulated functions from
Sceneclass.
Changed¶
Renamed all occurrences of
emitter*totransmitter*. This is a breaking change regarding some function names. #43Accumulate functions from
Sceneclass now return an iterator by default, which can be reduce with thereduce_alloption. This is a breaking change.Changed
functionparameter inactivationto be a callable, not astr, so anyone can provide a custom activation function. This is a breaking change. #45Changed the default value for
manyparameter to1when generating paths usingMPTorFPT. Prior to that,10was used.Renamed environ variable
JAX_ENABLE_APPROXtoDISABLE_APPROX. Setting this variable to any value will disable approximation. This is a breaking change. #45Changed the default value of enabling (or not) approximation from
jax.config(removed from their API) todiffert2d.logic.set_approx. This is a breaking change. #45
Chore¶
Added benchmarks to better quantify performance changes.
Fixed¶
Fixed how path candidates are computed, which actually removes the
get_visibilitymatrix method and changes the output type ofall_path_candidatesto a list of arrays. #48
v0.1.0¶
This version added all basic features. This changelog will only document feature changes in future versions.