The targets.base module

class grond.targets.base.MisfitConfig(**kwargs)[source]

Undocumented.

class grond.targets.base.MisfitResult(**kwargs)[source]

Undocumented.

♦ misfits

numpy.ndarray (pyrocko.guts_array.Array)

class grond.targets.base.MisfitTarget(**kwargs)[source]

Undocumented.

♦ manual_weight

float, default: 1.0

Relative weight of this target

♦ analyser_results

dict of grond.analysers.base.AnalyserResult objects, default: {}

Dictionary of analyser results

♦ normalisation_family

str (pyrocko.gf.meta.StringID), optional

Normalisation family of this misfit target

♦ path

str (pyrocko.gf.meta.StringID)

A path identifier used for plotting

♦ misfit_config

MisfitConfig, default: MisfitConfig()

Misfit configuration

♦ bootstrap_weights

numpy.ndarray (pyrocko.guts_array.Array), optional

♦ bootstrap_residuals

numpy.ndarray (pyrocko.guts_array.Array), optional

finalize_modelling(engine, source, modelling_targets, modelling_results)[source]

Manipulate modelling before misfit calculation

This function can be overloaded interact with the modelling results.

prepare_modelling(engine, source, targets)[source]

Prepare modelling target

This function shall return a list of pyrocko.gf.Target for forward modelling in the pyrocko.gf.LocalEngine.

class grond.targets.base.TargetGroup(**kwargs)[source]

Undocumented.

♦ normalisation_family

str (pyrocko.gf.meta.StringID), optional

Group with common misfit normalisation

♦ path

str (pyrocko.gf.meta.StringID), optional

Targets.id will be prefixed with this path

♦ weight

float, default: 1.0

Additional manual weight of the target group

♦ interpolation

str (pyrocko.gf.meta.InterpolationMethod), default: 'nearest_neighbor'

Interpolation from pre-calculated GF store.

♦ store_id

str (pyrocko.gf.meta.StringID), optional

ID of the Green’s function store for this TargetGroup.