Coverage for src/gncpy/errors.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-13 06:15 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-13 06:15 +0000
1"""Defines custom exceptions and errors for algorithm specific problems."""
4class ParticleDepletionError(Exception):
5 """Thrown when a PF has depleted all its particles."""
7 pass
10class ParticleEstimationDomainError(Exception):
11 """Thrown when a PF has an estimate for a particle outside its valid domain."""
13 pass
16class ExtremeMeasurementNoiseError(Exception):
17 """Thrown when the estimated measurement noise covariance is ill formed.
19 This may happen when bad measurements are used for estimation, as may be
20 the case when a filter is used as the inner filter for a Generalized
21 Labeled Multi-Bernoulli (GLMB) filter.
22 """
24 pass