Odl

Latest version: v0.8.1

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

Scan your dependencies

Page 2 of 3

0.5.1

This is a maintenance release since the test suite was not bundled with PyPI and Conda packages as intended already in 0.5.0. From this version on, users can run `python -c "import odl; odl.test()"` with all types of installations (from PyPI, Conda or from source).

0.5.0

This release features a new important top level class `Functional` that is intended to be used in optimization methods.
Beyond its parent `Operator`, it provides special methods and properties like `gradient` or `proximal` which are useful in advanced smooth or non-smooth optimization schemes.
The interfaces of all solvers in `odl.solvers` have been updated to make use of functionals instead of their proximals, gradients etc. directly.

Further notable changes are the implementation of an `as_writable_array` context manager that exposes arbitrary array storage as writable Numpy arrays, and the generalization of the wavelet transform to arbitrary dimensions.

See [the detailed release notes](https://odlgroup.github.io/odl/release_notes.html) for a complete list of changes.

0.4.0

This release marks the addition of the `deform` package to ODL, adding functionality for the deformation
of `DiscreteLp` elements.

New features
- Add `deform` package with linearized deformations (488)
- Add option to interface with ProxImaL solvers using ODL operators. (494)

0.3.1

This release mainly fixes an issue that made it impossible to pip install odl with version 0.3.0. It also adds the first really advanced solvers based on forward-backward and Douglas-Rachford splitting.

See [Release Notes](https://odl.readthedocs.io/release_notes.html#odl-0-3-1-release-notes-2016-08-15) for a full list of changes.

0.3.0

This release marks the removal of odlpp from the core library. It has instead been moved to a separate library, [odlcuda](https://github.com/odlgroup/odlcuda).

New features
- To enable cuda backends for the odl spaces, an entry point `'odl.space'` has been added where external libraries can hook in to add `FnBase` and `NtuplesBase` type spaces.
- Add pytest fixtures `'fn_impl'` and `'ntuple_impl'` to the test config `conf.py`. These can now be accessed from any test.
- Allow creation of general spaces using the `fn`, `cn` and `rn` methods. This functions now take an `impl` parameter which defaults to `'numpy'` but with odlcuda installed it may also be set to `'cuda'`. The old numpy specific `Fn`, `Cn` and `Rn` functions have been removed.

Changes
- Moved all CUDA specfic code out of the library into odlcuda. This means that `cu_ntuples.py` and related files have been removed.
- rename `ntuples.py` to `npy_ntuples.py`.
- Added `Numpy` to the numy based spaces. They are now named `NumpyFn` and `NumpyNtuples`.
- Prepended `npy_` to all methods specific to `ntuples` such as weightings.

0.2.4

New features
- Add `uniform_discr_fromdiscr` (`PR 467`).
- Add conda build files (`commit 86ff166`).

Bugfixes
- Fix bug in submarine phantom with non-centered space (`PR 469`).
- Fix crash when plotting in 1d (`commit 3255fa3`).

Changes
- Move phantoms to new module odl.phantom (`PR 469`).
- Rename `RectPartition.is_regular` to `RectPartition.is_uniform`
(`PR 468`).

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.