# Source code for obspy.core.event.header

    # -*- coding: utf-8 -*-
    """
    obspy.core.event.header - Enumeration types for event-type classes
    ==================================================================
    This module provides enumerations defined in the
    `QuakeML <https://quake.ethz.ch/quakeml/>`_ standard.

    :copyright:
        The ObsPy Development Team (devs@obspy.org)
    :license:
        GNU Lesser General Public License, Version 3
        (http://www.gnu.org/copyleft/lesser.html)
    """
    from __future__ import (absolute_import, division, print_function,
                            unicode_literals)
    from future.builtins import *  # NOQA

    from obspy.core.util import Enum

    ATTRIBUTE_HAS_ERRORS = True

    AmplitudeCategory = Enum([
        "point",
        "mean",
        "duration",
        "period",
        "integral",
        "other",
    ])
    """
    Amplitude category.  This attribute describes the way the
    waveform trace is evaluated to derive an amplitude value. This can be
    just reading a single value for a given point in time (point), taking a
    mean value over a time interval (mean), integrating the trace over a
    time interval (integral), specifying just a time interval (duration),
    or evaluating a period (period).
    Allowed values are:

    * ``"point"``
    * ``"mean"``
    * ``"duration"``
    * ``"period"``
    * ``"integral"``
    * ``"other"``
    """

    AmplitudeUnit = Enum([
        "m",
        "s",
        "m/s",
        "m/(s*s)",
        "m*s",
        "dimensionless",
        "other",
    ])
    """
    Amplitude unit. Values are specified as combinations of SI base units.
    Allowed values are:

    * ``"m"``
    * ``"s"``
    * ``"m/s"``
    * ``"m/(s*s)"``
    * ``"m*s"``
    * ``"dimensionless"``
    * ``"other"``
    """

    DataUsedWaveType = Enum([
        "P waves",
        "body waves",
        "surface waves",
        "mantle waves",
        "combined",
        "unknown",
    ])
    """
    Type of waveform data. Allowed values are:

    * ``"P waves"``
    * ``"body waves"``
    * ``"surface waves"``
    * ``"mantle waves"``
    * ``"combined"``
    * ``"unknown"``
    """

    EvaluationMode = Enum([
        "manual",
        "automatic",
    ])
    """
    Evaluation mode. Allowed values are:

    * ``"manual"``
    * ``"automatic"``
    """

    EvaluationStatus = Enum([
        "preliminary",
        "confirmed",
        "reviewed",
        "final",
        "rejected",
    ])
    """
    Evaluation status. Allowed values are:

    * ``"preliminary"``
    * ``"confirmed"``
    * ``"reviewed"``
    * ``"final"``
    * ``"rejected"``
    * ``"reported"``
    """

    EventDescriptionType = Enum([
        "felt report",
        "Flinn-Engdahl region",
        "local time",
        "tectonic summary",
        "nearest cities",
        "earthquake name",
        "region name",
    ])
    """
    Category of earthquake description. Allowed values are:

    * ``"felt report"``
    * ``"Flinn-Engdahl region"``
    * ``"local time"``
    * ``"tectonic summary"``
    * ``"nearest cities"``
    * ``"earthquake name"``
    * ``"region name"``
    """

    EventType = Enum([
        "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",
    ], replace={'other': 'other event'})
    """
    Describes the type of an event. Allowed values are:

    * ``"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"``
    """

    EventTypeCertainty = Enum([
        "known",
        "suspected",
    ])
    """
    Denotes how certain the information on event type is. Allowed values are:

    * ``"suspected"``
    * ``"known"``
    """

    MTInversionType = Enum([
        "general",
        "zero trace",
        "double couple",
    ])
    """
    Moment tensor inversion type. Allowed values are:

    * ``"general"``
    * ``"zero trace"``
    * ``"double couple"``
    """

    MomentTensorCategory = Enum([
        "teleseismic",
        "regional",
    ])
    """
    Moment tensor category. Allowed values are:

    * ``"teleseismic"``
    * ``"regional"``
    """

    OriginDepthType = Enum([
        "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",
    ])
    """
    Type of origin depth determination. Allowed values are:

    * ``"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"``
    """

    OriginType = Enum([
        "hypocenter",
        "centroid",
        "amplitude",
        "macroseismic",
        "rupture start",
        "rupture end",
    ])
    """
    Origin type. Allowed values are:

    * ``"hypocenter"``
    * ``"centroid"``
    * ``"amplitude"``
    * ``"macroseismic"``
    * ``"rupture start"``
    * ``"rupture end"``
    """

    OriginUncertaintyDescription = Enum([
        "horizontal uncertainty",
        "uncertainty ellipse",
        "confidence ellipsoid",
    ])
    """
    Preferred origin uncertainty description. Allowed values are:

    * ``"horizontal uncertainty"``
    * ``"uncertainty ellipse"``
    * ``"confidence ellipsoid"``
    """

    PickOnset = Enum([
        "emergent",
        "impulsive",
        "questionable",
    ])
    """
    Flag that roughly categorizes the sharpness of the pick onset.
    Allowed values are:

    * ``"emergent"``
    * ``"impulsive"``
    * ``"questionable"``
    """

    PickPolarity = Enum([
        "positive",
        "negative",
        "undecidable",
    ])
    """
    Indicates the polarity of first motion, usually from impulsive onsets.
    Allowed values are:

    * ``"positive"``
    * ``"negative"``
    * ``"undecidable"``
    """

    SourceTimeFunctionType = Enum([
        "box car",
        "triangle",
        "trapezoid",
        "unknown",
    ])
    """
    Type of source time function. Allowed values are:

    * ``"box car"``
    * ``"triangle"``
    * ``"trapezoid"``
    * ``"unknown"``
    """

### Thank you!

We would like to thank our contributors, whose efforts make this software what it is. These people have helped by writing code and documentation, and by testing. They have created and maintained this product, its associated libraries and applications, our build tools and our web sites.

#### Contributors

- Ackerley, Nick
- Allgeyer, Sebastien
- Ammon, Charles J.
- Antunes, Emanuel
- Arnarsson, Ólafur St.
- Bank, Markus
- Barsch, Robert
- Behr, Yannik
- Bernardi, Fabrizio
- Bernauer, Felix
- Bes de Berc, Maxime
- Beyreuther, Moritz
- Boltz, Shawn
- Bonaimé, Sébastien
- Carothers, Lloyd
- Chamberlain, Calum
- Chambers, Derrick
- Chen, Zhao
- Clark, Adam
- Danecek, Peter
- Egdorf, Sven
- Engels, Fabian
- Ermert, Laura
- Eulenfeld, Tom

- Fabbri, Tommaso
- Falco, Nicholas
- Fee, Jeremy
- Grellier, Clément
- Grunberg, Marc
- Hammer, Conny
- Heimann, Sebastian
- Heiniger, Lukas
- Hope, Gaute
- Igel, Heiner
- Inza, Adolfo
- Isken, Marius
- Ketchum, David
- Koymans, Mathijs
- Kremers, Simon
- Kress, Victor
- Krieger, Lars
- Krischer, Lion
- Kula, Damian
- Käufl, Paul
- Köhler, Andreas
- Lecocq, Thomas
- Leeman, John
- Legovini, Paride

- Lesage, Philippe
- Li, Yulin
- Lomax, Anthony
- Lopes, Rui L.
- MacCarthy, Jonathan
- Maggi, Alessia
- Martin, Henri
- Medlin, Andrew
- Megies, Tobias
- Meschede, Matthias
- Michelini, Alberto
- Miller, Nathaniel C.
- Morgenstern, Bernhard
- Nof, Ran Novitsky
- Panning, Mark P.
- Parker, Tom
- Pestourie, Romain
- Rapagnani, Giovanni
- Reyes, Celso
- Ringler, Adam
- Rothenhäusler, Nicolas
- Russo, Emiliano
- Sales de Andrade, Elliott

- Satriano, Claudio
- Saul, Joachim
- Scheingraber, Chris
- Schneider, Simon
- Sippl, Christian
- Snoke, Arthur
- Stange, Stefan
- Stähler, Simon C.
- Sullivan, Benjamin
- Tian, Dongdong
- Trabant, Chad
- Trani, Luca
- Uieda, Leonardo
- Walker, Andrew
- Walther, Marcus
- Wassermann, Joachim
- Williams, Mark C.
- Winkelman, Andrew
- Zaccarelli, Riccardo
- Zad, Seyed Kasra Hosseini
- Zhu, Lijun
- van Driel, Martin
- van Wijk, Kasper

#### Funds

ObsPy was partially funded by the

- German Science Foundation (DFG) via grant DFG IG 16/9-1
- German Ministry for Education and Research (BMBF), GEOTECHNOLOGIEN grant 03G0646H.
- NERA project (Network of European Research Infrastructures for Earthquake Risk Assessment and Mitigation) under the European Community's Seventh Framework Programme (FP7/2007-2013) grant agreement n° 262330
- Leibniz Institute for Applied Geophysics (LIAG)
- VERCE EU-FP7 project (no. 283543)