pyrocko.io.quakeml

exception QuakeMLError[source]
exception NoPreferredOriginSet[source]
one_element_or_none(l)[source]
class ResourceIdentifier(dummy) → str[source]

Any str matching pattern "^(smi|quakeml):[\\w\\d][\\w\\d\\-\\.\\*\\(\\)_~']{2,}/[\\w\\d\\-\\.\\*\\(\\)_~'][\\w\\d\\-\\.\\*\\(\\)\\+\\?_~'=,;#/&]*$".

pattern = "^(smi|quakeml):[\\w\\d][\\w\\d\\-\\.\\*\\(\\)_~']{2,}/[\\w\\d\\-\\.\\*\\(\\)_~'][\\w\\d\\-\\.\\*\\(\\)\\+\\?_~'=,;#/&]*$"
class WhitespaceOrEmptyStringType(dummy) → str[source]

Any str matching pattern '^\\s*$'.

pattern = '^\\s*$'
class OriginUncertaintyDescription(dummy) → str[source]

Any str out of ['horizontal uncertainty', 'uncertainty ellipse', 'confidence ellipsoid'].

choices = ['horizontal uncertainty', 'uncertainty ellipse', 'confidence ellipsoid']
class AmplitudeCategory(dummy) → str[source]

Any str out of ['point', 'mean', 'duration', 'period', 'integral', 'other'].

choices = ['point', 'mean', 'duration', 'period', 'integral', 'other']
class OriginDepthType(dummy) → str[source]

Any str out of ['from location', 'from moment tensor inversion', 'from modeling of broad-band P waveforms', 'constrained by depth phases', 'constrained by direct phases', 'constrained by depth and direct phases', 'operator assigned', 'other'].

choices = ['from location', 'from moment tensor inversion', 'from modeling of broad-band P waveforms', 'constrained by depth phases', 'constrained by direct phases', 'constrained by depth and direct phases', 'operator assigned', 'other']
class OriginType(dummy) → str[source]

Any str out of ['hypocenter', 'centroid', 'amplitude', 'macroseismic', 'rupture start', 'rupture end'].

choices = ['hypocenter', 'centroid', 'amplitude', 'macroseismic', 'rupture start', 'rupture end']
class MTInversionType(dummy) → str[source]

Any str out of ['general', 'zero trace', 'double couple'].

choices = ['general', 'zero trace', 'double couple']
class EvaluationMode(dummy) → str[source]

Any str out of ['manual', 'automatic'].

choices = ['manual', 'automatic']
class EvaluationStatus(dummy) → str[source]

Any str out of ['preliminary', 'confirmed', 'reviewed', 'final', 'rejected'].

choices = ['preliminary', 'confirmed', 'reviewed', 'final', 'rejected']
class PickOnset(dummy) → str[source]

Any str out of ['emergent', 'impulsive', 'questionable'].

choices = ['emergent', 'impulsive', 'questionable']
class EventType(dummy) → str[source]

Any str out of ['not existing', 'not reported', 'earthquake', 'anthropogenic event', 'collapse', 'cavity collapse', 'mine collapse', 'building collapse', 'explosion', 'accidental explosion', 'chemical explosion', 'controlled explosion', 'experimental explosion', 'industrial explosion', 'mining explosion', 'quarry blast', 'road cut', 'blasting levee', 'nuclear explosion', 'induced or triggered event', 'rock burst', 'reservoir loading', 'fluid injection', 'fluid extraction', 'crash', 'plane crash', 'train crash', 'boat crash', 'other event', 'atmospheric event', 'sonic boom', 'sonic blast', 'acoustic noise', 'thunder', 'avalanche', 'snow avalanche', 'debris avalanche', 'hydroacoustic event', 'ice quake', 'slide', 'landslide', 'rockslide', 'meteorite', 'volcanic eruption', 'duplicate earthquake', 'rockburst'].

choices = ['not existing', 'not reported', 'earthquake', 'anthropogenic event', 'collapse', 'cavity collapse', 'mine collapse', 'building collapse', 'explosion', 'accidental explosion', 'chemical explosion', 'controlled explosion', 'experimental explosion', 'industrial explosion', 'mining explosion', 'quarry blast', 'road cut', 'blasting levee', 'nuclear explosion', 'induced or triggered event', 'rock burst', 'reservoir loading', 'fluid injection', 'fluid extraction', 'crash', 'plane crash', 'train crash', 'boat crash', 'other event', 'atmospheric event', 'sonic boom', 'sonic blast', 'acoustic noise', 'thunder', 'avalanche', 'snow avalanche', 'debris avalanche', 'hydroacoustic event', 'ice quake', 'slide', 'landslide', 'rockslide', 'meteorite', 'volcanic eruption', 'duplicate earthquake', 'rockburst']
class DataUsedWaveType(dummy) → str[source]

Any str out of ['P waves', 'body waves', 'surface waves', 'mantle waves', 'combined', 'unknown'].

choices = ['P waves', 'body waves', 'surface waves', 'mantle waves', 'combined', 'unknown']
class AmplitudeUnit(dummy) → str[source]

Any str out of ['m', 's', 'm/s', 'm/(s*s)', 'm*s', 'dimensionless', 'other'].

choices = ['m', 's', 'm/s', 'm/(s*s)', 'm*s', 'dimensionless', 'other']
class EventDescriptionType(dummy) → str[source]

Any str out of ['felt report', 'Flinn-Engdahl region', 'local time', 'tectonic summary', 'nearest cities', 'earthquake name', 'region name'].

choices = ['felt report', 'Flinn-Engdahl region', 'local time', 'tectonic summary', 'nearest cities', 'earthquake name', 'region name']
class MomentTensorCategory(dummy) → str[source]

Any str out of ['teleseismic', 'regional'].

choices = ['teleseismic', 'regional']
class EventTypeCertainty(dummy) → str[source]

Any str out of ['known', 'suspected'].

choices = ['known', 'suspected']
class SourceTimeFunctionType(dummy) → str[source]

Any str out of ['box car', 'triangle', 'trapezoid', 'unknown'].

choices = ['box car', 'triangle', 'trapezoid', 'unknown']
class PickPolarity(dummy) → str[source]

Any str out of ['positive', 'negative', 'undecidable'].

choices = ['positive', 'negative', 'undecidable']
class AgencyID(dummy) → str[source]

Undocumented.

class Author(dummy) → str[source]

Undocumented.

class Version(dummy) → str[source]

Undocumented.

class Phase(**kwargs)[source]

Undocumented.

value

str

value = <pyrocko.guts.String.__T object>
class GroundTruthLevel(dummy) → str[source]

Undocumented.

class AnonymousNetworkCode(dummy) → str[source]

Undocumented.

class AnonymousStationCode(dummy) → str[source]

Undocumented.

class AnonymousChannelCode(dummy) → str[source]

Undocumented.

class AnonymousLocationCode(dummy) → str[source]

Undocumented.

class Type(dummy) → str[source]

Undocumented.

class MagnitudeHint(dummy) → str[source]

Undocumented.

class Region(dummy) → str[source]

Undocumented.

class RealQuantity(**kwargs)[source]

Undocumented.

value

float

uncertainty

float, optional

lower_uncertainty

float, optional

upper_uncertainty

float, optional

confidence_level

float, optional

value = <pyrocko.guts.Float.__T object>
uncertainty = <pyrocko.guts.Float.__T object>
lower_uncertainty = <pyrocko.guts.Float.__T object>
upper_uncertainty = <pyrocko.guts.Float.__T object>
confidence_level = <pyrocko.guts.Float.__T object>
class IntegerQuantity(**kwargs)[source]

Undocumented.

value

int

uncertainty

int, optional

lower_uncertainty

int, optional

upper_uncertainty

int, optional

confidence_level

float, optional

value = <pyrocko.guts.Int.__T object>
uncertainty = <pyrocko.guts.Int.__T object>
lower_uncertainty = <pyrocko.guts.Int.__T object>
upper_uncertainty = <pyrocko.guts.Int.__T object>
confidence_level = <pyrocko.guts.Float.__T object>
class ConfidenceEllipsoid(**kwargs)[source]

Undocumented.

semi_major_axis_length

float

semi_minor_axis_length

float

semi_intermediate_axis_length

float

major_axis_plunge

float

major_axis_azimuth

float

major_axis_rotation

float

semi_major_axis_length = <pyrocko.guts.Float.__T object>
semi_minor_axis_length = <pyrocko.guts.Float.__T object>
semi_intermediate_axis_length = <pyrocko.guts.Float.__T object>
major_axis_plunge = <pyrocko.guts.Float.__T object>
major_axis_azimuth = <pyrocko.guts.Float.__T object>
major_axis_rotation = <pyrocko.guts.Float.__T object>
class TimeQuantity(**kwargs)[source]

Undocumented.

value

builtins.float (pyrocko.guts.Timestamp)

uncertainty

float, optional

lower_uncertainty

float, optional

upper_uncertainty

float, optional

confidence_level

float, optional

value = <pyrocko.guts.Timestamp.__T object>
uncertainty = <pyrocko.guts.Float.__T object>
lower_uncertainty = <pyrocko.guts.Float.__T object>
upper_uncertainty = <pyrocko.guts.Float.__T object>
confidence_level = <pyrocko.guts.Float.__T object>
class TimeWindow(**kwargs)[source]

Undocumented.

begin

float

end

float

reference

builtins.float (pyrocko.guts.Timestamp)

begin = <pyrocko.guts.Float.__T object>
end = <pyrocko.guts.Float.__T object>
reference = <pyrocko.guts.Timestamp.__T object>
class ResourceReference(dummy) → str[source]

Any str matching pattern "^(smi|quakeml):[\\w\\d][\\w\\d\\-\\.\\*\\(\\)_~']{2,}/[\\w\\d\\-\\.\\*\\(\\)_~'][\\w\\d\\-\\.\\*\\(\\)\\+\\?_~'=,;#/&]*$".

class DataUsed(**kwargs)[source]

Undocumented.

wave_type

builtins.str (DataUsedWaveType)

station_count

int, optional

component_count

int, optional

shortest_period

float, optional

longest_period

float, optional

wave_type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
station_count = <pyrocko.guts.Int.__T object>
component_count = <pyrocko.guts.Int.__T object>
shortest_period = <pyrocko.guts.Float.__T object>
longest_period = <pyrocko.guts.Float.__T object>
class EventDescription(**kwargs)[source]

Undocumented.

text

str

type

builtins.str (EventDescriptionType), optional

text = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class SourceTimeFunction(**kwargs)[source]

Undocumented.

type

builtins.str (SourceTimeFunctionType)

duration

float

rise_time

float, optional

decay_time

float, optional

type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
duration = <pyrocko.guts.Float.__T object>
rise_time = <pyrocko.guts.Float.__T object>
decay_time = <pyrocko.guts.Float.__T object>
class OriginQuality(**kwargs)[source]

Undocumented.

associated_phase_count

int, optional

used_phase_count

int, optional

associated_station_count

int, optional

used_station_count

int, optional

depth_phase_count

int, optional

standard_error

float, optional

azimuthal_gap

float, optional

secondary_azimuthal_gap

float, optional

ground_truth_level

builtins.str (GroundTruthLevel), optional

maximum_distance

float, optional

minimum_distance

float, optional

median_distance

float, optional

associated_phase_count = <pyrocko.guts.Int.__T object>
used_phase_count = <pyrocko.guts.Int.__T object>
associated_station_count = <pyrocko.guts.Int.__T object>
used_station_count = <pyrocko.guts.Int.__T object>
depth_phase_count = <pyrocko.guts.Int.__T object>
standard_error = <pyrocko.guts.Float.__T object>
azimuthal_gap = <pyrocko.guts.Float.__T object>
secondary_azimuthal_gap = <pyrocko.guts.Float.__T object>
ground_truth_level = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
maximum_distance = <pyrocko.guts.Float.__T object>
minimum_distance = <pyrocko.guts.Float.__T object>
median_distance = <pyrocko.guts.Float.__T object>
class Axis(**kwargs)[source]

Undocumented.

azimuth

RealQuantity

plunge

RealQuantity

length

RealQuantity

azimuth = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
plunge = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
length = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Tensor(**kwargs)[source]

Undocumented.

mrr

RealQuantity

mtt

RealQuantity

mpp

RealQuantity

mrt

RealQuantity

mrp

RealQuantity

mtp

RealQuantity

mrr = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mtt = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mpp = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mrt = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mrp = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mtp = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class NodalPlane(**kwargs)[source]

Undocumented.

strike

RealQuantity

dip

RealQuantity

rake

RealQuantity

strike = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
dip = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
rake = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class CompositeTime(**kwargs)[source]

Undocumented.

year

IntegerQuantity, optional

month

IntegerQuantity, optional

day

IntegerQuantity, optional

hour

IntegerQuantity, optional

minute

IntegerQuantity, optional

second

RealQuantity, optional

year = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
month = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
day = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
hour = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
minute = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
second = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class OriginUncertainty(**kwargs)[source]

Undocumented.

horizontal_uncertainty

float, optional

min_horizontal_uncertainty

float, optional

max_horizontal_uncertainty

float, optional

azimuth_max_horizontal_uncertainty

float, optional

confidence_ellipsoid

ConfidenceEllipsoid, optional

preferred_description

builtins.str (OriginUncertaintyDescription), optional

confidence_level

float, optional

horizontal_uncertainty = <pyrocko.guts.Float.__T object>
min_horizontal_uncertainty = <pyrocko.guts.Float.__T object>
max_horizontal_uncertainty = <pyrocko.guts.Float.__T object>
azimuth_max_horizontal_uncertainty = <pyrocko.guts.Float.__T object>
confidence_ellipsoid = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
preferred_description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
confidence_level = <pyrocko.guts.Float.__T object>
class ResourceReferenceOptional(dummy) → str[source]

Undocumented.

members = [<pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>, <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>]
class CreationInfo(**kwargs)[source]

Undocumented.

agency_id

builtins.str (AgencyID), optional

agency_uri

builtins.str (ResourceReference), optional

author

builtins.str (Author), optional

author_uri

builtins.str (ResourceReference), optional

creation_time

builtins.float (pyrocko.guts.Timestamp), optional

version

builtins.str (Version), optional

agency_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
agency_uri = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
author = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
author_uri = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_time = <pyrocko.guts.Timestamp.__T object>
version = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class StationMagnitudeContribution(**kwargs)[source]

Undocumented.

station_magnitude_id

builtins.str (ResourceReference)

residual

float, optional

weight

float, optional

station_magnitude_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
residual = <pyrocko.guts.Float.__T object>
weight = <pyrocko.guts.Float.__T object>
class PrincipalAxes(**kwargs)[source]

Undocumented.

t_axis

Axis

p_axis

Axis

n_axis

Axis, optional

t_axis = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
p_axis = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
n_axis = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class NodalPlanes(**kwargs)[source]

Undocumented.

preferred_plane

int, optional

nodal_plane1

NodalPlane, optional

nodal_plane2

NodalPlane, optional

preferred_plane = <pyrocko.guts.Int.__T object>
nodal_plane1 = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
nodal_plane2 = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class WaveformStreamID(**kwargs)[source]

Undocumented.

value

builtins.str (ResourceReferenceOptional)

network_code

builtins.str (AnonymousNetworkCode)

station_code

builtins.str (AnonymousStationCode)

channel_code

builtins.str (AnonymousChannelCode), optional

location_code

builtins.str (AnonymousLocationCode), optional

value = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
network_code = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
station_code = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
channel_code = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
location_code = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Comment(**kwargs)[source]

Undocumented.

id

builtins.str (ResourceReference), optional

text

str

creation_info

CreationInfo, optional

id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
text = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class MomentTensor(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

data_used_list

list of DataUsed objects, default: []

comment_list

list of Comment objects, default: []

derived_origin_id

builtins.str (ResourceReference), optional

moment_magnitude_id

builtins.str (ResourceReference), optional

scalar_moment

RealQuantity, optional

tensor

Tensor, optional

variance

float, optional

variance_reduction

float, optional

double_couple

float, optional

clvd

float, optional

iso

float, optional

greens_function_id

builtins.str (ResourceReference), optional

filter_id

builtins.str (ResourceReference), optional

source_time_function

SourceTimeFunction, optional

method_id

builtins.str (ResourceReference), optional

category

builtins.str (MomentTensorCategory), optional

inversion_type

builtins.str (MTInversionType), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
data_used_list = <pyrocko.guts.List.__T object>
comment_list = <pyrocko.guts.List.__T object>
derived_origin_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
moment_magnitude_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
scalar_moment = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
tensor = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
variance = <pyrocko.guts.Float.__T object>
variance_reduction = <pyrocko.guts.Float.__T object>
double_couple = <pyrocko.guts.Float.__T object>
clvd = <pyrocko.guts.Float.__T object>
iso = <pyrocko.guts.Float.__T object>
greens_function_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
filter_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
source_time_function = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
category = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
inversion_type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
pyrocko_moment_tensor()[source]
class Amplitude(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

generic_amplitude

RealQuantity

type

builtins.str (Type), optional

category

builtins.str (AmplitudeCategory), optional

unit

builtins.str (AmplitudeUnit), optional

method_id

builtins.str (ResourceReference), optional

period

RealQuantity, optional

snr

float, optional

time_window

TimeWindow, optional

pick_id

builtins.str (ResourceReference), optional

waveform_id

WaveformStreamID, optional

filter_id

builtins.str (ResourceReference), optional

scaling_time

TimeQuantity, optional

magnitude_hint

builtins.str (MagnitudeHint), optional

evaluation_mode

builtins.str (EvaluationMode), optional

evaluation_status

builtins.str (EvaluationStatus), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
generic_amplitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
category = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
unit = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
period = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
snr = <pyrocko.guts.Float.__T object>
time_window = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
pick_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
waveform_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
filter_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
scaling_time = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
magnitude_hint = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_mode = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Magnitude(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

station_magnitude_contribution_list

list of StationMagnitudeContribution objects, default: []

mag

RealQuantity

type

builtins.str (Type), optional

origin_id

builtins.str (ResourceReference), optional

method_id

builtins.str (ResourceReference), optional

station_count

int, optional

azimuthal_gap

float, optional

evaluation_mode

builtins.str (EvaluationMode), optional

evaluation_status

builtins.str (EvaluationStatus), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
station_magnitude_contribution_list = <pyrocko.guts.List.__T object>
mag = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
origin_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
station_count = <pyrocko.guts.Int.__T object>
azimuthal_gap = <pyrocko.guts.Float.__T object>
evaluation_mode = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class StationMagnitude(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

origin_id

builtins.str (ResourceReference), optional

mag

RealQuantity

type

builtins.str (Type), optional

amplitude_id

builtins.str (ResourceReference), optional

method_id

builtins.str (ResourceReference), optional

waveform_id

WaveformStreamID, optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
origin_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
mag = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
amplitude_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
waveform_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Arrival(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

pick_id

builtins.str (ResourceReference)

phase

Phase

time_correction

float, optional

azimuth

float, optional

distance

float, optional

takeoff_angle

RealQuantity, optional

time_residual

float, optional

horizontal_slowness_residual

float, optional

backazimuth_residual

float, optional

time_weight

float, optional

time_used

int, optional

horizontal_slowness_weight

float, optional

backazimuth_weight

float, optional

earth_model_id

builtins.str (ResourceReference), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
pick_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
phase = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
time_correction = <pyrocko.guts.Float.__T object>
azimuth = <pyrocko.guts.Float.__T object>
distance = <pyrocko.guts.Float.__T object>
takeoff_angle = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
time_residual = <pyrocko.guts.Float.__T object>
horizontal_slowness_residual = <pyrocko.guts.Float.__T object>
backazimuth_residual = <pyrocko.guts.Float.__T object>
time_weight = <pyrocko.guts.Float.__T object>
time_used = <pyrocko.guts.Int.__T object>
horizontal_slowness_weight = <pyrocko.guts.Float.__T object>
backazimuth_weight = <pyrocko.guts.Float.__T object>
earth_model_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Pick(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

time

TimeQuantity

waveform_id

WaveformStreamID

filter_id

builtins.str (ResourceReference), optional

method_id

builtins.str (ResourceReference), optional

horizontal_slowness

RealQuantity, optional

backazimuth

RealQuantity, optional

slowness_method_id

builtins.str (ResourceReference), optional

onset

builtins.str (PickOnset), optional

phase_hint

Phase, optional

polarity

builtins.str (PickPolarity), optional

evaluation_mode

builtins.str (EvaluationMode), optional

evaluation_status

builtins.str (EvaluationStatus), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
time = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
waveform_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
filter_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
horizontal_slowness = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
backazimuth = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
slowness_method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
onset = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
phase_hint = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
polarity = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_mode = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class FocalMechanism(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

waveform_id_list

list of WaveformStreamID objects, default: []

comment_list

list of Comment objects, default: []

moment_tensor_list

list of MomentTensor objects, default: []

triggering_origin_id

builtins.str (ResourceReference), optional

nodal_planes

NodalPlanes, optional

principal_axes

PrincipalAxes, optional

azimuthal_gap

float, optional

station_polarity_count

int, optional

misfit

float, optional

station_distribution_ratio

float, optional

method_id

builtins.str (ResourceReference), optional

evaluation_mode

builtins.str (EvaluationMode), optional

evaluation_status

builtins.str (EvaluationStatus), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
waveform_id_list = <pyrocko.guts.List.__T object>
comment_list = <pyrocko.guts.List.__T object>
moment_tensor_list = <pyrocko.guts.List.__T object>
triggering_origin_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
nodal_planes = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
principal_axes = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
azimuthal_gap = <pyrocko.guts.Float.__T object>
station_polarity_count = <pyrocko.guts.Int.__T object>
misfit = <pyrocko.guts.Float.__T object>
station_distribution_ratio = <pyrocko.guts.Float.__T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_mode = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Origin(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

composite_time_list

list of CompositeTime objects, default: []

comment_list

list of Comment objects, default: []

origin_uncertainty_list

list of OriginUncertainty objects, default: []

arrival_list

list of Arrival objects, default: []

time

TimeQuantity

longitude

RealQuantity

latitude

RealQuantity

depth

RealQuantity, optional

depth_type

builtins.str (OriginDepthType), optional

time_fixed

bool, optional

epicenter_fixed

bool, optional

reference_system_id

builtins.str (ResourceReference), optional

method_id

builtins.str (ResourceReference), optional

earth_model_id

builtins.str (ResourceReference), optional

quality

OriginQuality, optional

type

builtins.str (OriginType), optional

region

builtins.str (Region), optional

evaluation_mode

builtins.str (EvaluationMode), optional

evaluation_status

builtins.str (EvaluationStatus), optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
composite_time_list = <pyrocko.guts.List.__T object>
comment_list = <pyrocko.guts.List.__T object>
origin_uncertainty_list = <pyrocko.guts.List.__T object>
arrival_list = <pyrocko.guts.List.__T object>
time = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
longitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
latitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
depth = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
depth_type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
time_fixed = <pyrocko.guts.Bool.__T object>
epicenter_fixed = <pyrocko.guts.Bool.__T object>
reference_system_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
method_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
earth_model_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
quality = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
region = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_mode = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
evaluation_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
position_values()[source]
pyrocko_event()[source]
class Event(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

description_list

list of EventDescription objects, default: []

comment_list

list of Comment objects, default: []

focal_mechanism_list

list of FocalMechanism objects, default: []

amplitude_list

list of Amplitude objects, default: []

magnitude_list

list of Magnitude objects, default: []

station_magnitude_list

list of StationMagnitude objects, default: []

origin_list

list of Origin objects, default: []

pick_list

list of Pick objects, default: []

preferred_origin_id

builtins.str (ResourceReference), optional

preferred_magnitude_id

builtins.str (ResourceReference), optional

preferred_focal_mechanism_id

builtins.str (ResourceReference), optional

type

builtins.str (EventType), optional

type_certainty

builtins.str (EventTypeCertainty), optional

creation_info

CreationInfo, optional

region

builtins.str (Region), optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
description_list = <pyrocko.guts.List.__T object>
comment_list = <pyrocko.guts.List.__T object>
focal_mechanism_list = <pyrocko.guts.List.__T object>
amplitude_list = <pyrocko.guts.List.__T object>
magnitude_list = <pyrocko.guts.List.__T object>
station_magnitude_list = <pyrocko.guts.List.__T object>
origin_list = <pyrocko.guts.List.__T object>
pick_list = <pyrocko.guts.List.__T object>
preferred_origin_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
preferred_magnitude_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
preferred_focal_mechanism_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type_certainty = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
region = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
pyrocko_event()[source]

Convert into Pyrocko event object.

Considers only the preferred origin, magnitude, and moment tensor.

get_effective_region()[source]
preferred_origin
preferred_magnitude
preferred_focal_mechanism
class EventParameters(**kwargs)[source]

Undocumented.

public_id

builtins.str (ResourceReference)

comment_list

list of Comment objects, default: []

event_list

list of Event objects, default: []

description

str, optional

creation_info

CreationInfo, optional

public_id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
event_list = <pyrocko.guts.List.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
creation_info = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class QuakeML(**kwargs)[source]

Undocumented.

event_parameters

EventParameters, optional

xmltagname = 'quakeml'
xmlns = 'http://quakeml.org/xmlns/quakeml/1.2'
guessable_xmlns = ['http://quakeml.org/xmlns/quakeml/1.2', 'http://quakeml.org/xmlns/bed/1.2']
event_parameters = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
get_pyrocko_events()[source]

Extract a list of pyrocko.model.Event instances

classmethod load_xml(*args, **kwargs)[source]