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

1"""Defines custom exceptions and errors for algorithm specific problems.""" 

2 

3 

4class ParticleDepletionError(Exception): 

5 """Thrown when a PF has depleted all its particles.""" 

6 

7 pass 

8 

9 

10class ParticleEstimationDomainError(Exception): 

11 """Thrown when a PF has an estimate for a particle outside its valid domain.""" 

12 

13 pass 

14 

15 

16class ExtremeMeasurementNoiseError(Exception): 

17 """Thrown when the estimated measurement noise covariance is ill formed. 

18 

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 """ 

23 

24 pass