pyrocko.scenario.targets.base

Base class for target generators.

Classes

NoiseGenerator(**kwargs)

Base class for random noise generators.

TargetGenerator(**kwargs)

Base class for observational target generators.

class TargetGenerator(**kwargs)[source]

Bases: Generator

Base class for observational target generators.

get_time_range(sources)[source]

Get the target’s time range.

In the easiest case this is the sources’ time range, yet for waveform targets we have to consider vmin, vmax

get_targets()[source]

Returns a list of targets, used class-internally to forward model.

class NoiseGenerator(**kwargs)[source]

Bases: Generator

Base class for random noise generators.