mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
docstring added to CObs
This commit is contained in:
parent
040f6dbd51
commit
f627a52bba
1 changed files with 2 additions and 0 deletions
|
@ -641,7 +641,9 @@ class Obs:
|
||||||
|
|
||||||
|
|
||||||
class CObs:
|
class CObs:
|
||||||
|
"""Class for a complex valued observable."""
|
||||||
__slots__ = ['real', 'imag', 'tag']
|
__slots__ = ['real', 'imag', 'tag']
|
||||||
|
|
||||||
def __init__(self, real, imag=0.0):
|
def __init__(self, real, imag=0.0):
|
||||||
self.real = real
|
self.real = real
|
||||||
self.imag = imag
|
self.imag = imag
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue