Skip to content

Commit

Permalink
REL: bump version 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kohr-h committed Jun 12, 2016
1 parent 42cdd1b commit f360462
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 2 deletions.
50 changes: 50 additions & 0 deletions doc/source/prs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
####################
Merged pull requests
####################

.. _PR 289: https://github.com/odlgroup/odl/pull/289
.. _PR 304: https://github.com/odlgroup/odl/pull/304
.. _PR 308: https://github.com/odlgroup/odl/pull/308
.. _PR 309: https://github.com/odlgroup/odl/pull/309
.. _PR 318: https://github.com/odlgroup/odl/pull/318
.. _PR 320: https://github.com/odlgroup/odl/pull/320
.. _PR 321: https://github.com/odlgroup/odl/pull/321
.. _PR 324: https://github.com/odlgroup/odl/pull/324
.. _PR 328: https://github.com/odlgroup/odl/pull/328
.. _PR 331: https://github.com/odlgroup/odl/pull/331
.. _PR 333: https://github.com/odlgroup/odl/pull/333
.. _PR 337: https://github.com/odlgroup/odl/pull/337
.. _PR 338: https://github.com/odlgroup/odl/pull/338
.. _PR 346: https://github.com/odlgroup/odl/pull/346
.. _PR 348: https://github.com/odlgroup/odl/pull/348
.. _PR 352: https://github.com/odlgroup/odl/pull/352
.. _PR 361: https://github.com/odlgroup/odl/pull/361
.. _PR 362: https://github.com/odlgroup/odl/pull/362
.. _PR 364: https://github.com/odlgroup/odl/pull/364
.. _PR 368: https://github.com/odlgroup/odl/pull/368
.. _PR 369: https://github.com/odlgroup/odl/pull/369
.. _PR 370: https://github.com/odlgroup/odl/pull/370
.. _PR 371: https://github.com/odlgroup/odl/pull/371
.. _PR 373: https://github.com/odlgroup/odl/pull/373
.. _PR 376: https://github.com/odlgroup/odl/pull/376
.. _PR 377: https://github.com/odlgroup/odl/pull/377
.. _PR 378: https://github.com/odlgroup/odl/pull/378
.. _PR 386: https://github.com/odlgroup/odl/pull/386
.. _PR 388: https://github.com/odlgroup/odl/pull/388
.. _PR 393: https://github.com/odlgroup/odl/pull/393
.. _PR 395: https://github.com/odlgroup/odl/pull/395
.. _PR 396: https://github.com/odlgroup/odl/pull/396
.. _PR 401: https://github.com/odlgroup/odl/pull/401
.. _PR 405: https://github.com/odlgroup/odl/pull/405
.. _PR 406: https://github.com/odlgroup/odl/pull/406
.. _PR 407: https://github.com/odlgroup/odl/pull/407
.. _PR 422: https://github.com/odlgroup/odl/pull/422
.. _PR 425: https://github.com/odlgroup/odl/pull/425
.. _PR 429: https://github.com/odlgroup/odl/pull/429
.. _PR 430: https://github.com/odlgroup/odl/pull/430
.. _PR 431: https://github.com/odlgroup/odl/pull/431
.. _PR 433: https://github.com/odlgroup/odl/pull/433
.. _PR 436: https://github.com/odlgroup/odl/pull/436
.. _PR 438: https://github.com/odlgroup/odl/pull/438
.. _PR 439: https://github.com/odlgroup/odl/pull/439
.. _PR 444: https://github.com/odlgroup/odl/pull/444
2 changes: 2 additions & 0 deletions doc/source/refs.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _references:

References
==========

Expand Down
94 changes: 94 additions & 0 deletions doc/source/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,101 @@
.. _release_notes:

.. tocdepth: 0
#############
Release Notes
#############

ODL 0.2.3 Release Notes (2016-06-12)
====================================

New features
------------
- ``uniform_sampling`` now supports the ``nodes_on_bdry`` option introduced in ``RectPartition``
(`PR 308`_).
- ``DiscreteLpVector.show`` has a new ``coords`` option that allows to slice by coordinate instead
of by index (`PR 309`_).
- New ``uniform_discr_fromintv`` to discretize an existing ``IntervalProd`` instance
(`PR 318`_).
- The ``operator.oputils`` module has a new function ``as_scipy_operator`` which exposes a linear
ODL operator as a ``scipy.sparse.linalg.LinearOperator``. This way, an ODL operator can be used
seamlessly in SciPy's sparse solvers (`PR 324`_).
- New ``Resampling`` operator to resample data between different discretizations (`PR 328`_).
- New ``PowerOperator`` taking the power of an input function (`PR 338`_).
- First pointwise operators acting on vector fields: ``PointwiseInner`` and ``PointwiseNorm``
(`PR 346`_).
- Examples for FBP reconstruction (`PR 364`_) and TV regularization using the Chambolle-Pock
method (`PR 352`_).
- New ``scikit-image`` based implementation of ``RayTransform`` for 2D parallel beam tomography
(`PR 352`_).
- ``RectPartition`` has a new method ``append`` for simple extension (`PR 370`_).
- The ODL unit tests can now be run with ``odl.test()`` (`PR 373`_).
- Proximal of the Kullback-Leibler data discrepancy functional (`PR 289`_).
- Support for SPECT using ``ParallelHoleCollimatorGeometry`` (`PR 304`_).
- A range of new proximal operators (`PR 401`_) and some calculus rules (`PR 422`_) have been added,
e.g. the proximal of the convex conjugate or of a translated functional.
- Functions with parameters can now be sampled by passing the parameter values to the sampling
operator. The same is true for the ``element`` method of a discrete function space (`PR 406`_).
- ``ProducSpaceOperator`` can now be indexed directly, returning the operator component(s)
corresponding to the index (`PR 407`_).
- ``RectPartition`` now supports "almost-fancy" indexing, i.e. indexing via integer, slice, tuple
or list in the style of NumPy (`PR 386`_).
- When evaluating a ``FunctionSetVector``, the result is tried to be broadcast if necessary
(`PR 438`_).
- ``uniform_partition`` now has a more flexible way of initialization using ``begin``, ``end``,
``num_nodes`` and ``cell_sides`` (3 of 4 required) (`PR 444`_).

Improvements
------------
- Product spaces now utilize the same weighting class hierarchy as ``Rn`` type spaces, which makes
the weight handling much more transparent and robust (`PR 320`_).
- Major refactor of the ``diagnostics`` module, with better output, improved derivative test and
a simpler and more extensible way to generate example vectors in spaces (`PR 338`_).
- 3D Shepp-Logan phantom sliced in the middle is now exactly the same as the 2D Shepp-Logan phantom
(`PR 368`_).
- Improved usage of test parametrization, making decoration of each test function obsolete. Also
the printed messages are better (`PR 371`_).
- ``OperatorLeftScalarMult`` and ``OperatorRightScalarMult`` now have proper inverses (`PR 388`_).
- Better behavior of display methods if arrays contain ``inf`` or ``NaN`` (`PR 376`_).
- Adjoints of Fourier transform operators are now correctly handled (`PR 396`_).
- Differential operators now have consistent boundary behavior (`PR 405`_).
- Repeated scalar multiplication with an operator accumulates the scalars instead of creating a new
operator each time (`PR 429`_).
- Examples have undergone a major cleanup (`PR 431`_).
- Addition of ``__len__`` at several places where it was missing (`PR 425`_).

Bugfixes
--------
- The result of the evaluation of a ``FunctionSpaceVector`` is now automatically cast to the correct
output data type (`PR 331`_).
- ``inf`` values are now properly treated in ``BacktrackingLineSearch`` (`PR 348`_).
- Fix for result not being written to a CUDA array in interpolation (`PR 361`_).
- Evaluation of ``FunctionSpaceVector`` now works properly in the one-dimensional case
(`PR 362`_).
- Rotation by 90 degrees / wrong orientation of 2D parallel and fan beam projectors
and back-projectors fixed (`PR 436`_).

Changes
-------
- ``odl.set.pspace`` was moved to ``odl.space.pspace`` (`PR 320`_)
- Parameter ``ord`` in norms etc. has been renamed to ``exponent`` (`PR 320`_)
- ``restriction`` and ``extension`` operators and parameters have been renamed to ``sampling``
and ``interpolation``, respectively (`PR 337`_).
- Differential operators like ``Gradient`` and ``Laplacian`` have been moved from
``odl.discr.discr_ops`` to ``odl.discr.diff_ops`` (`PR 377`_)
- The initialization patterns of ``Gradient`` and ``Divergence`` were unified to allow specification
of domain or range or both (`PR 377`_).
- ``RawDiscretization`` and ``Discretization`` were renamed to ``DiscretizedSet`` and
``DiscretizedSpace``, resp. (`PR 406`_).
- Diagonal "operator matrices" are now implemented with a class ``DiagonalOperator`` instead of
the factory function ``diagonal_operator`` (`PR 407`_).
- The ``...Partial`` classes have been renamed to ``Callback...``. Parameters of solvers are now
``callback`` instead of ``partial`` (`PR 430`_).
- Occurrences of ``dom`` and ``ran`` as initialization parameters of operators have been changed
to ``domain`` and ``range`` throughout (`PR 433`_).
- Assignments ``x = x.space.element(x)`` are now required to be no-ops (`PR 439`_)


ODL 0.2.2 Release Notes (2016-03-11)
====================================

Expand Down Expand Up @@ -111,3 +203,5 @@ First official release.
.. _Fourier Transform: https://en.wikipedia.org/wiki/Fourier_transform
.. _Numpy's FFTPACK based transform: http://docs.scipy.org/doc/numpy/reference/routines.fft.html
.. _pyFFTW: https://pypi.python.org/pypi/pyFFTW

.. include:: prs.rst
2 changes: 1 addition & 1 deletion odl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

from __future__ import absolute_import

__version__ = '0.2.2'
__version__ = '0.2.3'
__all__ = ('diagnostics', 'discr', 'operator', 'set', 'space', 'solvers',
'tomo', 'trafos', 'util')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def run_tests(self):
setup(
name='odl',

version='0.2.2',
version='0.2.3',

description='Operator Discretization Library',
long_description=long_description,
Expand Down

0 comments on commit f360462

Please sign in to comment.