Coverage for src/gncpy/errors.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-07-19 05:48 +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