Commit 4a362bd3 authored by Christoph Lienhard's avatar Christoph Lienhard
Browse files

Added docstring for Contant(Model)

parent e53f2d33
......@@ -20,6 +20,16 @@ from .model import Model
class Constant(Model):
"""A sky model with a constant field as value.
Parameters
----------
position : Field or MultiField
The current position in parameter space.
constant : Field
The value of the model.
"""
# TODO Remove position
def __init__(self, position, constant):
super(Constant, self).__init__(position)
......
Supports Markdown
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