Commit 17a963f0 authored by Martin Reinecke's avatar Martin Reinecke

more cleanup

parent 1beb7771
......@@ -273,7 +273,7 @@ class Hamiltonian(EnergyOperator):
For more details see:
"Encoding prior knowledge in the structure of the likelihood"
Jakob Knollmüller, Torsten A. Ensslin, submitted, arXiv:1812.04403
:link:`https://arxiv.org/abs/1812.04403`
`<https://arxiv.org/abs/1812.04403>`_
"""
def __init__(self, lh, ic_samp=None):
self._lh = lh
......
......@@ -103,6 +103,13 @@ class Operator(NiftyMetaBase()):
return _OpChain.make((_Clipper(self.target, min, max), self))
def apply(self, x):
"""Returns the result of applying the operator to the Field x.
Parameters
----------
x : Field/Multifield
the operator's input
"""
raise NotImplementedError
def force(self, x):
......
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