The problems.cmt module

class grond.problems.cmt.problem.CMTProblem(**kwargs)[source]

Undocumented.

♦ distance_min

float, default: 0.0

♦ mt_type

str (MTType), default: 'full'

♦ mt_random

str (MTRandomType), default: 'uniform'

♦ stf_type

str (STFType), default: 'HalfSinusoidSTF'

class grond.problems.cmt.problem.CMTProblemConfig(**kwargs)[source]

Undocumented.

♦ ranges

dict of pyrocko.gf.seismosizer.Range objects, default: {}

♦ distance_min

float, default: 0.0

♦ mt_type

str (MTType), default: 'full'

♦ mt_random

str (MTRandomType), default: 'uniform'

♦ stf_type

str (STFType), default: 'HalfSinusoidSTF'

get_problem(event, target_groups, targets)[source]

Instantiate the problem with a given event and targets.

Returns:

Problem object