Coverage for /usr/local/lib/python3.11/dist-packages/pyrocko/fomosto/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-06 15:01 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-06 15:01 +0000
1# http://pyrocko.org - GPLv3
2#
3# The Pyrocko Developers, 21st Century
4# ---|P------/S----------~Lg----------
6'''
7Green's function store builders interfacing with the external modelling codes.
9This subpackage contains the GF builders which are used by :py:app:`fomosto` to
10interface with the various supported numerical forward modelling tools
11(:doc:`/apps/fomosto/backends`). '''
13import os
14import re
16op = os.path
19modules = [m for m in os.listdir(op.dirname(__file__))
20 if re.search(r'[^_(dummy)].py', m)]
21AVAILABLE_BACKENDS = set([op.splitext(m)[0] for m in modules])