DummyInitialObservationPrior._check#
- DummyInitialObservationPrior._check()[source]#
Reject a non-positive tightness.
Called by
dummy_observations(), the only method whose output depends on the field; the moment methods return constants and do not call it.- Raises:
SpecificationError – If
tightnessis not positive.
Example
>>> DummyInitialObservationPrior(tightness=-1.0)._check() Traceback (most recent call last): ... cultivars.exceptions.SpecificationError: tightness must be positive; got -1.0.
- Return type: