Coverage for /usr/local/lib/python3.11/dist-packages/grond/problems/__init__.py: 80%

10 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-10-28 13:13 +0000

1''' 

2Definition of the objective function and source model parameter space. 

3''' 

4import warnings 

5 

6from .base import * # noqa 

7from .cmt.problem import * # noqa 

8from .rectangular.problem import * # noqa 

9from .double_dc.problem import * # noqa 

10from .volume_point.problem import * # noqa 

11 

12try: 

13 from .vlvd.problem import * # noqa 

14except ImportError: 

15 warnings.warn( 

16 'could not import pyrocko.gf.VLVDSource. Update pyrocko to enable' 

17 ' inversion of VLVDProblem.', ImportWarning)