Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | OffsetVector
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
weak_equality = False
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
The default equality test is to consider two vectors to be equal only if all ifos are the same and all offsets are the same. If one vector is a subset of the other vector, they will not be considered equal. However, if the class attribute weak_equality is set to True, only offsets of the ifos that are both in self and other will be checked. For example: >>> a = OffsetVector({'H1': 0, 'L1': 5}) >>> b = OffsetVector({'H1': 0, 'L1': 5, 'V1': 10}) >>> a == b False >>> OffsetVector.weak_equality = True >>> a == b True
|
x!=y
|
hash(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:42 2017 | http://epydoc.sourceforge.net |