Coverage for /usr/local/lib/python3.11/dist-packages/grond/analysers/base.py: 88%
16 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-26 16:25 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-26 16:25 +0000
1from pyrocko.guts import Object
3from grond.meta import GrondError
5guts_prefix = 'grond'
8class Analyser(object):
10 def analyse(self, problem, ds):
11 pass
13 def get_rstate(self, problem, seed=None):
14 return problem.get_rstate_manager().get_rstate(
15 self.__class__.__name__, seed)
18class AnalyserConfig(Object):
20 def get_analyser(self):
21 return Analyser
24class AnalyserResult(Object):
26 class NoResults(GrondError):
27 pass
29 pass
32__all__ = '''
33 Analyser
34 AnalyserConfig
35'''.split()