Commit 6ef6ce0c authored by Marco Selig's avatar Marco Selig

version update.

parent b934be46
...@@ -64,6 +64,8 @@ apply to fields. ...@@ -64,6 +64,8 @@ apply to fields.
* ``response_operator`` - exemplary responses that include a convolution, * ``response_operator`` - exemplary responses that include a convolution,
masking and projection masking and projection
* ``propagator_operator`` - information propagator in Wiener filter theory * ``propagator_operator`` - information propagator in Wiener filter theory
* ``explicit_operator`` - linear operators with an explicit matrix
representation
* (and more) * (and more)
* (and more) * (and more)
...@@ -97,7 +99,7 @@ Requirements ...@@ -97,7 +99,7 @@ Requirements
Download Download
........ ........
The latest release is tagged **v0.6.0** and is available as a source package The latest release is tagged **v0.7.0** and is available as a source package
at `<https://github.com/mselig/nifty/tags>`_. The current version can be at `<https://github.com/mselig/nifty/tags>`_. The current version can be
obtained by cloning the repository:: obtained by cloning the repository::
...@@ -140,5 +142,7 @@ The NIFTY package is licensed under the ...@@ -140,5 +142,7 @@ The NIFTY package is licensed under the
`GPLv3 <http://www.gnu.org/licenses/gpl.html>`_ and is distributed *without any `GPLv3 <http://www.gnu.org/licenses/gpl.html>`_ and is distributed *without any
warranty*. warranty*.
----
**NIFTY** project homepage: `<http://www.mpa-garching.mpg.de/ift/nifty/>`_ **NIFTY** project homepage: `<http://www.mpa-garching.mpg.de/ift/nifty/>`_
...@@ -24,6 +24,7 @@ from nifty_core import * ...@@ -24,6 +24,7 @@ from nifty_core import *
from nifty_cmaps import * from nifty_cmaps import *
from nifty_power import * from nifty_power import *
from nifty_tools import * from nifty_tools import *
from nifty_explicit import *
......
...@@ -63,15 +63,15 @@ j = R.adjoint_times(N.inverse_times(d)) # define i ...@@ -63,15 +63,15 @@ j = R.adjoint_times(N.inverse_times(d)) # define i
class M_operator(operator): class M_operator(operator):
def _multiply(self,x): def _multiply(self, x):
N,R = self.para N, R = self.para
return R.adjoint_times(N.inverse_times(R.times(x))) return R.adjoint_times(N.inverse_times(R.times(x)))
C = explicify(S, newdomain=x_space, newtarget=x_space) # explicify S C = explicify(S, newdomain=x_space, newtarget=x_space) # explicify S
M = M_operator(x_space,sym=True,uni=False,imp=True,para=(N,R)) M = M_operator(x_space, sym=True, uni=False, imp=True, para=(N, R))
M = explicify(M) # explicify M M = explicify(M) # explicify M
D = (C.inverse()+M).inverse() # define information propagator D = (C.inverse() + M).inverse() # define information propagator
m = D(j) # reconstruct map m = D(j) # reconstruct map
......
...@@ -486,7 +486,7 @@ class _about(object): ## nifty support class for global settings ...@@ -486,7 +486,7 @@ class _about(object): ## nifty support class for global settings
""" """
## version ## version
self._version = "0.6.8" self._version = "0.7.0"
## switches and notifications ## switches and notifications
self._errors = notification(default=True,ccode=notification._code) self._errors = notification(default=True,ccode=notification._code)
...@@ -8587,6 +8587,10 @@ class diagonal_operator(operator): ...@@ -8587,6 +8587,10 @@ class diagonal_operator(operator):
bare entries that allow for correct interpretation of the matrix bare entries that allow for correct interpretation of the matrix
entries; e.g., as variance in case of an covariance operator. entries; e.g., as variance in case of an covariance operator.
The inverse applications of the diagonal operator feature a ``pseudo``
flag indicating if zero divison shall be ignored and return zero
instead of causing an error.
Attributes Attributes
---------- ----------
domain : space domain : space
...@@ -9594,6 +9598,12 @@ class projection_operator(operator): ...@@ -9594,6 +9598,12 @@ class projection_operator(operator):
Lower limit of the uniform distribution if ``random == "uni"`` Lower limit of the uniform distribution if ``random == "uni"``
(default: 0). (default: 0).
Notes
-----
The application of the projection operator features a ``band`` keyword
specifying a single projection band (see examples) and a ``bandsup``
keyword specifying which projection bands to sum up.
Examples Examples
-------- --------
>>> space = point_space(3) >>> space = point_space(3)
......
This diff is collapsed.
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
""" """
from __future__ import division from __future__ import division
from scipy.interpolate import interp1d as ip ## conflicts with sphinx's autodoc from scipy.interpolate import interp1d as ip ## FIXME: conflicts with sphinx's autodoc
#import numpy as np #import numpy as np
from nifty_core import * from nifty_core import *
import smoothing as gs import smoothing as gs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment