Browse Source

wip: CLVDVolume

grondown_fdsn
miili 2 years ago
parent
commit
c66fd062a0
4 changed files with 7 additions and 3 deletions
  1. +1
    -0
      setup.py
  2. +1
    -0
      src/problems/__init__.py
  3. +4
    -2
      src/targets/gnss_campaign/plot.py
  4. +1
    -1
      src/targets/satellite/plot.py

+ 1
- 0
setup.py View File

@ -111,6 +111,7 @@ setup(
'grond.problems.double_dc',
'grond.problems.rectangular',
'grond.problems.volume_point',
'grond.problems.clvd_volume',
'grond.optimisers',
'grond.optimisers.highscore',
'grond.analysers',


+ 1
- 0
src/problems/__init__.py View File

@ -6,3 +6,4 @@ from .cmt.problem import * # noqa
from .rectangular.problem import * # noqa
from .double_dc.problem import * # noqa
from .volume_point.problem import * # noqa
from .clvd_volume.problem import * # noqa

+ 4
- 2
src/targets/gnss_campaign/plot.py View File

@ -7,7 +7,8 @@ from pyrocko import orthodrome as od
from grond.plot.config import PlotConfig
from grond.plot.collection import PlotItem
from grond.problems import CMTProblem, RectangularProblem, VolumePointProblem
from grond.problems import CMTProblem, RectangularProblem, \
VolumePointProblem, CLVDVolumeProblem
from ..plot import StationDistributionPlot
@ -166,7 +167,8 @@ displacements derived from best model (red).
vertical=vertical,
labels=False)
if isinstance(problem, CMTProblem):
if isinstance(problem, CMTProblem) \
or isinstance(problem, CLVDVolumeProblem):
from pyrocko import moment_tensor
from pyrocko.plot import gmtpy


+ 1
- 1
src/targets/satellite/plot.py View File

@ -225,7 +225,7 @@ edge marking the upper fault edge. Complete data extent is shown.
fig.set_size_inches(*self.size_inch)
gs = gridspec.GridSpec(
2, 3,
wspace=.05, hspace=.2,
wspace=.15, hspace=.2,
left=.1, right=.975, top=.95,
height_ratios=[12, 1])


Loading…
Cancel
Save