.. _api-datamodel-python: seiscomp3.DataModel =================== .. py:module:: seiscomp3.DataModel Classes ------- * :ref:`Object ` * :ref:`PublicObject ` * :ref:`Notifier ` * :ref:`EventParameters ` * :ref:`Amplitude ` * :ref:`AmplitudeReference ` * :ref:`Arrival ` * :ref:`Axis ` * :ref:`Comment ` * :ref:`CompositeTime ` * :ref:`ConfidenceEllipsoid ` * :ref:`CreationInfo ` * :ref:`DataUsed ` * :ref:`Event ` * :ref:`EventDescription ` * :ref:`FocalMechanism ` * :ref:`FocalMechanismReference ` * :ref:`IntegerQuantity ` * :ref:`Magnitude ` * :ref:`MomentTensor ` * :ref:`MomentTensorComponentContribution ` * :ref:`MomentTensorPhaseSetting ` * :ref:`MomentTensorStationContribution ` * :ref:`NodalPlane ` * :ref:`NodalPlanes ` * :ref:`Origin ` * :ref:`OriginQuality ` * :ref:`OriginReference ` * :ref:`OriginUncertainty ` * :ref:`Phase ` * :ref:`Pick ` * :ref:`PickReference ` * :ref:`PrincipalAxes ` * :ref:`Reading ` * :ref:`RealArray ` * :ref:`RealPDF1D ` * :ref:`RealQuantity ` * :ref:`SourceTimeFunction ` * :ref:`StationMagnitude ` * :ref:`StationMagnitudeContribution ` * :ref:`Tensor ` * :ref:`TimeArray ` * :ref:`TimePDF1D ` * :ref:`TimeQuantity ` * :ref:`TimeWindow ` * :ref:`WaveformStreamID ` .. graphviz:: :caption: EventParameters object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" Pick [label = <
Pick
+ publicID: string
+ time: TimeQuantity
+ waveformID: WaveformStreamID
+ filterID: string
+ methodID: string
+ horizontalSlowness: RealQuantity [0..1]
+ backazimuth: RealQuantity [0..1]
+ slownessMethodID: string
+ onset: PickOnset [0..1]
+ phaseHint: Phase [0..1]
+ polarity: PickPolarity [0..1]
+ evaluationMode: EvaluationMode [0..1]
+ evaluationStatus: EvaluationStatus [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
>] Comment [label = <
Comment
+ text: string
+ id: string
+ start: datetime [0..1]
+ end: datetime [0..1]
+ creationInfo: CreationInfo [0..1]
>] Amplitude [label = <
Amplitude
+ publicID: string
+ type: string
+ amplitude: RealQuantity [0..1]
+ timeWindow: TimeWindow [0..1]
+ period: RealQuantity [0..1]
+ snr: float [0..1]
+ unit: string
+ pickID: string
+ waveformID: WaveformStreamID [0..1]
+ filterID: string
+ methodID: string
+ scalingTime: TimeQuantity [0..1]
+ magnitudeHint: string
+ evaluationMode: EvaluationMode [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
>] Reading [label = <
Reading
+ publicID: string
+ pickReference: PickReference [0..*]
+ amplitudeReference: AmplitudeReference [0..*]
>] PickReference [label = <
PickReference
+ pickID: string
>] AmplitudeReference [label = <
AmplitudeReference
+ amplitudeID: string
>] Origin [label = <
Origin
+ publicID: string
+ time: TimeQuantity
+ latitude: RealQuantity
+ longitude: RealQuantity
+ depth: RealQuantity [0..1]
+ depthType: OriginDepthType [0..1]
+ timeFixed: boolean [0..1]
+ epicenterFixed: boolean [0..1]
+ referenceSystemID: string
+ methodID: string
+ earthModelID: string
+ quality: OriginQuality [0..1]
+ uncertainty: OriginUncertainty [0..1]
+ type: OriginType [0..1]
+ evaluationMode: EvaluationMode [0..1]
+ evaluationStatus: EvaluationStatus [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
+ compositeTime: CompositeTime [0..*]
+ arrival: Arrival [0..*]
+ stationMagnitude: StationMagnitude [0..*]
+ magnitude: Magnitude [0..*]
>] CompositeTime [label = <
CompositeTime
+ year: IntegerQuantity [0..1]
+ month: IntegerQuantity [0..1]
+ day: IntegerQuantity [0..1]
+ hour: IntegerQuantity [0..1]
+ minute: IntegerQuantity [0..1]
+ second: RealQuantity [0..1]
>] Arrival [label = <
Arrival
+ pickID: string
+ phase: Phase
+ timeCorrection: float [0..1]
+ azimuth: float [0..1]
+ distance: float [0..1]
+ takeOffAngle: float [0..1]
+ timeResidual: float [0..1]
+ horizontalSlownessResidual: float [0..1]
+ backazimuthResidual: float [0..1]
+ timeUsed: boolean [0..1]
+ horizontalSlownessUsed: boolean [0..1]
+ backazimuthUsed: boolean [0..1]
+ weight: float [0..1]
+ earthModelID: string
+ preliminary: boolean [0..1]
+ creationInfo: CreationInfo [0..1]
>] StationMagnitude [label = <
StationMagnitude
+ publicID: string
+ originID: string
+ magnitude: RealQuantity
+ type: string
+ amplitudeID: string
+ methodID: string
+ waveformID: WaveformStreamID [0..1]
+ passedQC: boolean [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
>] Magnitude [label = <
Magnitude
+ publicID: string
+ magnitude: RealQuantity
+ type: string
+ originID: string
+ methodID: string
+ stationCount: int [0..1]
+ azimuthalGap: float [0..1]
+ evaluationStatus: EvaluationStatus [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
+ stationMagnitudeContribution: StationMagnitudeContribution [0..*]
>] StationMagnitudeContribution [label = <
StationMagnitudeContribution
+ stationMagnitudeID: string
+ residual: float [0..1]
+ weight: float [0..1]
>] FocalMechanism [label = <
FocalMechanism
+ publicID: string
+ triggeringOriginID: string
+ nodalPlanes: NodalPlanes [0..1]
+ principalAxes: PrincipalAxes [0..1]
+ azimuthalGap: float [0..1]
+ stationPolarityCount: int [0..1]
+ misfit: float [0..1]
+ stationDistributionRatio: float [0..1]
+ methodID: string
+ evaluationMode: EvaluationMode [0..1]
+ evaluationStatus: EvaluationStatus [0..1]
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
+ momentTensor: MomentTensor [0..*]
>] MomentTensor [label = <
MomentTensor
+ publicID: string
+ derivedOriginID: string
+ momentMagnitudeID: string
+ scalarMoment: RealQuantity [0..1]
+ tensor: Tensor [0..1]
+ variance: float [0..1]
+ varianceReduction: float [0..1]
+ doubleCouple: float [0..1]
+ clvd: float [0..1]
+ iso: float [0..1]
+ greensFunctionID: string
+ filterID: string
+ sourceTimeFunction: SourceTimeFunction [0..1]
+ methodID: string
+ method: MomentTensorMethod [0..1]
+ status: MomentTensorStatus [0..1]
+ cmtName: string
+ cmtVersion: string
+ creationInfo: CreationInfo [0..1]
+ comment: Comment [0..*]
+ dataUsed: DataUsed [0..*]
+ momentTensorPhaseSetting: MomentTensorPhaseSetting [0..*]
+ momentTensorStationContribution: MomentTensorStationContribution [0..*]
>] DataUsed [label = <
DataUsed
+ waveType: DataUsedWaveType
+ stationCount: int
+ componentCount: int
+ shortestPeriod: float [0..1]
>] MomentTensorPhaseSetting [label = <
MomentTensorPhaseSetting
+ code: string
+ lowerPeriod: float
+ upperPeriod: float
+ minimumSNR: float [0..1]
+ maximumTimeShift: float [0..1]
>] MomentTensorStationContribution [label = <
MomentTensorStationContribution
+ publicID: string
+ active: boolean
+ waveformID: WaveformStreamID [0..1]
+ weight: float [0..1]
+ timeShift: float [0..1]
+ momentTensorComponentContribution: MomentTensorComponentContribution [0..*]
>] MomentTensorComponentContribution [label = <
MomentTensorComponentContribution
+ phaseCode: string
+ component: int
+ active: boolean
+ weight: float
+ timeShift: float
+ dataTimeWindow: float
+ misfit: float [0..1]
+ snr: float [0..1]
>] Event [label = <
Event
+ publicID: string
+ preferredOriginID: string
+ preferredMagnitudeID: string
+ preferredFocalMechanismID: string
+ type: EventType [0..1]
+ typeCertainty: EventTypeCertainty [0..1]
+ creationInfo: CreationInfo [0..1]
+ eventDescription: EventDescription [0..*]
+ comment: Comment [0..*]
+ originReference: OriginReference [0..*]
+ focalMechanismReference: FocalMechanismReference [0..*]
>] EventDescription [label = <
EventDescription
+ text: string
+ type: EventDescriptionType
>] OriginReference [label = <
OriginReference
+ originID: string
>] FocalMechanismReference [label = <
FocalMechanismReference
+ focalMechanismID: string
>] EventParameters -> Pick MomentTensor -> Comment FocalMechanism -> Comment Amplitude -> Comment Magnitude -> Comment StationMagnitude -> Comment Pick -> Comment Event -> Comment Origin -> Comment EventParameters -> Amplitude EventParameters -> Reading Reading -> PickReference Reading -> AmplitudeReference EventParameters -> Origin Origin -> CompositeTime Origin -> Arrival Origin -> StationMagnitude Origin -> Magnitude Magnitude -> StationMagnitudeContribution EventParameters -> FocalMechanism FocalMechanism -> MomentTensor MomentTensor -> DataUsed MomentTensor -> MomentTensorPhaseSetting MomentTensor -> MomentTensorStationContribution MomentTensorStationContribution -> MomentTensorComponentContribution EventParameters -> Event Event -> EventDescription Event -> OriginReference Event -> FocalMechanismReference } * :ref:`Config ` * :ref:`Comment ` * :ref:`ConfigModule ` * :ref:`ConfigStation ` * :ref:`CreationInfo ` * :ref:`Parameter ` * :ref:`ParameterSet ` * :ref:`Setup ` .. graphviz:: :caption: Config object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" ParameterSet [label = <
ParameterSet
+ publicID: string
+ baseID: string
+ moduleID: string
+ created: datetime [0..1]
+ parameter: Parameter [0..*]
+ comment: Comment [0..*]
>] Parameter [label = <
Parameter
+ publicID: string
+ name: string
+ value: string
+ comment: Comment [0..*]
>] Comment [label = <
Comment
+ text: string
+ id: string
+ start: datetime [0..1]
+ end: datetime [0..1]
+ creationInfo: CreationInfo [0..1]
>] ConfigModule [label = <
ConfigModule
+ publicID: string
+ name: string
+ parameterSetID: string
+ enabled: boolean
+ configStation: ConfigStation [0..*]
>] ConfigStation [label = <
ConfigStation
+ publicID: string
+ networkCode: string
+ stationCode: string
+ enabled: boolean
+ creationInfo: CreationInfo [0..1]
+ setup: Setup [0..*]
>] Setup [label = <
Setup
+ name: string
+ parameterSetID: string
+ enabled: boolean
>] Config -> ParameterSet ParameterSet -> Parameter Parameter -> Comment ParameterSet -> Comment Config -> ConfigModule ConfigModule -> ConfigStation ConfigStation -> Setup } * :ref:`QualityControl ` * :ref:`Outage ` * :ref:`QCLog ` * :ref:`WaveformQuality ` * :ref:`WaveformStreamID ` .. graphviz:: :caption: QualityControl object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" QCLog [label = <
QCLog
+ publicID: string
+ waveformID: WaveformStreamID
+ creatorID: string
+ created: datetime
+ start: datetime
+ end: datetime
+ message: string
>] WaveformQuality [label = <
WaveformQuality
+ waveformID: WaveformStreamID
+ creatorID: string
+ created: datetime
+ start: datetime
+ end: datetime [0..1]
+ type: string
+ parameter: string
+ value: float
+ lowerUncertainty: float [0..1]
+ upperUncertainty: float [0..1]
+ windowLength: float [0..1]
>] Outage [label = <
Outage
+ waveformID: WaveformStreamID
+ creatorID: string
+ created: datetime
+ start: datetime
+ end: datetime [0..1]
>] QualityControl -> QCLog QualityControl -> WaveformQuality QualityControl -> Outage } * :ref:`Inventory ` * :ref:`AuxDevice ` * :ref:`AuxSource ` * :ref:`AuxStream ` * :ref:`Blob ` * :ref:`Comment ` * :ref:`ComplexArray ` * :ref:`CreationInfo ` * :ref:`Datalogger ` * :ref:`DataloggerCalibration ` * :ref:`Decimation ` * :ref:`Network ` * :ref:`RealArray ` * :ref:`ResponseFAP ` * :ref:`ResponseFIR ` * :ref:`ResponseIIR ` * :ref:`ResponsePAZ ` * :ref:`ResponsePolynomial ` * :ref:`Sensor ` * :ref:`SensorCalibration ` * :ref:`SensorLocation ` * :ref:`Station ` * :ref:`StationGroup ` * :ref:`StationReference ` * :ref:`Stream ` .. graphviz:: :caption: Inventory object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" StationGroup [label = <
StationGroup
+ publicID: string
+ type: StationGroupType [0..1]
+ code: string
+ start: datetime [0..1]
+ end: datetime [0..1]
+ description: string
+ latitude: float [0..1]
+ longitude: float [0..1]
+ elevation: float [0..1]
+ stationReference: StationReference [0..*]
>] StationReference [label = <
StationReference
+ stationID: string
>] AuxDevice [label = <
AuxDevice
+ publicID: string
+ name: string
+ description: string
+ model: string
+ manufacturer: string
+ remark: Blob [0..1]
+ auxSource: AuxSource [0..*]
>] AuxSource [label = <
AuxSource
+ name: string
+ description: string
+ unit: string
+ conversion: string
+ sampleRateNumerator: int [0..1]
+ sampleRateDenominator: int [0..1]
+ remark: Blob [0..1]
>] Sensor [label = <
Sensor
+ publicID: string
+ name: string
+ description: string
+ model: string
+ manufacturer: string
+ type: string
+ unit: string
+ lowFrequency: float [0..1]
+ highFrequency: float [0..1]
+ response: string
+ remark: Blob [0..1]
+ sensorCalibration: SensorCalibration [0..*]
>] SensorCalibration [label = <
SensorCalibration
+ serialNumber: string
+ channel: int
+ start: datetime
+ end: datetime [0..1]
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ remark: Blob [0..1]
>] Datalogger [label = <
Datalogger
+ publicID: string
+ name: string
+ description: string
+ digitizerModel: string
+ digitizerManufacturer: string
+ recorderModel: string
+ recorderManufacturer: string
+ clockModel: string
+ clockManufacturer: string
+ clockType: string
+ gain: float [0..1]
+ maxClockDrift: float [0..1]
+ remark: Blob [0..1]
+ dataloggerCalibration: DataloggerCalibration [0..*]
+ decimation: Decimation [0..*]
>] DataloggerCalibration [label = <
DataloggerCalibration
+ serialNumber: string
+ channel: int
+ start: datetime
+ end: datetime [0..1]
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ remark: Blob [0..1]
>] Decimation [label = <
Decimation
+ sampleRateNumerator: int
+ sampleRateDenominator: int
+ analogueFilterChain: Blob [0..1]
+ digitalFilterChain: Blob [0..1]
>] ResponsePAZ [label = <
ResponsePAZ
+ publicID: string
+ name: string
+ type: string
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ normalizationFactor: float [0..1]
+ normalizationFrequency: float [0..1]
+ numberOfZeros: int [0..1]
+ numberOfPoles: int [0..1]
+ zeros: ComplexArray [0..1]
+ poles: ComplexArray [0..1]
+ remark: Blob [0..1]
+ decimationFactor: int [0..1]
+ delay: float [0..1]
+ correction: float [0..1]
>] ResponseFIR [label = <
ResponseFIR
+ publicID: string
+ name: string
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ decimationFactor: int [0..1]
+ delay: float [0..1]
+ correction: float [0..1]
+ numberOfCoefficients: int [0..1]
+ symmetry: string
+ coefficients: RealArray [0..1]
+ remark: Blob [0..1]
>] ResponseIIR [label = <
ResponseIIR
+ publicID: string
+ name: string
+ type: string
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ decimationFactor: int [0..1]
+ delay: float [0..1]
+ correction: float [0..1]
+ numberOfNumerators: int [0..1]
+ numberOfDenominators: int [0..1]
+ numerators: RealArray [0..1]
+ denominators: RealArray [0..1]
+ remark: Blob [0..1]
>] ResponsePolynomial [label = <
ResponsePolynomial
+ publicID: string
+ name: string
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ frequencyUnit: string
+ approximationType: string
+ approximationLowerBound: float [0..1]
+ approximationUpperBound: float [0..1]
+ approximationError: float [0..1]
+ numberOfCoefficients: int [0..1]
+ coefficients: RealArray [0..1]
+ remark: Blob [0..1]
>] ResponseFAP [label = <
ResponseFAP
+ publicID: string
+ name: string
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ numberOfTuples: int [0..1]
+ tuples: RealArray [0..1]
+ remark: Blob [0..1]
>] Network [label = <
Network
+ publicID: string
+ code: string
+ start: datetime
+ end: datetime [0..1]
+ description: string
+ institutions: string
+ region: string
+ type: string
+ netClass: string
+ archive: string
+ restricted: boolean [0..1]
+ shared: boolean [0..1]
+ remark: Blob [0..1]
+ comment: Comment [0..*]
+ station: Station [0..*]
>] Comment [label = <
Comment
+ text: string
+ id: string
+ start: datetime [0..1]
+ end: datetime [0..1]
+ creationInfo: CreationInfo [0..1]
>] Station [label = <
Station
+ publicID: string
+ code: string
+ start: datetime
+ end: datetime [0..1]
+ description: string
+ latitude: float [0..1]
+ longitude: float [0..1]
+ elevation: float [0..1]
+ place: string
+ country: string
+ affiliation: string
+ type: string
+ archive: string
+ archiveNetworkCode: string
+ restricted: boolean [0..1]
+ shared: boolean [0..1]
+ remark: Blob [0..1]
+ comment: Comment [0..*]
+ sensorLocation: SensorLocation [0..*]
>] SensorLocation [label = <
SensorLocation
+ publicID: string
+ code: string
+ start: datetime
+ end: datetime [0..1]
+ latitude: float [0..1]
+ longitude: float [0..1]
+ elevation: float [0..1]
+ comment: Comment [0..*]
+ auxStream: AuxStream [0..*]
+ stream: Stream [0..*]
>] AuxStream [label = <
AuxStream
+ code: string
+ start: datetime
+ end: datetime [0..1]
+ device: string
+ deviceSerialNumber: string
+ source: string
+ format: string
+ flags: string
+ restricted: boolean [0..1]
+ shared: boolean [0..1]
>] Stream [label = <
Stream
+ publicID: string
+ code: string
+ start: datetime
+ end: datetime [0..1]
+ datalogger: string
+ dataloggerSerialNumber: string
+ dataloggerChannel: int [0..1]
+ sensor: string
+ sensorSerialNumber: string
+ sensorChannel: int [0..1]
+ clockSerialNumber: string
+ sampleRateNumerator: int [0..1]
+ sampleRateDenominator: int [0..1]
+ depth: float [0..1]
+ azimuth: float [0..1]
+ dip: float [0..1]
+ gain: float [0..1]
+ gainFrequency: float [0..1]
+ gainUnit: string
+ format: string
+ flags: string
+ restricted: boolean [0..1]
+ shared: boolean [0..1]
+ comment: Comment [0..*]
>] Inventory -> StationGroup StationGroup -> StationReference Inventory -> AuxDevice AuxDevice -> AuxSource Inventory -> Sensor Sensor -> SensorCalibration Inventory -> Datalogger Datalogger -> DataloggerCalibration Datalogger -> Decimation Inventory -> ResponsePAZ Inventory -> ResponseFIR Inventory -> ResponseIIR Inventory -> ResponsePolynomial Inventory -> ResponseFAP Inventory -> Network Stream -> Comment SensorLocation -> Comment Station -> Comment Network -> Comment Network -> Station Station -> SensorLocation SensorLocation -> AuxStream SensorLocation -> Stream } * :ref:`Routing ` * :ref:`Access ` * :ref:`Route ` * :ref:`RouteArclink ` * :ref:`RouteSeedlink ` .. graphviz:: :caption: Routing object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" Route [label = <
Route
+ publicID: string
+ networkCode: string
+ stationCode: string
+ locationCode: string
+ streamCode: string
+ routeArclink: RouteArclink [0..*]
+ routeSeedlink: RouteSeedlink [0..*]
>] RouteArclink [label = <
RouteArclink
+ address: string
+ start: datetime
+ end: datetime [0..1]
+ priority: int [0..1]
>] RouteSeedlink [label = <
RouteSeedlink
+ address: string
+ priority: int [0..1]
>] Access [label = <
Access
+ networkCode: string
+ stationCode: string
+ locationCode: string
+ streamCode: string
+ user: string
+ start: datetime
+ end: datetime [0..1]
>] Routing -> Route Route -> RouteArclink Route -> RouteSeedlink Routing -> Access } * :ref:`Journaling ` * :ref:`JournalEntry ` .. graphviz:: :caption: Journaling object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" JournalEntry [label = <
JournalEntry
+ created: datetime [0..1]
+ objectID: string
+ sender: string
+ action: string
+ parameters: string
>] Journaling -> JournalEntry } * :ref:`ArclinkLog ` * :ref:`ArclinkRequest ` * :ref:`ArclinkRequestLine ` * :ref:`ArclinkRequestSummary ` * :ref:`ArclinkStatusLine ` * :ref:`ArclinkUser ` * :ref:`WaveformStreamID ` .. graphviz:: :caption: ArclinkLog object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" ArclinkRequest [label = <
ArclinkRequest
+ publicID: string
+ requestID: string
+ userID: string
+ userIP: string
+ clientID: string
+ clientIP: string
+ type: string
+ created: datetime
+ status: string
+ message: string
+ label: string
+ header: string
+ summary: ArclinkRequestSummary [0..1]
+ arclinkStatusLine: ArclinkStatusLine [0..*]
+ arclinkRequestLine: ArclinkRequestLine [0..*]
>] ArclinkStatusLine [label = <
ArclinkStatusLine
+ type: string
+ status: string
+ size: int [0..1]
+ message: string
+ volumeID: string
>] ArclinkRequestLine [label = <
ArclinkRequestLine
+ start: datetime
+ end: datetime
+ streamID: WaveformStreamID
+ restricted: boolean [0..1]
+ shared: boolean [0..1]
+ netClass: string
+ constraints: string
+ status: ArclinkStatusLine
>] ArclinkUser [label = <
ArclinkUser
+ publicID: string
+ name: string
+ email: string
+ password: string
>] ArclinkLog -> ArclinkRequest ArclinkRequest -> ArclinkStatusLine ArclinkRequest -> ArclinkRequestLine ArclinkLog -> ArclinkUser } * :ref:`DataAvailability ` * :ref:`DataAttributeExtent ` * :ref:`DataExtent ` * :ref:`DataSegment ` * :ref:`WaveformStreamID ` .. graphviz:: :caption: DataAvailability object connections from parent to child. digraph G { graph [size="8, 100"] node [fontname=Verdana,fontsize=8] node [shape=plaintext] node [penwidth=0.5] node [style="rounded,filled"] node [fillcolor="#fcf2e3"] node [color="#000000"] edge [color="#000000"] layout="dot" DataExtent [label = <
DataExtent
+ publicID: string
+ waveformID: WaveformStreamID
+ start: datetime
+ end: datetime
+ updated: datetime
+ lastScan: datetime
+ segmentOverflow: boolean
+ dataSegment: DataSegment [0..*]
+ dataAttributeExtent: DataAttributeExtent [0..*]
>] DataSegment [label = <
DataSegment
+ start: datetime
+ end: datetime
+ updated: datetime
+ sampleRate: double
+ quality: string
+ outOfOrder: boolean
>] DataAttributeExtent [label = <
DataAttributeExtent
+ start: datetime
+ end: datetime
+ sampleRate: double
+ quality: string
+ updated: datetime
+ segmentCount: int
>] DataAvailability -> DataExtent DataExtent -> DataSegment DataExtent -> DataAttributeExtent } Reference --------- .. _api-python-datamodel-object: .. py:class:: Object .. py:method:: parent() :rtype: PublicObject Returns the :ref:`PublicObject ` parent object is available, None otherwise. .. py:method:: setParent(parent) :param parent: A PublicObject. :rtype: A Boolean flag indicating success with True, False otherwise. Sets the parent to :ref:`PublicObject `. This is an internal method and should not be called from applications. Instead a class should be derived from Object which calls this method internally when children are being added or removed. .. py:method:: update() Creates an update notifier for this object ignoring its children. If an attribute of an object is changed this methods needs to be called manually since attribute changes are not tracked automatically by the notifier framework. Only hierarchy modifications such as add and remove child objects. .. py:method:: assign(other) :param other: A Object. :rtype: A Boolean flag indicating success with True, False otherwise. Assign the metadata of 'other' to 'this' without others children. Returns True, if 'this' and 'other' are of same type, False otherwise. .. py:method:: clone() :rtype: A Object. Clones an object. If the clonee is a :ref:`PublicObject ` it is not registered in the global instance pool but receives exactly the same publicID like 'this'. .. py:method:: attachTo(parent) :rtype: A Boolean flag indicating success with True, False otherwise. Adds the object to a parent. If it has already a parent or is of wrong type, False is returned. .. py:method:: detachFrom(parent) :rtype: A Boolean flag indicating success with True, False otherwise. Removes the object from a parent. If it has another or no parent, False is returned. .. py:method:: detach() :rtype: A Boolean flag indicating success with True, False otherwise. Removes the object from its parent object if a parent is set. .. py:method:: accept(visitor) :param visitor: A visitor. .. _api-python-datamodel-publicobject: .. py:class:: PublicObject Inherits :ref:`Object `. .. py:method:: setPublicID(id) Sets the publicID of the object. .. py:method:: publicID() Returns the publicID of the object. .. _api-python-datamodel-notifier: .. py:class:: Notifier(parentID, operation, object) Class to represent a change in the object tree. A notifier takes a parentID, an operation to apply and a child object. The child object is without children. .. py:staticmethod:: Enable() Enables the notifier pool. If enabled, notifiers are automatically created if the object tree is being changed. .. py:staticmethod:: Enable() Disables the notifier pool. .. py:staticmethod:: SetEnabled(enable) Sets the state of the notifier pool. .. py:staticmethod:: IsEnabled() Returns the notification pool state. The default is TRUE. .. py:staticmethod:: SetCheckEnabled(enable) Enables/disables checking previous inserted notifiers when a new notifiers is about to be queued. When enabled, and OP_ADD and OP_UPDATE of the same object results in only one OP_ADD notifier. .. py:staticmethod:: IsCheckEnabled() Returns the current 'check' state. .. py:staticmethod:: GetMessage(allNotifier = True) :param allNotifier: Defines whether to return one message including all notifiers or one message including one notifier. :rtype: A NotifierMessage object if there is one. If each notifier is being send by its own message, this method should be called until it returns None. Returns a message holding all notifications since the last call. All stored notifications will be removed from the notification pool. .. py:staticmethod:: Size() :rtype: Integer value. Returns the size of the notifier objects currently stored. .. py:staticmethod:: Clear() Clears all buffered notifiers. .. py:staticmethod:: Create(parentID, operation, object) :param parentID: The publicID of the parent object that is target of the operation. :param operation: The operation applied to the parent object. :param object: The object that is the operation's "operand". :rtype: The Notifier object. Creates a notifier object managed by the global notifier pool. If the notifier pool is disabled no notifier instance will be created and None is being returned. .. py:staticmethod:: Create(parent, operation, object) :param parent The parent object that is target of the operation. :param operation: The operation applied to the parent object. :param object: The object that is the operation's "operand". :rtype: The Notifier object. Creates a notifier object managed by the global notifier pool. If the notifier pool is disabled no notifier instance will be created and None is being returned. .. py:method:: apply() :rtype: A flag indicating success with True, False otherwise. Applies the notifier to the local object tree. .. py:method: setParentID(parentID) Setter of parentID. .. py:method: parentID() Getter of parentID. .. py:method: setOperation(operation) Setter of operation. .. py:method: operation() Getter of operation. .. py:method: setObject(object) Setter of object. .. py:method: object() Getter of object. .. _api-python-datamodel-access: .. py:class:: Access Inherits :ref:`Object `. This type describes an ArcLink access rule .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Access if the cast was successful, None otherwise. Cast an arbitrary object to Access if the internal wrapped representation is an Access object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Access ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type AccessIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Access ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setNetworkCode(networkCode) :param networkCode: string Network code .. py:method:: networkCode() :rtype: string .. py:method:: setStationCode(stationCode) :param stationCode: string Station code \(empty for any station\) .. py:method:: stationCode() :rtype: string .. py:method:: setLocationCode(locationCode) :param locationCode: string Location code \(empty for any location\) .. py:method:: locationCode() :rtype: string .. py:method:: setStreamCode(streamCode) :param streamCode: string Stream \(Channel\) code \(empty for any stream\) .. py:method:: streamCode() :rtype: string .. py:method:: setUser(user) :param user: string Username \(e\-mail\) or part of it \(must match the end\) .. py:method:: user() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of validity .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of validity .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: routing() :rtype: Routing Returns the parent Routing if available. Returns None if the parent is not a Routing. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Access. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-amplitude: .. py:class:: Amplitude Inherits :ref:`PublicObject `. This class represents a quantification of the waveform anomaly, usually a single amplitude measurement or a measurement of the visible signal duration for duration magnitudes. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Amplitude if the cast was successful, None otherwise. Cast an arbitrary object to Amplitude if the internal wrapped representation is an Amplitude object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Amplitude. Creates and registers (if enabled) a Amplitude instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Amplitude. Creates and registers (if enabled) a Amplitude instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Amplitude ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setType(type) :param type: string String that describes the type of amplitude using the nomenclature from Storchak et al. \(2003\). Possible values include unspecified amplitude reading \(A\), amplitude reading for local magnitude \(ML\), amplitude reading for body wave magnitude \(MB\), amplitude reading for surface wave magnitude \(MS\), and time of visible end of record for duration magnitude \(MD\). It has a maximum length of 16 characters. .. py:method:: type() :rtype: string .. py:method:: setAmplitude(amplitude) :param amplitude: :ref:`RealQuantity ` Measured amplitude value for the given waveformID. Note that this attribute can describe different physical quantities, depending on the type of the amplitude. These can be, e.g., displacement, velocity, or a period. If the only amplitude information is a period, it has to specified here, not in the period attribute. The latter can be used if the amplitude measurement contains information on, e.g., displacement and an additional period. Since the physical quantity described by this attribute is not fixed, the unit of measurement cannot be defined in advance. However, the quantity has to be specified in SI base units. The enumeration given in attribute unit provides the most likely units that could be needed here. For clarity, using the optional unit attribute is highly encouraged. .. py:method:: amplitude() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTimeWindow(timeWindow) :param timeWindow: :ref:`TimeWindow ` Description of the time window used for amplitude measurement. Recommended for duration magnitudes. .. py:method:: timeWindow() :rtype: :ref:`TimeWindow ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPeriod(period) :param period: :ref:`RealQuantity ` Dominant period in the timeWindow in case of amplitude measurements. Not used for duration magnitude. The unit is seconds. .. py:method:: period() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSnr(snr) :param snr: float Signal\-to\-noise ratio of the spectrogram at the location the amplitude was measured. .. py:method:: snr() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUnit(unit) :param unit: string This attribute provides the most likely measurement units for the physical quantity described in the amplitude attribute. Possible values are specified as combinations of SI base units. .. py:method:: unit() :rtype: string .. py:method:: setPickID(pickID) :param pickID: string Refers to the publicID of an associated Pick object. .. py:method:: pickID() :rtype: string .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` Identifies the waveform stream on which the amplitude was measured. .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setFilterID(filterID) :param filterID: string Identifies the filter or filter setup used for filtering the waveform stream referenced by waveformID. .. py:method:: filterID() :rtype: string .. py:method:: setMethodID(methodID) :param methodID: string .. py:method:: methodID() :rtype: string .. py:method:: setScalingTime(scalingTime) :param scalingTime: :ref:`TimeQuantity ` Scaling time for amplitude measurement. .. py:method:: scalingTime() :rtype: :ref:`TimeQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMagnitudeHint(magnitudeHint) :param magnitudeHint: string Type of magnitude the amplitude measurement is used for. For valid values see class Magnitude. String value with a maximum length of 16 characters. .. py:method:: magnitudeHint() :rtype: string .. py:method:: setEvaluationMode(evaluationMode) :param evaluationMode: EvaluationMode Evaluation mode of Amplitude. .. py:method:: evaluationMode() :rtype: EvaluationMode .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Amplitude object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Amplitude. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Amplitude. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Amplitude. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-amplitudereference: .. py:class:: AmplitudeReference Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type AmplitudeReference if the cast was successful, None otherwise. Cast an arbitrary object to AmplitudeReference if the internal wrapped representation is an AmplitudeReference object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`AmplitudeReference ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type AmplitudeReferenceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`AmplitudeReference ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setAmplitudeID(amplitudeID) :param amplitudeID: string .. py:method:: amplitudeID() :rtype: string .. py:method:: reading() :rtype: Reading Returns the parent Reading if available. Returns None if the parent is not a Reading. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned AmplitudeReference. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arclinklog: .. py:class:: ArclinkLog Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkLog if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkLog if the internal wrapped representation is an ArclinkLog object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ArclinkLog ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(arclinkRequest) :param arclinkRequest: Object of type :ref:`ArclinkRequest ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ArclinkRequest object to ArclinkLog. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(arclinkUser) :param arclinkUser: Object of type :ref:`ArclinkUser ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ArclinkUser object to ArclinkLog. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(arclinkRequest) :param arclinkRequest: Object of type :ref:`ArclinkRequest ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ArclinkRequest object from ArclinkLog. .. py:method:: remove(arclinkUser) :param arclinkUser: Object of type :ref:`ArclinkUser ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ArclinkUser object from ArclinkLog. .. py:method:: removeArclinkRequest(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkRequest(arclinkRequestIndex); :param arclinkRequestIndex: The index of the object to be removed of type ArclinkRequestIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkUser(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkUser(arclinkUserIndex); :param arclinkUserIndex: The index of the object to be removed of type ArclinkUserIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: arclinkRequestCount() :rtype: integer value indicating the number of child objects. Returns the number of ArclinkRequest child objects. .. py:method:: arclinkUserCount() :rtype: integer value indicating the number of child objects. Returns the number of ArclinkUser child objects. .. py:method:: arclinkRequest(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ArclinkRequest `. Returns the ArclinkRequest at index idx. .. py:method:: arclinkRequest(arclinkRequestIndex) :param arclinkRequestIndex: The index of the object to be removed of type ArclinkRequestIndex. :rtype: Object of type :ref:`ArclinkRequest `. Returns the ArclinkRequest at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: arclinkUser(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ArclinkUser `. Returns the ArclinkUser at index idx. .. py:method:: arclinkUser(arclinkUserIndex) :param arclinkUserIndex: The index of the object to be removed of type ArclinkUserIndex. :rtype: Object of type :ref:`ArclinkUser `. Returns the ArclinkUser at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findArclinkRequest(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ArclinkRequest `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findArclinkUser(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ArclinkUser `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ArclinkLog. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arclinkrequest: .. py:class:: ArclinkRequest Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkRequest if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkRequest if the internal wrapped representation is an ArclinkRequest object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ArclinkRequest. Creates and registers (if enabled) a ArclinkRequest instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ArclinkRequest. Creates and registers (if enabled) a ArclinkRequest instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ArclinkRequest ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ArclinkRequestIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ArclinkRequest ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setRequestID(requestID) :param requestID: string .. py:method:: requestID() :rtype: string .. py:method:: setUserID(userID) :param userID: string .. py:method:: userID() :rtype: string .. py:method:: setUserIP(userIP) :param userIP: string .. py:method:: userIP() :rtype: string .. py:method:: setClientID(clientID) :param clientID: string .. py:method:: clientID() :rtype: string .. py:method:: setClientIP(clientIP) :param clientIP: string .. py:method:: clientIP() :rtype: string .. py:method:: setType(type) :param type: string .. py:method:: type() :rtype: string .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. py:method:: setStatus(status) :param status: string .. py:method:: status() :rtype: string .. py:method:: setMessage(message) :param message: string .. py:method:: message() :rtype: string .. py:method:: setLabel(label) :param label: string .. py:method:: label() :rtype: string .. py:method:: setHeader(header) :param header: string .. py:method:: header() :rtype: string .. py:method:: setSummary(summary) :param summary: :ref:`ArclinkRequestSummary ` .. py:method:: summary() :rtype: :ref:`ArclinkRequestSummary ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(arclinkStatusLine) :param arclinkStatusLine: Object of type :ref:`ArclinkStatusLine ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ArclinkStatusLine object to ArclinkRequest. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(arclinkRequestLine) :param arclinkRequestLine: Object of type :ref:`ArclinkRequestLine ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ArclinkRequestLine object to ArclinkRequest. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(arclinkStatusLine) :param arclinkStatusLine: Object of type :ref:`ArclinkStatusLine ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ArclinkStatusLine object from ArclinkRequest. .. py:method:: remove(arclinkRequestLine) :param arclinkRequestLine: Object of type :ref:`ArclinkRequestLine ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ArclinkRequestLine object from ArclinkRequest. .. py:method:: removeArclinkStatusLine(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkStatusLine(arclinkStatusLineIndex); :param arclinkStatusLineIndex: The index of the object to be removed of type ArclinkStatusLineIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkRequestLine(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArclinkRequestLine(arclinkRequestLineIndex); :param arclinkRequestLineIndex: The index of the object to be removed of type ArclinkRequestLineIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: arclinkStatusLineCount() :rtype: integer value indicating the number of child objects. Returns the number of ArclinkStatusLine child objects. .. py:method:: arclinkRequestLineCount() :rtype: integer value indicating the number of child objects. Returns the number of ArclinkRequestLine child objects. .. py:method:: arclinkStatusLine(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ArclinkStatusLine `. Returns the ArclinkStatusLine at index idx. .. py:method:: arclinkStatusLine(arclinkStatusLineIndex) :param arclinkStatusLineIndex: The index of the object to be removed of type ArclinkStatusLineIndex. :rtype: Object of type :ref:`ArclinkStatusLine `. Returns the ArclinkStatusLine at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: arclinkRequestLine(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ArclinkRequestLine `. Returns the ArclinkRequestLine at index idx. .. py:method:: arclinkRequestLine(arclinkRequestLineIndex) :param arclinkRequestLineIndex: The index of the object to be removed of type ArclinkRequestLineIndex. :rtype: Object of type :ref:`ArclinkRequestLine `. Returns the ArclinkRequestLine at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: arclinkLog() :rtype: ArclinkLog Returns the parent ArclinkLog if available. Returns None if the parent is not a ArclinkLog. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ArclinkRequest. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arclinkrequestline: .. py:class:: ArclinkRequestLine Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkRequestLine if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkRequestLine if the internal wrapped representation is an ArclinkRequestLine object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ArclinkRequestLine ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ArclinkRequestLineIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ArclinkRequestLine ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setStart(start) :param start: seiscomp3.Core.Time .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time .. py:method:: end() :rtype: seiscomp3.Core.Time .. py:method:: setStreamID(streamID) :param streamID: :ref:`WaveformStreamID ` .. py:method:: streamID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setRestricted(restricted) :param restricted: boolean .. py:method:: restricted() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setShared(shared) :param shared: boolean .. py:method:: shared() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNetClass(netClass) :param netClass: string .. py:method:: netClass() :rtype: string .. py:method:: setConstraints(constraints) :param constraints: string .. py:method:: constraints() :rtype: string .. py:method:: setStatus(status) :param status: :ref:`ArclinkStatusLine ` .. py:method:: status() :rtype: :ref:`ArclinkStatusLine ` .. py:method:: arclinkRequest() :rtype: ArclinkRequest Returns the parent ArclinkRequest if available. Returns None if the parent is not a ArclinkRequest. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ArclinkRequestLine. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arclinkrequestsummary: .. py:class:: ArclinkRequestSummary Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkRequestSummary if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkRequestSummary if the internal wrapped representation is an ArclinkRequestSummary object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ArclinkRequestSummary ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setOkLineCount(okLineCount) :param okLineCount: int .. py:method:: okLineCount() :rtype: int .. py:method:: setTotalLineCount(totalLineCount) :param totalLineCount: int .. py:method:: totalLineCount() :rtype: int .. py:method:: setAverageTimeWindow(averageTimeWindow) :param averageTimeWindow: int .. py:method:: averageTimeWindow() :rtype: int .. _api-python-datamodel-arclinkstatusline: .. py:class:: ArclinkStatusLine Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkStatusLine if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkStatusLine if the internal wrapped representation is an ArclinkStatusLine object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ArclinkStatusLine ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ArclinkStatusLineIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ArclinkStatusLine ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setType(type) :param type: string .. py:method:: type() :rtype: string .. py:method:: setStatus(status) :param status: string .. py:method:: status() :rtype: string .. py:method:: setSize(size) :param size: int .. py:method:: size() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMessage(message) :param message: string .. py:method:: message() :rtype: string .. py:method:: setVolumeID(volumeID) :param volumeID: string .. py:method:: volumeID() :rtype: string .. py:method:: arclinkRequest() :rtype: ArclinkRequest Returns the parent ArclinkRequest if available. Returns None if the parent is not a ArclinkRequest. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ArclinkStatusLine. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arclinkuser: .. py:class:: ArclinkUser Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ArclinkUser if the cast was successful, None otherwise. Cast an arbitrary object to ArclinkUser if the internal wrapped representation is an ArclinkUser object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ArclinkUser. Creates and registers (if enabled) a ArclinkUser instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ArclinkUser. Creates and registers (if enabled) a ArclinkUser instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ArclinkUser ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ArclinkUserIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ArclinkUser ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string .. py:method:: name() :rtype: string .. py:method:: setEmail(email) :param email: string .. py:method:: email() :rtype: string .. py:method:: setPassword(password) :param password: string .. py:method:: password() :rtype: string .. py:method:: arclinkLog() :rtype: ArclinkLog Returns the parent ArclinkLog if available. Returns None if the parent is not a ArclinkLog. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ArclinkUser. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-arrival: .. py:class:: Arrival Inherits :ref:`Object `. Successful association of a pick with an origin qualifies this pick as an arrival. An arrival thus connects a pick with an origin and provides additional attributes that describe this relationship. Usually qualification of a pick as an arrival for a given origin is a hypothesis, which is based on assumptions about the type of arrival \(phase\) as well as observed and \(on the basis of an earth model\) computed arrival times, or the residual, respectively. Additional pick attributes like the horizontal slowness and backazimuth of the observed wave\-especially if derived from array data\-may further constrain the nature of the arrival. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Arrival if the cast was successful, None otherwise. Cast an arbitrary object to Arrival if the internal wrapped representation is an Arrival object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Arrival ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ArrivalIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Arrival ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setPickID(pickID) :param pickID: string Refers to a publicID of a Pick. .. py:method:: pickID() :rtype: string .. py:method:: setPhase(phase) :param phase: :ref:`Phase ` Phase identification. For possible values, please refer to the description of the Phase type. .. py:method:: phase() :rtype: :ref:`Phase ` .. py:method:: setTimeCorrection(timeCorrection) :param timeCorrection: float Time correction value. Usually, a value characteristic for the station at which the pick was detected, sometimes also characteristic for the phase type or the slowness in seconds. .. py:method:: timeCorrection() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuth(azimuth) :param azimuth: float Azimuth of station as seen from the epicenter in degrees. .. py:method:: azimuth() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDistance(distance) :param distance: float Epicentral distance in degrees. .. py:method:: distance() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTakeOffAngle(takeOffAngle) :param takeOffAngle: float Angle of emerging ray at the source, measured against the downward normal direction in degrees. .. py:method:: takeOffAngle() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTimeResidual(timeResidual) :param timeResidual: float Residual between observed and expected arrival time assuming proper phase identification and given the earthModelID of the Origin, taking into account the timeCorrection in seconds. .. py:method:: timeResidual() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setHorizontalSlownessResidual(horizontalSlownessResidual) :param horizontalSlownessResidual: float Residual of horizontal slowness and the expected slowness given the current origin \(refers to attribute horizontalSlowness of class Pick\) in s\/deg. .. py:method:: horizontalSlownessResidual() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setBackazimuthResidual(backazimuthResidual) :param backazimuthResidual: float Residual of backazimuth and the backazimuth computed for the current origin \(refers to attribute backazimuth of class Pick\) in degrees. .. py:method:: backazimuthResidual() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTimeUsed(timeUsed) :param timeUsed: boolean .. py:method:: timeUsed() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setHorizontalSlownessUsed(horizontalSlownessUsed) :param horizontalSlownessUsed: boolean Weight of the horizontal slowness for computation of the associated Origin. Note that the sum of all weights is not required to be unity. .. py:method:: horizontalSlownessUsed() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setBackazimuthUsed(backazimuthUsed) :param backazimuthUsed: boolean .. py:method:: backazimuthUsed() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setWeight(weight) :param weight: float Weight of the arrival time for computation of the associated Origin. Note that the sum of all weights is not required to be unity. .. py:method:: weight() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEarthModelID(earthModelID) :param earthModelID: string Earth model which is used for the association of Arrival to Pick and computation of the residuals. .. py:method:: earthModelID() :rtype: string .. py:method:: setPreliminary(preliminary) :param preliminary: boolean Indicates if the arrival is preliminary. .. py:method:: preliminary() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Arrival object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: origin() :rtype: Origin Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Arrival. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-auxdevice: .. py:class:: AuxDevice Inherits :ref:`PublicObject `. This type describes an auxilliary device .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type AuxDevice if the cast was successful, None otherwise. Cast an arbitrary object to AuxDevice if the internal wrapped representation is an AuxDevice object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type AuxDevice. Creates and registers (if enabled) a AuxDevice instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type AuxDevice. Creates and registers (if enabled) a AuxDevice instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`AuxDevice ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type AuxDeviceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`AuxDevice ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique device name .. py:method:: name() :rtype: string .. py:method:: setDescription(description) :param description: string Device description .. py:method:: description() :rtype: string .. py:method:: setModel(model) :param model: string Device model .. py:method:: model() :rtype: string .. py:method:: setManufacturer(manufacturer) :param manufacturer: string Device manufacturer .. py:method:: manufacturer() :rtype: string .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(auxSource) :param auxSource: Object of type :ref:`AuxSource ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a AuxSource object to AuxDevice. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(auxSource) :param auxSource: Object of type :ref:`AuxSource ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added AuxSource object from AuxDevice. .. py:method:: removeAuxSource(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAuxSource(auxSourceIndex); :param auxSourceIndex: The index of the object to be removed of type AuxSourceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: auxSourceCount() :rtype: integer value indicating the number of child objects. Returns the number of AuxSource child objects. .. py:method:: auxSource(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`AuxSource `. Returns the AuxSource at index idx. .. py:method:: auxSource(auxSourceIndex) :param auxSourceIndex: The index of the object to be removed of type AuxSourceIndex. :rtype: Object of type :ref:`AuxSource `. Returns the AuxSource at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned AuxDevice. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-auxsource: .. py:class:: AuxSource Inherits :ref:`Object `. This type describes a channel of an auxilliary device .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type AuxSource if the cast was successful, None otherwise. Cast an arbitrary object to AuxSource if the internal wrapped representation is an AuxSource object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`AuxSource ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type AuxSourceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`AuxSource ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Referred from network\/station\/auxStream\/\@source .. py:method:: name() :rtype: string .. py:method:: setDescription(description) :param description: string Description .. py:method:: description() :rtype: string .. py:method:: setUnit(unit) :param unit: string Unit of mesurement .. py:method:: unit() :rtype: string .. py:method:: setConversion(conversion) :param conversion: string Conversion formula from counts to unit of measurement .. py:method:: conversion() :rtype: string .. py:method:: setSampleRateNumerator(sampleRateNumerator) :param sampleRateNumerator: int Output sample rate \(numerator\); referred from network\/station\/AuxStream\/\@sampleRateNumerator .. py:method:: sampleRateNumerator() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSampleRateDenominator(sampleRateDenominator) :param sampleRateDenominator: int Output sample rate \(denominator\); referred from network\/station\/AuxStream\/\@sampleRateDenominator .. py:method:: sampleRateDenominator() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: auxDevice() :rtype: AuxDevice Returns the parent AuxDevice if available. Returns None if the parent is not a AuxDevice. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned AuxSource. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-auxstream: .. py:class:: AuxStream Inherits :ref:`Object `. This type describes a stream \(channel\) without defined frequency response .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type AuxStream if the cast was successful, None otherwise. Cast an arbitrary object to AuxStream if the internal wrapped representation is an AuxStream object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`AuxStream ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type AuxStreamIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`AuxStream ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string Stream code \(52.04\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of epoch in ISO datetime format \(52.22\) .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of epoch \(52.23\) .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDevice(device) :param device: string Reference to auxDevice\/\@publicID .. py:method:: device() :rtype: string .. py:method:: setDeviceSerialNumber(deviceSerialNumber) :param deviceSerialNumber: string Serial number of device .. py:method:: deviceSerialNumber() :rtype: string .. py:method:: setSource(source) :param source: string Reference to auxSource\/\@name .. py:method:: source() :rtype: string .. py:method:: setFormat(format) :param format: string Data format, eg.: \"steim1\", \"steim2\", \"mseedN\" \(N \= encoding format in blockette 1000\) .. py:method:: format() :rtype: string .. py:method:: setFlags(flags) :param flags: string Channel flags \(52.21\) .. py:method:: flags() :rtype: string .. py:method:: setRestricted(restricted) :param restricted: boolean Whether the stream is \"restricted\" .. py:method:: restricted() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setShared(shared) :param shared: boolean Whether the metadata is synchronized with other datacenters .. py:method:: shared() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: sensorLocation() :rtype: SensorLocation Returns the parent SensorLocation if available. Returns None if the parent is not a SensorLocation. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned AuxStream. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-axis: .. py:class:: Axis Inherits :ref:`Object `. This class describes an eigenvector of a moment tensor expressed in its principal\-axes system. It uses the angles azimuth, plunge, and the eigenvalue length. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Axis if the cast was successful, None otherwise. Cast an arbitrary object to Axis if the internal wrapped representation is an Axis object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Axis ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setAzimuth(azimuth) :param azimuth: :ref:`RealQuantity ` Azimuth of eigenvector of moment tensor expressed in principal\-axes system. Measured clockwise from South\-North direction at epicenter in degrees. .. py:method:: azimuth() :rtype: :ref:`RealQuantity ` .. py:method:: setPlunge(plunge) :param plunge: :ref:`RealQuantity ` Plunge of eigenvector of moment tensor expressed in principal\-axes system. Measured against downward vertical direction at epicenter in degrees. .. py:method:: plunge() :rtype: :ref:`RealQuantity ` .. py:method:: setLength(length) :param length: :ref:`RealQuantity ` Eigenvalue of moment tensor expressed in principal\-axes system in Nm. .. py:method:: length() :rtype: :ref:`RealQuantity ` .. _api-python-datamodel-blob: .. py:class:: Blob Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Blob if the cast was successful, None otherwise. Cast an arbitrary object to Blob if the internal wrapped representation is an Blob object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Blob ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setContent(content) :param content: string .. py:method:: content() :rtype: string .. _api-python-datamodel-comment: .. py:class:: Comment Inherits :ref:`Object `. Comment holds information on comments to a resource as well as author and creation time information. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Comment if the cast was successful, None otherwise. Cast an arbitrary object to Comment if the internal wrapped representation is an Comment object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Comment ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type CommentIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Comment ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setText(text) :param text: string Text of comment. .. py:method:: text() :rtype: string .. py:method:: setId(id) :param id: string Identifier of comment, possibly in QuakeML RI format. .. py:method:: id() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of epoch in ISO datetime format .. py:method:: start() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of epoch \(empty if the comment epoch is open\) .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Comment object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: momentTensor() :rtype: MomentTensor Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent(). .. py:method:: focalMechanism() :rtype: FocalMechanism Returns the parent FocalMechanism if available. Returns None if the parent is not a FocalMechanism. This is a convenience wrapper for parent(). .. py:method:: amplitude() :rtype: Amplitude Returns the parent Amplitude if available. Returns None if the parent is not a Amplitude. This is a convenience wrapper for parent(). .. py:method:: magnitude() :rtype: Magnitude Returns the parent Magnitude if available. Returns None if the parent is not a Magnitude. This is a convenience wrapper for parent(). .. py:method:: stationMagnitude() :rtype: StationMagnitude Returns the parent StationMagnitude if available. Returns None if the parent is not a StationMagnitude. This is a convenience wrapper for parent(). .. py:method:: pick() :rtype: Pick Returns the parent Pick if available. Returns None if the parent is not a Pick. This is a convenience wrapper for parent(). .. py:method:: event() :rtype: Event Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent(). .. py:method:: origin() :rtype: Origin Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent(). .. py:method:: parameter() :rtype: Parameter Returns the parent Parameter if available. Returns None if the parent is not a Parameter. This is a convenience wrapper for parent(). .. py:method:: parameterSet() :rtype: ParameterSet Returns the parent ParameterSet if available. Returns None if the parent is not a ParameterSet. This is a convenience wrapper for parent(). .. py:method:: stream() :rtype: Stream Returns the parent Stream if available. Returns None if the parent is not a Stream. This is a convenience wrapper for parent(). .. py:method:: sensorLocation() :rtype: SensorLocation Returns the parent SensorLocation if available. Returns None if the parent is not a SensorLocation. This is a convenience wrapper for parent(). .. py:method:: station() :rtype: Station Returns the parent Station if available. Returns None if the parent is not a Station. This is a convenience wrapper for parent(). .. py:method:: network() :rtype: Network Returns the parent Network if available. Returns None if the parent is not a Network. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Comment. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-complexarray: .. py:class:: ComplexArray Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ComplexArray if the cast was successful, None otherwise. Cast an arbitrary object to ComplexArray if the internal wrapped representation is an ComplexArray object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ComplexArray ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setContent(content) :param content: complex .. py:method:: content() :rtype: complex .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-compositetime: .. py:class:: CompositeTime Inherits :ref:`Object `. Focal times differ significantly in their precision. While focal times of instrumentally located earthquakes are estimated precisely down to seconds, historic events have only incomplete time descriptions. Sometimes, even contradictory information about the rupture time exist. The CompositeTime type allows for such complex descriptions. If the specification is given with no greater accuracy than days \(i.e., no time components are given\), the date refers to local time. However, if time components are given, they have to refer to UTC. As an example, consider a historic earthquake in California, e.g., on 28 February 1730, with no time information given. Expressed in UTC, this day extends from 1730\-02\-28T08:00:00Z until 1730\-03\-01T08:00:00Z. Such a specification would be against intuition. Therefore, for date\-time specifications without time components, local time is used. In the example, the CompositeTime attributes are simply year 1730, month 2, and day 28. In the corresponding time attribute of the origin, however, UTC has to be used. If the unknown time components are assumed to be zero, the value is 1730\-02\-28T08:00:00Z. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type CompositeTime if the cast was successful, None otherwise. Cast an arbitrary object to CompositeTime if the internal wrapped representation is an CompositeTime object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`CompositeTime ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setYear(year) :param year: :ref:`IntegerQuantity ` Year or range of years of the event's focal time. .. py:method:: year() :rtype: :ref:`IntegerQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMonth(month) :param month: :ref:`IntegerQuantity ` Month or range of months of the event's focal time. .. py:method:: month() :rtype: :ref:`IntegerQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDay(day) :param day: :ref:`IntegerQuantity ` Day or range of days of the event's focal time. .. py:method:: day() :rtype: :ref:`IntegerQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setHour(hour) :param hour: :ref:`IntegerQuantity ` Hour or range of hours of the event's focal time. .. py:method:: hour() :rtype: :ref:`IntegerQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMinute(minute) :param minute: :ref:`IntegerQuantity ` Minute or range of minutes of the event's focal time. .. py:method:: minute() :rtype: :ref:`IntegerQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSecond(second) :param second: :ref:`RealQuantity ` Second and fraction of seconds or range of seconds with fraction of the event's focal time. .. py:method:: second() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: origin() :rtype: Origin Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned CompositeTime. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-confidenceellipsoid: .. py:class:: ConfidenceEllipsoid Inherits :ref:`Object `. This class represents a description of the location uncertainty as a confidence ellipsoid with arbitrary orientation in space. The orientation of a rigid body in three\-dimensional Euclidean space can be described by three parameters. We use the convention of Euler angles, which can be interpreted as a composition of three elemental rotations \(i.e., rotations around a single axis\). In the special case of Euler angles we use here, the angles are referred to as Tait\-Bryan \(or Cardan\) angles. These angles may be familiar to the reader from their application in flight dynamics, and are referred to as heading \(yaw, psi\), elevation \(attitude, pitch, phi\), and bank \(roll, theta\). For a definition of the angles, see Figure 4. Through the three elemental rotations, a Cartesian system \(x, y, z\) centered at the epicenter, with the South\-North direction x, the West\-East direction y, and the downward vertical direction z, is transferred into a different Cartesian system \(X, Y , Z\) centered on the confidence ellipsoid. Here, X denotes the direction of the major axis, and Y denotes the direction of the minor axis of the ellipsoid. Note that Figure 4 can be interpreted as a hypothetical view from the interior of the Earth to the inner face of a shell representing Earth's surface. The three Tait\-Bryan rotations are performed as follows: \(i\) a rotation about the Z axis with angle psi \(heading, or azimuth\); \(ii\) a rotation about the Y axis with angle phi \(elevation, or plunge\); and \(iii\) a rotation about the X axis with angle theta \(bank\). Note that in the case of Tait\-Bryan angles, the rotations are performed about the ellipsoid's axes, not about the axes of the fixed \(x, y, z\) Cartesian system. In the following list the correspondence of the attributes of class ConfidenceEllipsoid to the respective Tait\-Bryan angles is listed: majorAxisPlunge: elevation \(pitch, phi\), majorAxisAzimuth: heading \(yaw, psi\), majorAxisRotation: bank \(roll, theta\) .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ConfidenceEllipsoid if the cast was successful, None otherwise. Cast an arbitrary object to ConfidenceEllipsoid if the internal wrapped representation is an ConfidenceEllipsoid object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`ConfidenceEllipsoid ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setSemiMajorAxisLength(semiMajorAxisLength) :param semiMajorAxisLength: float Largest uncertainty, corresponding to the semi\-major axis of the confidence ellipsoid in meter. .. py:method:: semiMajorAxisLength() :rtype: float .. py:method:: setSemiMinorAxisLength(semiMinorAxisLength) :param semiMinorAxisLength: float Smallest uncertainty, corresponding to the semi\-minor axis of the confidence ellipsoid in meter. .. py:method:: semiMinorAxisLength() :rtype: float .. py:method:: setSemiIntermediateAxisLength(semiIntermediateAxisLength) :param semiIntermediateAxisLength: float Uncertainty in direction orthogonal to major and minor axes of the confidence ellipsoid in meter. .. py:method:: semiIntermediateAxisLength() :rtype: float .. py:method:: setMajorAxisPlunge(majorAxisPlunge) :param majorAxisPlunge: float Plunge angle of major axis of confidence ellipsoid. Corresponds to Tait\-Bryan angle phi in degrees. .. py:method:: majorAxisPlunge() :rtype: float .. py:method:: setMajorAxisAzimuth(majorAxisAzimuth) :param majorAxisAzimuth: float Azimuth angle of major axis of confidence ellipsoid. Corresponds to Tait\-Bryan angle psi in degrees. .. py:method:: majorAxisAzimuth() :rtype: float .. py:method:: setMajorAxisRotation(majorAxisRotation) :param majorAxisRotation: float This angle describes a rotation about the confidence ellipsoid's major axis which is required to define the direction of the ellipsoid's minor axis. Corresponds to Tait\-Bryan angle theta in degrees. .. py:method:: majorAxisRotation() :rtype: float .. _api-python-datamodel-config: .. py:class:: Config Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Config if the cast was successful, None otherwise. Cast an arbitrary object to Config if the internal wrapped representation is an Config object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Config ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(parameterSet) :param parameterSet: Object of type :ref:`ParameterSet ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ParameterSet object to Config. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(configModule) :param configModule: Object of type :ref:`ConfigModule ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ConfigModule object to Config. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(parameterSet) :param parameterSet: Object of type :ref:`ParameterSet ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ParameterSet object from Config. .. py:method:: remove(configModule) :param configModule: Object of type :ref:`ConfigModule ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ConfigModule object from Config. .. py:method:: removeParameterSet(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeConfigModule(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: parameterSetCount() :rtype: integer value indicating the number of child objects. Returns the number of ParameterSet child objects. .. py:method:: configModuleCount() :rtype: integer value indicating the number of child objects. Returns the number of ConfigModule child objects. .. py:method:: parameterSet(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ParameterSet `. Returns the ParameterSet at index idx. .. py:method:: configModule(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ConfigModule `. Returns the ConfigModule at index idx. .. py:method:: findParameterSet(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ParameterSet `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findConfigModule(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ConfigModule `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Config. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-configmodule: .. py:class:: ConfigModule Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ConfigModule if the cast was successful, None otherwise. Cast an arbitrary object to ConfigModule if the internal wrapped representation is an ConfigModule object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ConfigModule. Creates and registers (if enabled) a ConfigModule instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ConfigModule. Creates and registers (if enabled) a ConfigModule instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ConfigModule ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setName(name) :param name: string .. py:method:: name() :rtype: string .. py:method:: setParameterSetID(parameterSetID) :param parameterSetID: string .. py:method:: parameterSetID() :rtype: string .. py:method:: setEnabled(enabled) :param enabled: boolean .. py:method:: enabled() :rtype: boolean .. py:method:: add(configStation) :param configStation: Object of type :ref:`ConfigStation ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ConfigStation object to ConfigModule. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(configStation) :param configStation: Object of type :ref:`ConfigStation ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ConfigStation object from ConfigModule. .. py:method:: removeConfigStation(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeConfigStation(configStationIndex); :param configStationIndex: The index of the object to be removed of type ConfigStationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: configStationCount() :rtype: integer value indicating the number of child objects. Returns the number of ConfigStation child objects. .. py:method:: configStation(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ConfigStation `. Returns the ConfigStation at index idx. .. py:method:: configStation(configStationIndex) :param configStationIndex: The index of the object to be removed of type ConfigStationIndex. :rtype: Object of type :ref:`ConfigStation `. Returns the ConfigStation at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findConfigStation(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ConfigStation `. Returns the child object with a certain publicID, None otherwise. .. py:method:: config() :rtype: Config Returns the parent Config if available. Returns None if the parent is not a Config. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ConfigModule. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-configstation: .. py:class:: ConfigStation Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ConfigStation if the cast was successful, None otherwise. Cast an arbitrary object to ConfigStation if the internal wrapped representation is an ConfigStation object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ConfigStation. Creates and registers (if enabled) a ConfigStation instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ConfigStation. Creates and registers (if enabled) a ConfigStation instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ConfigStation ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ConfigStationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ConfigStation ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setNetworkCode(networkCode) :param networkCode: string .. py:method:: networkCode() :rtype: string .. py:method:: setStationCode(stationCode) :param stationCode: string .. py:method:: stationCode() :rtype: string .. py:method:: setEnabled(enabled) :param enabled: boolean .. py:method:: enabled() :rtype: boolean .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the ConfigStation object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(setup) :param setup: Object of type :ref:`Setup ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Setup object to ConfigStation. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(setup) :param setup: Object of type :ref:`Setup ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Setup object from ConfigStation. .. py:method:: removeSetup(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSetup(setupIndex); :param setupIndex: The index of the object to be removed of type SetupIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: setupCount() :rtype: integer value indicating the number of child objects. Returns the number of Setup child objects. .. py:method:: setup(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Setup `. Returns the Setup at index idx. .. py:method:: setup(setupIndex) :param setupIndex: The index of the object to be removed of type SetupIndex. :rtype: Object of type :ref:`Setup `. Returns the Setup at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: configModule() :rtype: ConfigModule Returns the parent ConfigModule if available. Returns None if the parent is not a ConfigModule. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ConfigStation. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-creationinfo: .. py:class:: CreationInfo Inherits :ref:`Object `. CreationInfo is used to describe creation metadata \(author, version, and creation time\) of a resource. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type CreationInfo if the cast was successful, None otherwise. Cast an arbitrary object to CreationInfo if the internal wrapped representation is an CreationInfo object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`CreationInfo ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setAgencyID(agencyID) :param agencyID: string Designation of agency that published a resource. The string has a maximum length of 64 characters. .. py:method:: agencyID() :rtype: string .. py:method:: setAgencyURI(agencyURI) :param agencyURI: string RI of the agency that published a resource. .. py:method:: agencyURI() :rtype: string .. py:method:: setAuthor(author) :param author: string Name describing the author of a resource. The string has a maximum length of 128 characters. .. py:method:: author() :rtype: string .. py:method:: setAuthorURI(authorURI) :param authorURI: string RI of the author of a resource. .. py:method:: authorURI() :rtype: string .. py:method:: setCreationTime(creationTime) :param creationTime: seiscomp3.Core.Time Time of creation of a resource, in ISO 8601 format. It has to be given in UTC. .. py:method:: creationTime() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setModificationTime(modificationTime) :param modificationTime: seiscomp3.Core.Time Time of last modification of a resource, in ISO 8601 format. It has to be given in UTC. .. py:method:: modificationTime() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setVersion(version) :param version: string Version string of a resource. .. py:method:: version() :rtype: string .. _api-python-datamodel-dataattributeextent: .. py:class:: DataAttributeExtent Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataAttributeExtent if the cast was successful, None otherwise. Cast an arbitrary object to DataAttributeExtent if the internal wrapped representation is an DataAttributeExtent object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`DataAttributeExtent ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DataAttributeExtentIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`DataAttributeExtent ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Time of first sample of data attribute extent. .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time Time after last sample of data attribute extent. .. py:method:: end() :rtype: seiscomp3.Core.Time .. py:method:: setSampleRate(sampleRate) :param sampleRate: double Sample rate of the current data attribute extent. .. py:method:: sampleRate() :rtype: double .. py:method:: setQuality(quality) :param quality: string Quality indicator of current data attribute extent. .. py:method:: quality() :rtype: string .. py:method:: setUpdated(updated) :param updated: seiscomp3.Core.Time The time of the last update or creation of this data attribute extent. .. py:method:: updated() :rtype: seiscomp3.Core.Time .. py:method:: setSegmentCount(segmentCount) :param segmentCount: int Number of data segments covered by this data attribute extent. .. py:method:: segmentCount() :rtype: int .. py:method:: dataExtent() :rtype: DataExtent Returns the parent DataExtent if available. Returns None if the parent is not a DataExtent. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataAttributeExtent. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-dataavailability: .. py:class:: DataAvailability Inherits :ref:`PublicObject `. This type can hold data availability related objects \(extent and segment\). .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataAvailability if the cast was successful, None otherwise. Cast an arbitrary object to DataAvailability if the internal wrapped representation is an DataAvailability object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`DataAvailability ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(dataExtent) :param dataExtent: Object of type :ref:`DataExtent ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a DataExtent object to DataAvailability. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(dataExtent) :param dataExtent: Object of type :ref:`DataExtent ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added DataExtent object from DataAvailability. .. py:method:: removeDataExtent(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataExtent(dataExtentIndex); :param dataExtentIndex: The index of the object to be removed of type DataExtentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: dataExtentCount() :rtype: integer value indicating the number of child objects. Returns the number of DataExtent child objects. .. py:method:: dataExtent(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`DataExtent `. Returns the DataExtent at index idx. .. py:method:: dataExtent(dataExtentIndex) :param dataExtentIndex: The index of the object to be removed of type DataExtentIndex. :rtype: Object of type :ref:`DataExtent `. Returns the DataExtent at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findDataExtent(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`DataExtent `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataAvailability. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-dataextent: .. py:class:: DataExtent Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataExtent if the cast was successful, None otherwise. Cast an arbitrary object to DataExtent if the internal wrapped representation is an DataExtent object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type DataExtent. Creates and registers (if enabled) a DataExtent instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type DataExtent. Creates and registers (if enabled) a DataExtent instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`DataExtent ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DataExtentIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`DataExtent ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Time of first sample of data available .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time Time after last sample of data available .. py:method:: end() :rtype: seiscomp3.Core.Time .. py:method:: setUpdated(updated) :param updated: seiscomp3.Core.Time The time of the last update or creation of this segment .. py:method:: updated() :rtype: seiscomp3.Core.Time .. py:method:: setLastScan(lastScan) :param lastScan: seiscomp3.Core.Time The time of the last waveform archive scan .. py:method:: lastScan() :rtype: seiscomp3.Core.Time .. py:method:: setSegmentOverflow(segmentOverflow) :param segmentOverflow: boolean Flags the stream to be to fragmented for processing. .. py:method:: segmentOverflow() :rtype: boolean .. py:method:: add(dataSegment) :param dataSegment: Object of type :ref:`DataSegment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a DataSegment object to DataExtent. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(dataAttributeExtent) :param dataAttributeExtent: Object of type :ref:`DataAttributeExtent ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a DataAttributeExtent object to DataExtent. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(dataSegment) :param dataSegment: Object of type :ref:`DataSegment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added DataSegment object from DataExtent. .. py:method:: remove(dataAttributeExtent) :param dataAttributeExtent: Object of type :ref:`DataAttributeExtent ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added DataAttributeExtent object from DataExtent. .. py:method:: removeDataSegment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataSegment(dataSegmentIndex); :param dataSegmentIndex: The index of the object to be removed of type DataSegmentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataAttributeExtent(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataAttributeExtent(dataAttributeExtentIndex); :param dataAttributeExtentIndex: The index of the object to be removed of type DataAttributeExtentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: dataSegmentCount() :rtype: integer value indicating the number of child objects. Returns the number of DataSegment child objects. .. py:method:: dataAttributeExtentCount() :rtype: integer value indicating the number of child objects. Returns the number of DataAttributeExtent child objects. .. py:method:: dataSegment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`DataSegment `. Returns the DataSegment at index idx. .. py:method:: dataSegment(dataSegmentIndex) :param dataSegmentIndex: The index of the object to be removed of type DataSegmentIndex. :rtype: Object of type :ref:`DataSegment `. Returns the DataSegment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: dataAttributeExtent(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`DataAttributeExtent `. Returns the DataAttributeExtent at index idx. .. py:method:: dataAttributeExtent(dataAttributeExtentIndex) :param dataAttributeExtentIndex: The index of the object to be removed of type DataAttributeExtentIndex. :rtype: Object of type :ref:`DataAttributeExtent `. Returns the DataAttributeExtent at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: dataAvailability() :rtype: DataAvailability Returns the parent DataAvailability if available. Returns None if the parent is not a DataAvailability. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataExtent. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-datasegment: .. py:class:: DataSegment Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataSegment if the cast was successful, None otherwise. Cast an arbitrary object to DataSegment if the internal wrapped representation is an DataSegment object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`DataSegment ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DataSegmentIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`DataSegment ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Time of first sample of data segment. .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time Time after last sample of data segment. .. py:method:: end() :rtype: seiscomp3.Core.Time .. py:method:: setUpdated(updated) :param updated: seiscomp3.Core.Time The time of the last update or creation of this data segment. .. py:method:: updated() :rtype: seiscomp3.Core.Time .. py:method:: setSampleRate(sampleRate) :param sampleRate: double Sample rate of the current data segment. .. py:method:: sampleRate() :rtype: double .. py:method:: setQuality(quality) :param quality: string Quality indicator of current data segment. .. py:method:: quality() :rtype: string .. py:method:: setOutOfOrder(outOfOrder) :param outOfOrder: boolean Whether this segment is an out\-of\-order segment or not. .. py:method:: outOfOrder() :rtype: boolean .. py:method:: dataExtent() :rtype: DataExtent Returns the parent DataExtent if available. Returns None if the parent is not a DataExtent. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataSegment. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-dataused: .. py:class:: DataUsed Inherits :ref:`Object `. The DataUsed class describes the type of data that has been used for a moment\-tensor inversion. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataUsed if the cast was successful, None otherwise. Cast an arbitrary object to DataUsed if the internal wrapped representation is an DataUsed object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`DataUsed ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setWaveType(waveType) :param waveType: DataUsedWaveType Type of waveform data. .. py:method:: waveType() :rtype: DataUsedWaveType .. py:method:: setStationCount(stationCount) :param stationCount: int Number of stations that have contributed data of the type given in waveType. .. py:method:: stationCount() :rtype: int .. py:method:: setComponentCount(componentCount) :param componentCount: int Number of data components of the type given in waveType. .. py:method:: componentCount() :rtype: int .. py:method:: setShortestPeriod(shortestPeriod) :param shortestPeriod: float Shortest period present in data in seconds. .. py:method:: shortestPeriod() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: momentTensor() :rtype: MomentTensor Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataUsed. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-datalogger: .. py:class:: Datalogger Inherits :ref:`PublicObject `. This type describes a datalogger \(digitizer and recorder\) .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Datalogger if the cast was successful, None otherwise. Cast an arbitrary object to Datalogger if the internal wrapped representation is an Datalogger object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Datalogger. Creates and registers (if enabled) a Datalogger instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Datalogger. Creates and registers (if enabled) a Datalogger instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Datalogger ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DataloggerIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Datalogger ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique datalogger name .. py:method:: name() :rtype: string .. py:method:: setDescription(description) :param description: string Datalogger description .. py:method:: description() :rtype: string .. py:method:: setDigitizerModel(digitizerModel) :param digitizerModel: string Digitizer model .. py:method:: digitizerModel() :rtype: string .. py:method:: setDigitizerManufacturer(digitizerManufacturer) :param digitizerManufacturer: string Digitizer manufacturer .. py:method:: digitizerManufacturer() :rtype: string .. py:method:: setRecorderModel(recorderModel) :param recorderModel: string Recorder model .. py:method:: recorderModel() :rtype: string .. py:method:: setRecorderManufacturer(recorderManufacturer) :param recorderManufacturer: string Recorder manufacturer .. py:method:: recorderManufacturer() :rtype: string .. py:method:: setClockModel(clockModel) :param clockModel: string Clock model \(mostly unused\) .. py:method:: clockModel() :rtype: string .. py:method:: setClockManufacturer(clockManufacturer) :param clockManufacturer: string Clock manufacturer \(mostly unused\) .. py:method:: clockManufacturer() :rtype: string .. py:method:: setClockType(clockType) :param clockType: string Clock type \(mostly unused\) .. py:method:: clockType() :rtype: string .. py:method:: setGain(gain) :param gain: float Sensitivity of digitizer, counts\/V \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMaxClockDrift(maxClockDrift) :param maxClockDrift: float Max clock drift, seconds\/second \(not identical to 52.19, which is seconds\/sample\) .. py:method:: maxClockDrift() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(dataloggerCalibration) :param dataloggerCalibration: Object of type :ref:`DataloggerCalibration ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a DataloggerCalibration object to Datalogger. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(decimation) :param decimation: Object of type :ref:`Decimation ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Decimation object to Datalogger. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(dataloggerCalibration) :param dataloggerCalibration: Object of type :ref:`DataloggerCalibration ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added DataloggerCalibration object from Datalogger. .. py:method:: remove(decimation) :param decimation: Object of type :ref:`Decimation ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Decimation object from Datalogger. .. py:method:: removeDataloggerCalibration(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataloggerCalibration(dataloggerCalibrationIndex); :param dataloggerCalibrationIndex: The index of the object to be removed of type DataloggerCalibrationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDecimation(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDecimation(decimationIndex); :param decimationIndex: The index of the object to be removed of type DecimationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: dataloggerCalibrationCount() :rtype: integer value indicating the number of child objects. Returns the number of DataloggerCalibration child objects. .. py:method:: decimationCount() :rtype: integer value indicating the number of child objects. Returns the number of Decimation child objects. .. py:method:: dataloggerCalibration(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`DataloggerCalibration `. Returns the DataloggerCalibration at index idx. .. py:method:: dataloggerCalibration(dataloggerCalibrationIndex) :param dataloggerCalibrationIndex: The index of the object to be removed of type DataloggerCalibrationIndex. :rtype: Object of type :ref:`DataloggerCalibration `. Returns the DataloggerCalibration at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: decimation(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Decimation `. Returns the Decimation at index idx. .. py:method:: decimation(decimationIndex) :param decimationIndex: The index of the object to be removed of type DecimationIndex. :rtype: Object of type :ref:`Decimation `. Returns the Decimation at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Datalogger. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-dataloggercalibration: .. py:class:: DataloggerCalibration Inherits :ref:`Object `. This type describes a datalogger calibration .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type DataloggerCalibration if the cast was successful, None otherwise. Cast an arbitrary object to DataloggerCalibration if the internal wrapped representation is an DataloggerCalibration object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`DataloggerCalibration ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DataloggerCalibrationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`DataloggerCalibration ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setSerialNumber(serialNumber) :param serialNumber: string Referred from network\/station\/Stream\/\@dataloggerSerialNumber .. py:method:: serialNumber() :rtype: string .. py:method:: setChannel(channel) :param channel: int Referred from network\/station\/Stream\/\@dataloggerChannel .. py:method:: channel() :rtype: int .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of validity .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of validity .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGain(gain) :param gain: float Overrides nominal gain of calibrated datalogger \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: datalogger() :rtype: Datalogger Returns the parent Datalogger if available. Returns None if the parent is not a Datalogger. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned DataloggerCalibration. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-decimation: .. py:class:: Decimation Inherits :ref:`Object `. This type describes a decimation to a certain sample rate .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Decimation if the cast was successful, None otherwise. Cast an arbitrary object to Decimation if the internal wrapped representation is an Decimation object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Decimation ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type DecimationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Decimation ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setSampleRateNumerator(sampleRateNumerator) :param sampleRateNumerator: int Output sample rate \(numerator\); referred from network\/station\/Stream\/\@sampleRateNumerator .. py:method:: sampleRateNumerator() :rtype: int .. py:method:: setSampleRateDenominator(sampleRateDenominator) :param sampleRateDenominator: int Output sample rate \(denominator\); referred from network\/station\/Stream\/\@sampleRateDenominator .. py:method:: sampleRateDenominator() :rtype: int .. py:method:: setAnalogueFilterChain(analogueFilterChain) :param analogueFilterChain: :ref:`Blob ` Specifies analogue filters between seismometer and digitizer. Each element \(separated by space\) references responsePAZ\/\@publicID .. py:method:: analogueFilterChain() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDigitalFilterChain(digitalFilterChain) :param digitalFilterChain: :ref:`Blob ` Specifies digital filters \(decimation, gain removal\). Each element \(separated by space\) references responsePAZ\@publicID or responseFIR\/\@publicID .. py:method:: digitalFilterChain() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: datalogger() :rtype: Datalogger Returns the parent Datalogger if available. Returns None if the parent is not a Datalogger. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Decimation. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-event: .. py:class:: Event Inherits :ref:`PublicObject `. The class Event describes a seismic event which does not necessarily need to be a tectonic earthquake. An event is usually associated with one or more origins, which contain information about focal time and geographical location of the event. Multiple origins can cover automatic and manual locations, a set of location from different agencies, locations generated with different location programs and earth models, etc. Furthermore, an event is usually associated with one or more magnitudes, and with one or more focal mechanism determinations. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Event if the cast was successful, None otherwise. Cast an arbitrary object to Event if the internal wrapped representation is an Event object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Event. Creates and registers (if enabled) a Event instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Event. Creates and registers (if enabled) a Event instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Event ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setPreferredOriginID(preferredOriginID) :param preferredOriginID: string Refers to the publicID of the preferred Origin object. .. py:method:: preferredOriginID() :rtype: string .. py:method:: setPreferredMagnitudeID(preferredMagnitudeID) :param preferredMagnitudeID: string Refers to the publicID of the preferred Magnitude object. .. py:method:: preferredMagnitudeID() :rtype: string .. py:method:: setPreferredFocalMechanismID(preferredFocalMechanismID) :param preferredFocalMechanismID: string Refers to the publicID of the preferred FocalMechanism object. .. py:method:: preferredFocalMechanismID() :rtype: string .. py:method:: setType(type) :param type: EventType Describes the type of an event \(Storchak et al. 2012\). .. py:method:: type() :rtype: EventType .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTypeCertainty(typeCertainty) :param typeCertainty: EventTypeCertainty Denotes how certain the information on event type is \(Storchak et al. 2012\). .. py:method:: typeCertainty() :rtype: EventTypeCertainty .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Event object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(eventDescription) :param eventDescription: Object of type :ref:`EventDescription ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a EventDescription object to Event. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Event. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(originReference) :param originReference: Object of type :ref:`OriginReference ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a OriginReference object to Event. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(focalMechanismReference) :param focalMechanismReference: Object of type :ref:`FocalMechanismReference ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a FocalMechanismReference object to Event. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(eventDescription) :param eventDescription: Object of type :ref:`EventDescription ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added EventDescription object from Event. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Event. .. py:method:: remove(originReference) :param originReference: Object of type :ref:`OriginReference ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added OriginReference object from Event. .. py:method:: remove(focalMechanismReference) :param focalMechanismReference: Object of type :ref:`FocalMechanismReference ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added FocalMechanismReference object from Event. .. py:method:: removeEventDescription(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeEventDescription(eventDescriptionIndex); :param eventDescriptionIndex: The index of the object to be removed of type EventDescriptionIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeOriginReference(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeOriginReference(originReferenceIndex); :param originReferenceIndex: The index of the object to be removed of type OriginReferenceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeFocalMechanismReference(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeFocalMechanismReference(focalMechanismReferenceIndex); :param focalMechanismReferenceIndex: The index of the object to be removed of type FocalMechanismReferenceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: eventDescriptionCount() :rtype: integer value indicating the number of child objects. Returns the number of EventDescription child objects. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: originReferenceCount() :rtype: integer value indicating the number of child objects. Returns the number of OriginReference child objects. .. py:method:: focalMechanismReferenceCount() :rtype: integer value indicating the number of child objects. Returns the number of FocalMechanismReference child objects. .. py:method:: eventDescription(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`EventDescription `. Returns the EventDescription at index idx. .. py:method:: eventDescription(eventDescriptionIndex) :param eventDescriptionIndex: The index of the object to be removed of type EventDescriptionIndex. :rtype: Object of type :ref:`EventDescription `. Returns the EventDescription at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: originReference(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`OriginReference `. Returns the OriginReference at index idx. .. py:method:: originReference(originReferenceIndex) :param originReferenceIndex: The index of the object to be removed of type OriginReferenceIndex. :rtype: Object of type :ref:`OriginReference `. Returns the OriginReference at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: focalMechanismReference(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`FocalMechanismReference `. Returns the FocalMechanismReference at index idx. .. py:method:: focalMechanismReference(focalMechanismReferenceIndex) :param focalMechanismReferenceIndex: The index of the object to be removed of type FocalMechanismReferenceIndex. :rtype: Object of type :ref:`FocalMechanismReference `. Returns the FocalMechanismReference at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Event. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-eventdescription: .. py:class:: EventDescription Inherits :ref:`Object `. Free\-form string with additional event description. This can be a well\-known name, like 1906 San Francisco Earthquake. A number of categories can be given in type. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type EventDescription if the cast was successful, None otherwise. Cast an arbitrary object to EventDescription if the internal wrapped representation is an EventDescription object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`EventDescription ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type EventDescriptionIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`EventDescription ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setText(text) :param text: string Free\-form text with earthquake description. .. py:method:: text() :rtype: string .. py:method:: setType(type) :param type: EventDescriptionType Category of earthquake description. .. py:method:: type() :rtype: EventDescriptionType .. py:method:: event() :rtype: Event Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned EventDescription. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-eventparameters: .. py:class:: EventParameters Inherits :ref:`PublicObject `. This type can hold objects of type Event, Origin, Magnitude, StationMagnitude, FocalMechanism, Reading, Amplitude, and Pick. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type EventParameters if the cast was successful, None otherwise. Cast an arbitrary object to EventParameters if the internal wrapped representation is an EventParameters object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`EventParameters ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(pick) :param pick: Object of type :ref:`Pick ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Pick object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(amplitude) :param amplitude: Object of type :ref:`Amplitude ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Amplitude object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(reading) :param reading: Object of type :ref:`Reading ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Reading object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(origin) :param origin: Object of type :ref:`Origin ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Origin object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(focalMechanism) :param focalMechanism: Object of type :ref:`FocalMechanism ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a FocalMechanism object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(event) :param event: Object of type :ref:`Event ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Event object to EventParameters. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(pick) :param pick: Object of type :ref:`Pick ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Pick object from EventParameters. .. py:method:: remove(amplitude) :param amplitude: Object of type :ref:`Amplitude ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Amplitude object from EventParameters. .. py:method:: remove(reading) :param reading: Object of type :ref:`Reading ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Reading object from EventParameters. .. py:method:: remove(origin) :param origin: Object of type :ref:`Origin ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Origin object from EventParameters. .. py:method:: remove(focalMechanism) :param focalMechanism: Object of type :ref:`FocalMechanism ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added FocalMechanism object from EventParameters. .. py:method:: remove(event) :param event: Object of type :ref:`Event ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Event object from EventParameters. .. py:method:: removePick(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAmplitude(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeReading(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeOrigin(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeFocalMechanism(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeEvent(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: pickCount() :rtype: integer value indicating the number of child objects. Returns the number of Pick child objects. .. py:method:: amplitudeCount() :rtype: integer value indicating the number of child objects. Returns the number of Amplitude child objects. .. py:method:: readingCount() :rtype: integer value indicating the number of child objects. Returns the number of Reading child objects. .. py:method:: originCount() :rtype: integer value indicating the number of child objects. Returns the number of Origin child objects. .. py:method:: focalMechanismCount() :rtype: integer value indicating the number of child objects. Returns the number of FocalMechanism child objects. .. py:method:: eventCount() :rtype: integer value indicating the number of child objects. Returns the number of Event child objects. .. py:method:: pick(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Pick `. Returns the Pick at index idx. .. py:method:: amplitude(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Amplitude `. Returns the Amplitude at index idx. .. py:method:: reading(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Reading `. Returns the Reading at index idx. .. py:method:: origin(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Origin `. Returns the Origin at index idx. .. py:method:: focalMechanism(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`FocalMechanism `. Returns the FocalMechanism at index idx. .. py:method:: event(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Event `. Returns the Event at index idx. .. py:method:: findPick(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Pick `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findAmplitude(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Amplitude `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findReading(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Reading `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findOrigin(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Origin `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findFocalMechanism(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`FocalMechanism `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findEvent(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Event `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned EventParameters. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-focalmechanism: .. py:class:: FocalMechanism Inherits :ref:`PublicObject `. This class describes the focal mechanism of an event. It includes different descriptions like nodal planes, principal axes, and a moment tensor. The moment tensor description is provided by objects of the class MomentTensor which can be specified as child elements of FocalMechanism. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type FocalMechanism if the cast was successful, None otherwise. Cast an arbitrary object to FocalMechanism if the internal wrapped representation is an FocalMechanism object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type FocalMechanism. Creates and registers (if enabled) a FocalMechanism instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type FocalMechanism. Creates and registers (if enabled) a FocalMechanism instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`FocalMechanism ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setTriggeringOriginID(triggeringOriginID) :param triggeringOriginID: string Refers to the publicID of the triggering origin. .. py:method:: triggeringOriginID() :rtype: string .. py:method:: setNodalPlanes(nodalPlanes) :param nodalPlanes: :ref:`NodalPlanes ` Nodal planes of the focal mechanism. .. py:method:: nodalPlanes() :rtype: :ref:`NodalPlanes ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPrincipalAxes(principalAxes) :param principalAxes: :ref:`PrincipalAxes ` Principal axes of the focal mechanism. .. py:method:: principalAxes() :rtype: :ref:`PrincipalAxes ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuthalGap(azimuthalGap) :param azimuthalGap: float Largest azimuthal gap in distribution of stations used for determination of focal mechanism in degrees. .. py:method:: azimuthalGap() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setStationPolarityCount(stationPolarityCount) :param stationPolarityCount: int Number of station polarities used for determination of focal mechanism. .. py:method:: stationPolarityCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMisfit(misfit) :param misfit: float Fraction of misfit polarities in a first\-motion focal mechanism determination. Decimal fraction between 0 and 1. .. py:method:: misfit() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setStationDistributionRatio(stationDistributionRatio) :param stationDistributionRatio: float Station distribution ratio \(STDR\) parameter. Indicates how the stations are distributed about the focal sphere \(Reasenberg and Oppenheimer 1985\). Decimal fraction between 0 and 1. .. py:method:: stationDistributionRatio() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMethodID(methodID) :param methodID: string Resource identifier of the method used for determination of the focal mechanism. .. py:method:: methodID() :rtype: string .. py:method:: setEvaluationMode(evaluationMode) :param evaluationMode: EvaluationMode Evaluation mode of FocalMechanism. .. py:method:: evaluationMode() :rtype: EvaluationMode .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationStatus(evaluationStatus) :param evaluationStatus: EvaluationStatus Evaluation status of FocalMechanism. .. py:method:: evaluationStatus() :rtype: EvaluationStatus .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to FocalMechanism. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(momentTensor) :param momentTensor: Object of type :ref:`MomentTensor ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a MomentTensor object to FocalMechanism. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from FocalMechanism. .. py:method:: remove(momentTensor) :param momentTensor: Object of type :ref:`MomentTensor ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added MomentTensor object from FocalMechanism. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMomentTensor(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: momentTensorCount() :rtype: integer value indicating the number of child objects. Returns the number of MomentTensor child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: momentTensor(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`MomentTensor `. Returns the MomentTensor at index idx. .. py:method:: findMomentTensor(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`MomentTensor `. Returns the child object with a certain publicID, None otherwise. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned FocalMechanism. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-focalmechanismreference: .. py:class:: FocalMechanismReference Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type FocalMechanismReference if the cast was successful, None otherwise. Cast an arbitrary object to FocalMechanismReference if the internal wrapped representation is an FocalMechanismReference object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`FocalMechanismReference ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type FocalMechanismReferenceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`FocalMechanismReference ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setFocalMechanismID(focalMechanismID) :param focalMechanismID: string .. py:method:: focalMechanismID() :rtype: string .. py:method:: event() :rtype: Event Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned FocalMechanismReference. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-integerquantity: .. py:class:: IntegerQuantity Inherits :ref:`Object `. Physical quantities expressed as integers are represented by their measured or computed values and optional values for symmetric or upper and lower uncertainties. The interpretation of these uncertainties is not defined in the standard. They can contain statistically well\-defined error measures, but the mechanism can also be used to simply describe a possible value range. If the confidence level of the uncertainty is known, it can be listed in the optional attribute confidenceLevel. Note that uncertainty, upperUncertainty, and lowerUncertainty are given as absolute values of the deviation from the main value. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type IntegerQuantity if the cast was successful, None otherwise. Cast an arbitrary object to IntegerQuantity if the internal wrapped representation is an IntegerQuantity object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`IntegerQuantity ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setValue(value) :param value: int Value of the quantity. The unit is implicitly defined and depends on the context. .. py:method:: value() :rtype: int .. py:method:: setUncertainty(uncertainty) :param uncertainty: int Uncertainty as the absolute value of symmetric deviation from the main value. .. py:method:: uncertainty() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLowerUncertainty(lowerUncertainty) :param lowerUncertainty: int Uncertainty as the absolute value of deviation from the main value towards smaller values. .. py:method:: lowerUncertainty() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUpperUncertainty(upperUncertainty) :param upperUncertainty: int Uncertainty as the absolute value of deviation from the main value towards larger values. .. py:method:: upperUncertainty() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setConfidenceLevel(confidenceLevel) :param confidenceLevel: float Confidence level of the uncertainty, given in percent. .. py:method:: confidenceLevel() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-inventory: .. py:class:: Inventory Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Inventory if the cast was successful, None otherwise. Cast an arbitrary object to Inventory if the internal wrapped representation is an Inventory object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Inventory ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(stationGroup) :param stationGroup: Object of type :ref:`StationGroup ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a StationGroup object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(auxDevice) :param auxDevice: Object of type :ref:`AuxDevice ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a AuxDevice object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(sensor) :param sensor: Object of type :ref:`Sensor ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Sensor object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(datalogger) :param datalogger: Object of type :ref:`Datalogger ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Datalogger object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(responsePAZ) :param responsePAZ: Object of type :ref:`ResponsePAZ ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ResponsePAZ object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(responseFIR) :param responseFIR: Object of type :ref:`ResponseFIR ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ResponseFIR object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(responseIIR) :param responseIIR: Object of type :ref:`ResponseIIR ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ResponseIIR object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(responsePolynomial) :param responsePolynomial: Object of type :ref:`ResponsePolynomial ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ResponsePolynomial object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(responseFAP) :param responseFAP: Object of type :ref:`ResponseFAP ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a ResponseFAP object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(network) :param network: Object of type :ref:`Network ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Network object to Inventory. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(stationGroup) :param stationGroup: Object of type :ref:`StationGroup ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added StationGroup object from Inventory. .. py:method:: remove(auxDevice) :param auxDevice: Object of type :ref:`AuxDevice ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added AuxDevice object from Inventory. .. py:method:: remove(sensor) :param sensor: Object of type :ref:`Sensor ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Sensor object from Inventory. .. py:method:: remove(datalogger) :param datalogger: Object of type :ref:`Datalogger ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Datalogger object from Inventory. .. py:method:: remove(responsePAZ) :param responsePAZ: Object of type :ref:`ResponsePAZ ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ResponsePAZ object from Inventory. .. py:method:: remove(responseFIR) :param responseFIR: Object of type :ref:`ResponseFIR ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ResponseFIR object from Inventory. .. py:method:: remove(responseIIR) :param responseIIR: Object of type :ref:`ResponseIIR ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ResponseIIR object from Inventory. .. py:method:: remove(responsePolynomial) :param responsePolynomial: Object of type :ref:`ResponsePolynomial ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ResponsePolynomial object from Inventory. .. py:method:: remove(responseFAP) :param responseFAP: Object of type :ref:`ResponseFAP ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added ResponseFAP object from Inventory. .. py:method:: remove(network) :param network: Object of type :ref:`Network ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Network object from Inventory. .. py:method:: removeStationGroup(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStationGroup(stationGroupIndex); :param stationGroupIndex: The index of the object to be removed of type StationGroupIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAuxDevice(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAuxDevice(auxDeviceIndex); :param auxDeviceIndex: The index of the object to be removed of type AuxDeviceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSensor(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSensor(sensorIndex); :param sensorIndex: The index of the object to be removed of type SensorIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDatalogger(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDatalogger(dataloggerIndex); :param dataloggerIndex: The index of the object to be removed of type DataloggerIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponsePAZ(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponsePAZ(responsePAZIndex); :param responsePAZIndex: The index of the object to be removed of type ResponsePAZIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseFIR(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseFIR(responseFIRIndex); :param responseFIRIndex: The index of the object to be removed of type ResponseFIRIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseIIR(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseIIR(responseIIRIndex); :param responseIIRIndex: The index of the object to be removed of type ResponseIIRIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponsePolynomial(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponsePolynomial(responsePolynomialIndex); :param responsePolynomialIndex: The index of the object to be removed of type ResponsePolynomialIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseFAP(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeResponseFAP(responseFAPIndex); :param responseFAPIndex: The index of the object to be removed of type ResponseFAPIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeNetwork(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeNetwork(networkIndex); :param networkIndex: The index of the object to be removed of type NetworkIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: stationGroupCount() :rtype: integer value indicating the number of child objects. Returns the number of StationGroup child objects. .. py:method:: auxDeviceCount() :rtype: integer value indicating the number of child objects. Returns the number of AuxDevice child objects. .. py:method:: sensorCount() :rtype: integer value indicating the number of child objects. Returns the number of Sensor child objects. .. py:method:: dataloggerCount() :rtype: integer value indicating the number of child objects. Returns the number of Datalogger child objects. .. py:method:: responsePAZCount() :rtype: integer value indicating the number of child objects. Returns the number of ResponsePAZ child objects. .. py:method:: responseFIRCount() :rtype: integer value indicating the number of child objects. Returns the number of ResponseFIR child objects. .. py:method:: responseIIRCount() :rtype: integer value indicating the number of child objects. Returns the number of ResponseIIR child objects. .. py:method:: responsePolynomialCount() :rtype: integer value indicating the number of child objects. Returns the number of ResponsePolynomial child objects. .. py:method:: responseFAPCount() :rtype: integer value indicating the number of child objects. Returns the number of ResponseFAP child objects. .. py:method:: networkCount() :rtype: integer value indicating the number of child objects. Returns the number of Network child objects. .. py:method:: stationGroup(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`StationGroup `. Returns the StationGroup at index idx. .. py:method:: stationGroup(stationGroupIndex) :param stationGroupIndex: The index of the object to be removed of type StationGroupIndex. :rtype: Object of type :ref:`StationGroup `. Returns the StationGroup at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: auxDevice(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`AuxDevice `. Returns the AuxDevice at index idx. .. py:method:: auxDevice(auxDeviceIndex) :param auxDeviceIndex: The index of the object to be removed of type AuxDeviceIndex. :rtype: Object of type :ref:`AuxDevice `. Returns the AuxDevice at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: sensor(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Sensor `. Returns the Sensor at index idx. .. py:method:: sensor(sensorIndex) :param sensorIndex: The index of the object to be removed of type SensorIndex. :rtype: Object of type :ref:`Sensor `. Returns the Sensor at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: datalogger(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Datalogger `. Returns the Datalogger at index idx. .. py:method:: datalogger(dataloggerIndex) :param dataloggerIndex: The index of the object to be removed of type DataloggerIndex. :rtype: Object of type :ref:`Datalogger `. Returns the Datalogger at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: responsePAZ(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ResponsePAZ `. Returns the ResponsePAZ at index idx. .. py:method:: responsePAZ(responsePAZIndex) :param responsePAZIndex: The index of the object to be removed of type ResponsePAZIndex. :rtype: Object of type :ref:`ResponsePAZ `. Returns the ResponsePAZ at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: responseFIR(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ResponseFIR `. Returns the ResponseFIR at index idx. .. py:method:: responseFIR(responseFIRIndex) :param responseFIRIndex: The index of the object to be removed of type ResponseFIRIndex. :rtype: Object of type :ref:`ResponseFIR `. Returns the ResponseFIR at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: responseIIR(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ResponseIIR `. Returns the ResponseIIR at index idx. .. py:method:: responseIIR(responseIIRIndex) :param responseIIRIndex: The index of the object to be removed of type ResponseIIRIndex. :rtype: Object of type :ref:`ResponseIIR `. Returns the ResponseIIR at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: responsePolynomial(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ResponsePolynomial `. Returns the ResponsePolynomial at index idx. .. py:method:: responsePolynomial(responsePolynomialIndex) :param responsePolynomialIndex: The index of the object to be removed of type ResponsePolynomialIndex. :rtype: Object of type :ref:`ResponsePolynomial `. Returns the ResponsePolynomial at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: responseFAP(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`ResponseFAP `. Returns the ResponseFAP at index idx. .. py:method:: responseFAP(responseFAPIndex) :param responseFAPIndex: The index of the object to be removed of type ResponseFAPIndex. :rtype: Object of type :ref:`ResponseFAP `. Returns the ResponseFAP at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: network(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Network `. Returns the Network at index idx. .. py:method:: network(networkIndex) :param networkIndex: The index of the object to be removed of type NetworkIndex. :rtype: Object of type :ref:`Network `. Returns the Network at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findStationGroup(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`StationGroup `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findAuxDevice(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`AuxDevice `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findSensor(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Sensor `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findDatalogger(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Datalogger `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findResponsePAZ(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ResponsePAZ `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findResponseFIR(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ResponseFIR `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findResponseIIR(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ResponseIIR `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findResponsePolynomial(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ResponsePolynomial `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findResponseFAP(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`ResponseFAP `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findNetwork(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Network `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Inventory. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-journalentry: .. py:class:: JournalEntry Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type JournalEntry if the cast was successful, None otherwise. Cast an arbitrary object to JournalEntry if the internal wrapped representation is an JournalEntry object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`JournalEntry ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setObjectID(objectID) :param objectID: string .. py:method:: objectID() :rtype: string .. py:method:: setSender(sender) :param sender: string .. py:method:: sender() :rtype: string .. py:method:: setAction(action) :param action: string .. py:method:: action() :rtype: string .. py:method:: setParameters(parameters) :param parameters: string .. py:method:: parameters() :rtype: string .. py:method:: journaling() :rtype: Journaling Returns the parent Journaling if available. Returns None if the parent is not a Journaling. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned JournalEntry. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-journaling: .. py:class:: Journaling Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Journaling if the cast was successful, None otherwise. Cast an arbitrary object to Journaling if the internal wrapped representation is an Journaling object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Journaling ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(journalEntry) :param journalEntry: Object of type :ref:`JournalEntry ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a JournalEntry object to Journaling. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(journalEntry) :param journalEntry: Object of type :ref:`JournalEntry ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added JournalEntry object from Journaling. .. py:method:: removeJournalEntry(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: journalEntryCount() :rtype: integer value indicating the number of child objects. Returns the number of JournalEntry child objects. .. py:method:: journalEntry(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`JournalEntry `. Returns the JournalEntry at index idx. .. py:method:: findJournalEntry(journalEntry) :param journalEntry: Reference object of type :ref:`JournalEntry `. :rtype: Object of type :ref:`JournalEntry `. Returns the child object with equals the passed object, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Journaling. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-magnitude: .. py:class:: Magnitude Inherits :ref:`PublicObject `. Describes a magnitude which can, but does not need to be associated with an origin. Association with an origin is expressed with the optional attribute originID. It is either a combination of different magnitude estimations, or it represents the reported magnitude for the given event. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Magnitude if the cast was successful, None otherwise. Cast an arbitrary object to Magnitude if the internal wrapped representation is an Magnitude object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Magnitude. Creates and registers (if enabled) a Magnitude instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Magnitude. Creates and registers (if enabled) a Magnitude instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Magnitude ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setMagnitude(magnitude) :param magnitude: :ref:`RealQuantity ` Resulting magnitude value from combining values of type StationMagnitude. If no estimations are available, this value can represent the reported magnitude. .. py:method:: magnitude() :rtype: :ref:`RealQuantity ` .. py:method:: setType(type) :param type: string Describes the type of magnitude. This is a free\-text field because it is impossible to cover all existing magnitude type designations with an enumeration. Possible values are unspecified magitude \(M\), local magnitude \(ML\), body wave magnitude \(Mb\), surface wave magnitude \(MS\), moment magnitude \(Mw\), duration magnitude \(Md\), coda magnitude \(Mc\), MH, Mwp, M50, M100, etc. .. py:method:: type() :rtype: string .. py:method:: setOriginID(originID) :param originID: string Reference to an origin's publicID if the magnitude has an associated Origin. .. py:method:: originID() :rtype: string .. py:method:: setMethodID(methodID) :param methodID: string Identifies the method of magnitude estimation. Users should avoid to give contradictory information in methodID and type. .. py:method:: methodID() :rtype: string .. py:method:: setStationCount(stationCount) :param stationCount: int Number of used stations for this magnitude computation. .. py:method:: stationCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuthalGap(azimuthalGap) :param azimuthalGap: float Azimuthal gap for this magnitude computation in degrees. .. py:method:: azimuthalGap() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationStatus(evaluationStatus) :param evaluationStatus: EvaluationStatus Evaluation status of Magnitude. .. py:method:: evaluationStatus() :rtype: EvaluationStatus .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Magnitude object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Magnitude. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(stationMagnitudeContribution) :param stationMagnitudeContribution: Object of type :ref:`StationMagnitudeContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a StationMagnitudeContribution object to Magnitude. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Magnitude. .. py:method:: remove(stationMagnitudeContribution) :param stationMagnitudeContribution: Object of type :ref:`StationMagnitudeContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added StationMagnitudeContribution object from Magnitude. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStationMagnitudeContribution(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStationMagnitudeContribution(stationMagnitudeContributionIndex); :param stationMagnitudeContributionIndex: The index of the object to be removed of type StationMagnitudeContributionIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: stationMagnitudeContributionCount() :rtype: integer value indicating the number of child objects. Returns the number of StationMagnitudeContribution child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: stationMagnitudeContribution(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`StationMagnitudeContribution `. Returns the StationMagnitudeContribution at index idx. .. py:method:: stationMagnitudeContribution(stationMagnitudeContributionIndex) :param stationMagnitudeContributionIndex: The index of the object to be removed of type StationMagnitudeContributionIndex. :rtype: Object of type :ref:`StationMagnitudeContribution `. Returns the StationMagnitudeContribution at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: origin() :rtype: Origin Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Magnitude. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-momenttensor: .. py:class:: MomentTensor Inherits :ref:`PublicObject `. This class represents a moment tensor solution for an event. It is an optional part of a FocalMechanism description. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type MomentTensor if the cast was successful, None otherwise. Cast an arbitrary object to MomentTensor if the internal wrapped representation is an MomentTensor object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type MomentTensor. Creates and registers (if enabled) a MomentTensor instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type MomentTensor. Creates and registers (if enabled) a MomentTensor instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`MomentTensor ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setDerivedOriginID(derivedOriginID) :param derivedOriginID: string Refers to the publicID of the Origin derived in the moment tensor inversion. .. py:method:: derivedOriginID() :rtype: string .. py:method:: setMomentMagnitudeID(momentMagnitudeID) :param momentMagnitudeID: string Refers to the publicID of the Magnitude object which represents the derived moment magnitude. .. py:method:: momentMagnitudeID() :rtype: string .. py:method:: setScalarMoment(scalarMoment) :param scalarMoment: :ref:`RealQuantity ` Scalar moment as derived in moment tensor inversion in Nm. .. py:method:: scalarMoment() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTensor(tensor) :param tensor: :ref:`Tensor ` Tensor object holding the moment tensor elements. .. py:method:: tensor() :rtype: :ref:`Tensor ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setVariance(variance) :param variance: float Variance of moment tensor inversion. .. py:method:: variance() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setVarianceReduction(varianceReduction) :param varianceReduction: float Variance reduction of moment tensor inversion, given in percent \(Dreger 2003\). This is a goodness\-of\-fit measure. .. py:method:: varianceReduction() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDoubleCouple(doubleCouple) :param doubleCouple: float Double couple parameter obtained from moment tensor inversion \(decimal fraction between 0 and 1\). .. py:method:: doubleCouple() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setClvd(clvd) :param clvd: float CLVD \(compensated linear vector dipole\) parameter obtained from moment tensor inversion \(decimal fraction between 0 and 1\). .. py:method:: clvd() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setIso(iso) :param iso: float Isotropic part obtained from moment tensor inversion \(decimal fraction between 0 and 1\). .. py:method:: iso() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGreensFunctionID(greensFunctionID) :param greensFunctionID: string Resource identifier of the Green's function used in moment tensor inversion. .. py:method:: greensFunctionID() :rtype: string .. py:method:: setFilterID(filterID) :param filterID: string Resource identifier of the filter setup used in moment tensor inversion. .. py:method:: filterID() :rtype: string .. py:method:: setSourceTimeFunction(sourceTimeFunction) :param sourceTimeFunction: :ref:`SourceTimeFunction ` Source time function used in moment\-tensor inversion. .. py:method:: sourceTimeFunction() :rtype: :ref:`SourceTimeFunction ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMethodID(methodID) :param methodID: string Resource identifier of the method used for moment\-tensor inversion. .. py:method:: methodID() :rtype: string .. py:method:: setMethod(method) :param method: MomentTensorMethod Moment tensor method used. .. py:method:: method() :rtype: MomentTensorMethod .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setStatus(status) :param status: MomentTensorStatus Status of moment tensor. .. py:method:: status() :rtype: MomentTensorStatus .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCmtName(cmtName) :param cmtName: string .. py:method:: cmtName() :rtype: string .. py:method:: setCmtVersion(cmtVersion) :param cmtVersion: string .. py:method:: cmtVersion() :rtype: string .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the MomentTensor object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to MomentTensor. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(dataUsed) :param dataUsed: Object of type :ref:`DataUsed ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a DataUsed object to MomentTensor. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(momentTensorPhaseSetting) :param momentTensorPhaseSetting: Object of type :ref:`MomentTensorPhaseSetting ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a MomentTensorPhaseSetting object to MomentTensor. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(momentTensorStationContribution) :param momentTensorStationContribution: Object of type :ref:`MomentTensorStationContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a MomentTensorStationContribution object to MomentTensor. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from MomentTensor. .. py:method:: remove(dataUsed) :param dataUsed: Object of type :ref:`DataUsed ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added DataUsed object from MomentTensor. .. py:method:: remove(momentTensorPhaseSetting) :param momentTensorPhaseSetting: Object of type :ref:`MomentTensorPhaseSetting ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added MomentTensorPhaseSetting object from MomentTensor. .. py:method:: remove(momentTensorStationContribution) :param momentTensorStationContribution: Object of type :ref:`MomentTensorStationContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added MomentTensorStationContribution object from MomentTensor. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeDataUsed(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMomentTensorPhaseSetting(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMomentTensorPhaseSetting(momentTensorPhaseSettingIndex); :param momentTensorPhaseSettingIndex: The index of the object to be removed of type MomentTensorPhaseSettingIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMomentTensorStationContribution(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: dataUsedCount() :rtype: integer value indicating the number of child objects. Returns the number of DataUsed child objects. .. py:method:: momentTensorPhaseSettingCount() :rtype: integer value indicating the number of child objects. Returns the number of MomentTensorPhaseSetting child objects. .. py:method:: momentTensorStationContributionCount() :rtype: integer value indicating the number of child objects. Returns the number of MomentTensorStationContribution child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: dataUsed(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`DataUsed `. Returns the DataUsed at index idx. .. py:method:: momentTensorPhaseSetting(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`MomentTensorPhaseSetting `. Returns the MomentTensorPhaseSetting at index idx. .. py:method:: momentTensorPhaseSetting(momentTensorPhaseSettingIndex) :param momentTensorPhaseSettingIndex: The index of the object to be removed of type MomentTensorPhaseSettingIndex. :rtype: Object of type :ref:`MomentTensorPhaseSetting `. Returns the MomentTensorPhaseSetting at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: momentTensorStationContribution(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`MomentTensorStationContribution `. Returns the MomentTensorStationContribution at index idx. .. py:method:: findDataUsed(dataUsed) :param dataUsed: Reference object of type :ref:`DataUsed `. :rtype: Object of type :ref:`DataUsed `. Returns the child object with equals the passed object, None otherwise. .. py:method:: findMomentTensorStationContribution(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`MomentTensorStationContribution `. Returns the child object with a certain publicID, None otherwise. .. py:method:: focalMechanism() :rtype: FocalMechanism Returns the parent FocalMechanism if available. Returns None if the parent is not a FocalMechanism. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned MomentTensor. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-momenttensorcomponentcontribution: .. py:class:: MomentTensorComponentContribution Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type MomentTensorComponentContribution if the cast was successful, None otherwise. Cast an arbitrary object to MomentTensorComponentContribution if the internal wrapped representation is an MomentTensorComponentContribution object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`MomentTensorComponentContribution ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type MomentTensorComponentContributionIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`MomentTensorComponentContribution ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setPhaseCode(phaseCode) :param phaseCode: string .. py:method:: phaseCode() :rtype: string .. py:method:: setComponent(component) :param component: int .. py:method:: component() :rtype: int .. py:method:: setActive(active) :param active: boolean .. py:method:: active() :rtype: boolean .. py:method:: setWeight(weight) :param weight: float .. py:method:: weight() :rtype: float .. py:method:: setTimeShift(timeShift) :param timeShift: float .. py:method:: timeShift() :rtype: float .. py:method:: setDataTimeWindow(dataTimeWindow) :param dataTimeWindow: float .. py:method:: dataTimeWindow() :rtype: float .. py:method:: setMisfit(misfit) :param misfit: float .. py:method:: misfit() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSnr(snr) :param snr: float .. py:method:: snr() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: momentTensorStationContribution() :rtype: MomentTensorStationContribution Returns the parent MomentTensorStationContribution if available. Returns None if the parent is not a MomentTensorStationContribution. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned MomentTensorComponentContribution. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-momenttensorphasesetting: .. py:class:: MomentTensorPhaseSetting Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type MomentTensorPhaseSetting if the cast was successful, None otherwise. Cast an arbitrary object to MomentTensorPhaseSetting if the internal wrapped representation is an MomentTensorPhaseSetting object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`MomentTensorPhaseSetting ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type MomentTensorPhaseSettingIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`MomentTensorPhaseSetting ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string .. py:method:: code() :rtype: string .. py:method:: setLowerPeriod(lowerPeriod) :param lowerPeriod: float .. py:method:: lowerPeriod() :rtype: float .. py:method:: setUpperPeriod(upperPeriod) :param upperPeriod: float .. py:method:: upperPeriod() :rtype: float .. py:method:: setMinimumSNR(minimumSNR) :param minimumSNR: float .. py:method:: minimumSNR() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMaximumTimeShift(maximumTimeShift) :param maximumTimeShift: float .. py:method:: maximumTimeShift() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: momentTensor() :rtype: MomentTensor Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned MomentTensorPhaseSetting. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-momenttensorstationcontribution: .. py:class:: MomentTensorStationContribution Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type MomentTensorStationContribution if the cast was successful, None otherwise. Cast an arbitrary object to MomentTensorStationContribution if the internal wrapped representation is an MomentTensorStationContribution object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type MomentTensorStationContribution. Creates and registers (if enabled) a MomentTensorStationContribution instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type MomentTensorStationContribution. Creates and registers (if enabled) a MomentTensorStationContribution instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`MomentTensorStationContribution ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setActive(active) :param active: boolean .. py:method:: active() :rtype: boolean .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setWeight(weight) :param weight: float .. py:method:: weight() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTimeShift(timeShift) :param timeShift: float .. py:method:: timeShift() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(momentTensorComponentContribution) :param momentTensorComponentContribution: Object of type :ref:`MomentTensorComponentContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a MomentTensorComponentContribution object to MomentTensorStationContribution. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(momentTensorComponentContribution) :param momentTensorComponentContribution: Object of type :ref:`MomentTensorComponentContribution ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added MomentTensorComponentContribution object from MomentTensorStationContribution. .. py:method:: removeMomentTensorComponentContribution(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMomentTensorComponentContribution(momentTensorComponentContributionIndex); :param momentTensorComponentContributionIndex: The index of the object to be removed of type MomentTensorComponentContributionIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: momentTensorComponentContributionCount() :rtype: integer value indicating the number of child objects. Returns the number of MomentTensorComponentContribution child objects. .. py:method:: momentTensorComponentContribution(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`MomentTensorComponentContribution `. Returns the MomentTensorComponentContribution at index idx. .. py:method:: momentTensorComponentContribution(momentTensorComponentContributionIndex) :param momentTensorComponentContributionIndex: The index of the object to be removed of type MomentTensorComponentContributionIndex. :rtype: Object of type :ref:`MomentTensorComponentContribution `. Returns the MomentTensorComponentContribution at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: momentTensor() :rtype: MomentTensor Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned MomentTensorStationContribution. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-network: .. py:class:: Network Inherits :ref:`PublicObject `. This type describes a network of seismic stations .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Network if the cast was successful, None otherwise. Cast an arbitrary object to Network if the internal wrapped representation is an Network object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Network. Creates and registers (if enabled) a Network instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Network. Creates and registers (if enabled) a Network instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Network ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type NetworkIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Network ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string Network code \(50.16\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of network epoch in ISO datetime format. Needed primarily to identifytemorary networks that re\-use network codes .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of station epoch. Empty string if the station is open .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDescription(description) :param description: string Network description \(50.10\) .. py:method:: description() :rtype: string .. py:method:: setInstitutions(institutions) :param institutions: string Institution\(s\) operating the network .. py:method:: institutions() :rtype: string .. py:method:: setRegion(region) :param region: string Region of the network \(eg., euromed, global\) .. py:method:: region() :rtype: string .. py:method:: setType(type) :param type: string Type of the network \(eg., VBB, SP\) .. py:method:: type() :rtype: string .. py:method:: setNetClass(netClass) :param netClass: string ';p'; for permanent, ';t'; for temporary .. py:method:: netClass() :rtype: string .. py:method:: setArchive(archive) :param archive: string Archive\/Datacenter ID \(metadata authority\) .. py:method:: archive() :rtype: string .. py:method:: setRestricted(restricted) :param restricted: boolean Whether the network is \"restricted\" .. py:method:: restricted() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setShared(shared) :param shared: boolean Whether the metadata is synchronized with other datacenters .. py:method:: shared() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` Any notes .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Network. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(station) :param station: Object of type :ref:`Station ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Station object to Network. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Network. .. py:method:: remove(station) :param station: Object of type :ref:`Station ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Station object from Network. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStation(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStation(stationIndex); :param stationIndex: The index of the object to be removed of type StationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: stationCount() :rtype: integer value indicating the number of child objects. Returns the number of Station child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: station(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Station `. Returns the Station at index idx. .. py:method:: station(stationIndex) :param stationIndex: The index of the object to be removed of type StationIndex. :rtype: Object of type :ref:`Station `. Returns the Station at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findStation(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Station `. Returns the child object with a certain publicID, None otherwise. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Network. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-nodalplane: .. py:class:: NodalPlane Inherits :ref:`Object `. This class describes a nodal plane using the attributes strike, dip, and rake. For a definition of the angles see Aki and Richards \(1980\). .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type NodalPlane if the cast was successful, None otherwise. Cast an arbitrary object to NodalPlane if the internal wrapped representation is an NodalPlane object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`NodalPlane ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setStrike(strike) :param strike: :ref:`RealQuantity ` Strike angle of nodal plane in degrees. .. py:method:: strike() :rtype: :ref:`RealQuantity ` .. py:method:: setDip(dip) :param dip: :ref:`RealQuantity ` Dip angle of nodal plane in degrees. .. py:method:: dip() :rtype: :ref:`RealQuantity ` .. py:method:: setRake(rake) :param rake: :ref:`RealQuantity ` Rake angle of nodal plane in degrees. .. py:method:: rake() :rtype: :ref:`RealQuantity ` .. _api-python-datamodel-nodalplanes: .. py:class:: NodalPlanes Inherits :ref:`Object `. This class describes the nodal planes of a double\-couple moment\-tensor solution. The attribute preferredPlane can be used to define which plane is the preferred one. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type NodalPlanes if the cast was successful, None otherwise. Cast an arbitrary object to NodalPlanes if the internal wrapped representation is an NodalPlanes object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`NodalPlanes ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setNodalPlane1(nodalPlane1) :param nodalPlane1: :ref:`NodalPlane ` First nodal plane of double\-couple moment tensor solution. .. py:method:: nodalPlane1() :rtype: :ref:`NodalPlane ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNodalPlane2(nodalPlane2) :param nodalPlane2: :ref:`NodalPlane ` Second nodal plane of double\-couple moment tensor solution. .. py:method:: nodalPlane2() :rtype: :ref:`NodalPlane ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPreferredPlane(preferredPlane) :param preferredPlane: int Indicator for preferred nodal plane of moment tensor solution. It can take integer values 1 or 2. .. py:method:: preferredPlane() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-origin: .. py:class:: Origin Inherits :ref:`PublicObject `. This class represents the focal time and geographical location of an earthquake hypocenter, as well as additional meta\-information. Origin can have objects of type OriginUncertainty and Arrival as child elements. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Origin if the cast was successful, None otherwise. Cast an arbitrary object to Origin if the internal wrapped representation is an Origin object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Origin. Creates and registers (if enabled) a Origin instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Origin. Creates and registers (if enabled) a Origin instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Origin ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setTime(time) :param time: :ref:`TimeQuantity ` Focal time as TimeQuantity. .. py:method:: time() :rtype: :ref:`TimeQuantity ` .. py:method:: setLatitude(latitude) :param latitude: :ref:`RealQuantity ` Hypocenter longitude, with respect to the World Geodetic System 1984 \(WGS84\) reference system \(National Imagery and Mapping Agency 2000\) in degrees. The uncertainties are given in kilometers. .. py:method:: latitude() :rtype: :ref:`RealQuantity ` .. py:method:: setLongitude(longitude) :param longitude: :ref:`RealQuantity ` Hypocenter latitude, with respect to the WGS84 reference system in degrees. The uncertainties are given in kilometers. .. py:method:: longitude() :rtype: :ref:`RealQuantity ` .. py:method:: setDepth(depth) :param depth: :ref:`RealQuantity ` Depth of hypocenter with respect to the nominal sea level given by the WGS84 geoid \(Earth Gravitational Model, EGM96, Lemoine et al. 1998\). Positive values indicate hypocenters below sea level. For shallow hypocenters, the depth value can be negative. The depth is defined in km. .. py:method:: depth() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDepthType(depthType) :param depthType: OriginDepthType Type of depth determination. .. py:method:: depthType() :rtype: OriginDepthType .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTimeFixed(timeFixed) :param timeFixed: boolean Boolean flag. True if focal time was kept fixed for computation of the Origin. .. py:method:: timeFixed() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEpicenterFixed(epicenterFixed) :param epicenterFixed: boolean Boolean flag. True if epicenter was kept fixed for computation of Origin. .. py:method:: epicenterFixed() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setReferenceSystemID(referenceSystemID) :param referenceSystemID: string Identifies the reference system used for hypocenter determination. This is only necessary if a modified version of the standard \(with local extensions\) is used that provides a non\-standard coordinate system. .. py:method:: referenceSystemID() :rtype: string .. py:method:: setMethodID(methodID) :param methodID: string Identifies the method used for locating the event. .. py:method:: methodID() :rtype: string .. py:method:: setEarthModelID(earthModelID) :param earthModelID: string Identifies the earth model used in methodID. .. py:method:: earthModelID() :rtype: string .. py:method:: setQuality(quality) :param quality: :ref:`OriginQuality ` Additional parameters describing the quality of an Origin determination. .. py:method:: quality() :rtype: :ref:`OriginQuality ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUncertainty(uncertainty) :param uncertainty: :ref:`OriginUncertainty ` Additional parameters describing the uncertainty of an Origin determination. .. py:method:: uncertainty() :rtype: :ref:`OriginUncertainty ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setType(type) :param type: OriginType Describes the Origin type. .. py:method:: type() :rtype: OriginType .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationMode(evaluationMode) :param evaluationMode: EvaluationMode Evaluation mode of Origin. .. py:method:: evaluationMode() :rtype: EvaluationMode .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationStatus(evaluationStatus) :param evaluationStatus: EvaluationStatus Evaluation status of Origin. .. py:method:: evaluationStatus() :rtype: EvaluationStatus .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Origin object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Origin. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(compositeTime) :param compositeTime: Object of type :ref:`CompositeTime ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a CompositeTime object to Origin. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(arrival) :param arrival: Object of type :ref:`Arrival ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Arrival object to Origin. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(stationMagnitude) :param stationMagnitude: Object of type :ref:`StationMagnitude ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a StationMagnitude object to Origin. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(magnitude) :param magnitude: Object of type :ref:`Magnitude ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Magnitude object to Origin. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Origin. .. py:method:: remove(compositeTime) :param compositeTime: Object of type :ref:`CompositeTime ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added CompositeTime object from Origin. .. py:method:: remove(arrival) :param arrival: Object of type :ref:`Arrival ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Arrival object from Origin. .. py:method:: remove(stationMagnitude) :param stationMagnitude: Object of type :ref:`StationMagnitude ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added StationMagnitude object from Origin. .. py:method:: remove(magnitude) :param magnitude: Object of type :ref:`Magnitude ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Magnitude object from Origin. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeCompositeTime(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArrival(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeArrival(arrivalIndex); :param arrivalIndex: The index of the object to be removed of type ArrivalIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStationMagnitude(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeMagnitude(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: compositeTimeCount() :rtype: integer value indicating the number of child objects. Returns the number of CompositeTime child objects. .. py:method:: arrivalCount() :rtype: integer value indicating the number of child objects. Returns the number of Arrival child objects. .. py:method:: stationMagnitudeCount() :rtype: integer value indicating the number of child objects. Returns the number of StationMagnitude child objects. .. py:method:: magnitudeCount() :rtype: integer value indicating the number of child objects. Returns the number of Magnitude child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: compositeTime(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`CompositeTime `. Returns the CompositeTime at index idx. .. py:method:: arrival(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Arrival `. Returns the Arrival at index idx. .. py:method:: arrival(arrivalIndex) :param arrivalIndex: The index of the object to be removed of type ArrivalIndex. :rtype: Object of type :ref:`Arrival `. Returns the Arrival at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: stationMagnitude(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`StationMagnitude `. Returns the StationMagnitude at index idx. .. py:method:: magnitude(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Magnitude `. Returns the Magnitude at index idx. .. py:method:: findCompositeTime(compositeTime) :param compositeTime: Reference object of type :ref:`CompositeTime `. :rtype: Object of type :ref:`CompositeTime `. Returns the child object with equals the passed object, None otherwise. .. py:method:: findStationMagnitude(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`StationMagnitude `. Returns the child object with a certain publicID, None otherwise. .. py:method:: findMagnitude(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Magnitude `. Returns the child object with a certain publicID, None otherwise. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Origin. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-originquality: .. py:class:: OriginQuality Inherits :ref:`Object `. This type contains various attributes commonly used to describe the quality of an origin, e. g., errors, azimuthal coverage, etc. Origin objects have an optional attribute of the type OriginQuality. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type OriginQuality if the cast was successful, None otherwise. Cast an arbitrary object to OriginQuality if the internal wrapped representation is an OriginQuality object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`OriginQuality ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setAssociatedPhaseCount(associatedPhaseCount) :param associatedPhaseCount: int Number of associated phases, regardless of their use for origin computation. .. py:method:: associatedPhaseCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUsedPhaseCount(usedPhaseCount) :param usedPhaseCount: int Number of defining phases, i. e., phase observations that were actually used for computing the origin. Note that there may be more than one defining phase per station. .. py:method:: usedPhaseCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAssociatedStationCount(associatedStationCount) :param associatedStationCount: int Number of stations at which the event was observed. .. py:method:: associatedStationCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUsedStationCount(usedStationCount) :param usedStationCount: int Number of stations from which data was used for origin computation. .. py:method:: usedStationCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDepthPhaseCount(depthPhaseCount) :param depthPhaseCount: int Number of depth phases \(typically pP, sometimes sP\) used in depth computation. .. py:method:: depthPhaseCount() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setStandardError(standardError) :param standardError: float RMS of the travel time residuals of the arrivals used for the origin computation in seconds. .. py:method:: standardError() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuthalGap(azimuthalGap) :param azimuthalGap: float Largest azimuthal gap in station distribution as seen from epicenter in degrees. .. py:method:: azimuthalGap() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSecondaryAzimuthalGap(secondaryAzimuthalGap) :param secondaryAzimuthalGap: float Secondary azimuthal gap in station distribution, i. e., the largest azimuthal gap a station closes in degrees. .. py:method:: secondaryAzimuthalGap() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGroundTruthLevel(groundTruthLevel) :param groundTruthLevel: string String describing ground\-truth level, e. g. GT0, GT5, etc. It has a maximum length of 16 characters. .. py:method:: groundTruthLevel() :rtype: string .. py:method:: setMaximumDistance(maximumDistance) :param maximumDistance: float Epicentral distance of station farthest from the epicenter in degrees. .. py:method:: maximumDistance() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMinimumDistance(minimumDistance) :param minimumDistance: float Epicentral distance of station closest to the epicenter in degrees. .. py:method:: minimumDistance() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMedianDistance(medianDistance) :param medianDistance: float Median epicentral distance of used stations in degrees. .. py:method:: medianDistance() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-originreference: .. py:class:: OriginReference Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type OriginReference if the cast was successful, None otherwise. Cast an arbitrary object to OriginReference if the internal wrapped representation is an OriginReference object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`OriginReference ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type OriginReferenceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`OriginReference ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setOriginID(originID) :param originID: string .. py:method:: originID() :rtype: string .. py:method:: event() :rtype: Event Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned OriginReference. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-originuncertainty: .. py:class:: OriginUncertainty Inherits :ref:`Object `. This class describes the location uncertainties of an origin. The uncertainty can be described either as a simple circular horizontal uncertainty, an uncertainty ellipse according to IMS1.0, or a confidence ellipsoid. If multiple uncertainty models are given, the preferred variant can be specified in the attribute preferredDescription. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type OriginUncertainty if the cast was successful, None otherwise. Cast an arbitrary object to OriginUncertainty if the internal wrapped representation is an OriginUncertainty object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`OriginUncertainty ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setHorizontalUncertainty(horizontalUncertainty) :param horizontalUncertainty: float Circular confidence region, given by single value of horizontal uncertainty in km. .. py:method:: horizontalUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMinHorizontalUncertainty(minHorizontalUncertainty) :param minHorizontalUncertainty: float Semi\-minor axis of confidence ellipse in km. .. py:method:: minHorizontalUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setMaxHorizontalUncertainty(maxHorizontalUncertainty) :param maxHorizontalUncertainty: float Semi\-major axis of confidence ellipse in km. .. py:method:: maxHorizontalUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuthMaxHorizontalUncertainty(azimuthMaxHorizontalUncertainty) :param azimuthMaxHorizontalUncertainty: float Azimuth of major axis of confidence ellipse. Measured clockwise from South\-North direction at epicenter in degrees. .. py:method:: azimuthMaxHorizontalUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setConfidenceEllipsoid(confidenceEllipsoid) :param confidenceEllipsoid: :ref:`ConfidenceEllipsoid ` Confidence ellipsoid. .. py:method:: confidenceEllipsoid() :rtype: :ref:`ConfidenceEllipsoid ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPreferredDescription(preferredDescription) :param preferredDescription: OriginUncertaintyDescription Preferred uncertainty description. .. py:method:: preferredDescription() :rtype: OriginUncertaintyDescription .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-outage: .. py:class:: Outage Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Outage if the cast was successful, None otherwise. Cast an arbitrary object to Outage if the internal wrapped representation is an Outage object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Outage ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type OutageIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Outage ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setCreatorID(creatorID) :param creatorID: string .. py:method:: creatorID() :rtype: string .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. py:method:: setStart(start) :param start: seiscomp3.Core.Time .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: qualityControl() :rtype: QualityControl Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Outage. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-parameter: .. py:class:: Parameter Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Parameter if the cast was successful, None otherwise. Cast an arbitrary object to Parameter if the internal wrapped representation is an Parameter object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Parameter. Creates and registers (if enabled) a Parameter instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Parameter. Creates and registers (if enabled) a Parameter instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Parameter ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setName(name) :param name: string .. py:method:: name() :rtype: string .. py:method:: setValue(value) :param value: string .. py:method:: value() :rtype: string .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Parameter. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Parameter. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: parameterSet() :rtype: ParameterSet Returns the parent ParameterSet if available. Returns None if the parent is not a ParameterSet. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Parameter. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-parameterset: .. py:class:: ParameterSet Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ParameterSet if the cast was successful, None otherwise. Cast an arbitrary object to ParameterSet if the internal wrapped representation is an ParameterSet object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ParameterSet. Creates and registers (if enabled) a ParameterSet instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ParameterSet. Creates and registers (if enabled) a ParameterSet instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ParameterSet ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setBaseID(baseID) :param baseID: string .. py:method:: baseID() :rtype: string .. py:method:: setModuleID(moduleID) :param moduleID: string .. py:method:: moduleID() :rtype: string .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(parameter) :param parameter: Object of type :ref:`Parameter ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Parameter object to ParameterSet. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to ParameterSet. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(parameter) :param parameter: Object of type :ref:`Parameter ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Parameter object from ParameterSet. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from ParameterSet. .. py:method:: removeParameter(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: parameterCount() :rtype: integer value indicating the number of child objects. Returns the number of Parameter child objects. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: parameter(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Parameter `. Returns the Parameter at index idx. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findParameter(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Parameter `. Returns the child object with a certain publicID, None otherwise. .. py:method:: config() :rtype: Config Returns the parent Config if available. Returns None if the parent is not a Config. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ParameterSet. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-phase: .. py:class:: Phase Inherits :ref:`Object `. Generic and extensible phase description that currently contains the phase code only. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Phase if the cast was successful, None otherwise. Cast an arbitrary object to Phase if the internal wrapped representation is an Phase object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Phase ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setCode(code) :param code: string Phase code as given in the IASPEI Standard Seismic Phase List \(Storchak et al. 2003\). String with a maximum length of 32 characters. .. py:method:: code() :rtype: string .. _api-python-datamodel-pick: .. py:class:: Pick Inherits :ref:`PublicObject `. A pick is the observation of an amplitude anomaly in a seismogram at a specific point in time. It is not necessarily related to a seismic event. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Pick if the cast was successful, None otherwise. Cast an arbitrary object to Pick if the internal wrapped representation is an Pick object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Pick. Creates and registers (if enabled) a Pick instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Pick. Creates and registers (if enabled) a Pick instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Pick ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setTime(time) :param time: :ref:`TimeQuantity ` Observed onset time of signal \(\"pick time\"\). .. py:method:: time() :rtype: :ref:`TimeQuantity ` .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` Identifes the waveform stream. .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setFilterID(filterID) :param filterID: string Identifies the filter or filter setup used for filtering the waveform stream referenced by waveformID. .. py:method:: filterID() :rtype: string .. py:method:: setMethodID(methodID) :param methodID: string Identifies the picker that produced the pick. This can be either a detection software program or a person. .. py:method:: methodID() :rtype: string .. py:method:: setHorizontalSlowness(horizontalSlowness) :param horizontalSlowness: :ref:`RealQuantity ` Observed horizontal slowness of the signal. Most relevant in array measurements in s\/deg. .. py:method:: horizontalSlowness() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setBackazimuth(backazimuth) :param backazimuth: :ref:`RealQuantity ` Observed backazimuth of the signal. Most relevant in array measurements in degrees. .. py:method:: backazimuth() :rtype: :ref:`RealQuantity ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSlownessMethodID(slownessMethodID) :param slownessMethodID: string Identifies the method that was used to determine the slowness. .. py:method:: slownessMethodID() :rtype: string .. py:method:: setOnset(onset) :param onset: PickOnset Flag that roughly categorizes the sharpness of the onset. .. py:method:: onset() :rtype: PickOnset .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPhaseHint(phaseHint) :param phaseHint: :ref:`Phase ` Tentative phase identification as specified by the picker. .. py:method:: phaseHint() :rtype: :ref:`Phase ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPolarity(polarity) :param polarity: PickPolarity Indicates the polarity of first motion, usually from impulsive onsets. .. py:method:: polarity() :rtype: PickPolarity .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationMode(evaluationMode) :param evaluationMode: EvaluationMode Evaluation mode of Pick. .. py:method:: evaluationMode() :rtype: EvaluationMode .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEvaluationStatus(evaluationStatus) :param evaluationStatus: EvaluationStatus Evaluation status of Pick. .. py:method:: evaluationStatus() :rtype: EvaluationStatus .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the Pick object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Pick. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Pick. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Pick. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-pickreference: .. py:class:: PickReference Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type PickReference if the cast was successful, None otherwise. Cast an arbitrary object to PickReference if the internal wrapped representation is an PickReference object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`PickReference ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type PickReferenceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`PickReference ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setPickID(pickID) :param pickID: string .. py:method:: pickID() :rtype: string .. py:method:: reading() :rtype: Reading Returns the parent Reading if available. Returns None if the parent is not a Reading. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned PickReference. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-principalaxes: .. py:class:: PrincipalAxes Inherits :ref:`Object `. This class describes the principal axes of a double\-couple moment tensor solution. tAxis and pAxis are required, while nAxis is optional. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type PrincipalAxes if the cast was successful, None otherwise. Cast an arbitrary object to PrincipalAxes if the internal wrapped representation is an PrincipalAxes object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`PrincipalAxes ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setTAxis(tAxis) :param tAxis: :ref:`Axis ` T \(tension\) axis of a double\-couple moment tensor solution. .. py:method:: tAxis() :rtype: :ref:`Axis ` .. py:method:: setPAxis(pAxis) :param pAxis: :ref:`Axis ` P \(pressure\) axis of a double\-couple moment tensor solution. .. py:method:: pAxis() :rtype: :ref:`Axis ` .. py:method:: setNAxis(nAxis) :param nAxis: :ref:`Axis ` N \(neutral\) axis of a double\-couple moment tensor solution. .. py:method:: nAxis() :rtype: :ref:`Axis ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-qclog: .. py:class:: QCLog Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type QCLog if the cast was successful, None otherwise. Cast an arbitrary object to QCLog if the internal wrapped representation is an QCLog object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type QCLog. Creates and registers (if enabled) a QCLog instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type QCLog. Creates and registers (if enabled) a QCLog instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`QCLog ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type QCLogIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`QCLog ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setCreatorID(creatorID) :param creatorID: string .. py:method:: creatorID() :rtype: string .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. py:method:: setStart(start) :param start: seiscomp3.Core.Time .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time .. py:method:: end() :rtype: seiscomp3.Core.Time .. py:method:: setMessage(message) :param message: string .. py:method:: message() :rtype: string .. py:method:: qualityControl() :rtype: QualityControl Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned QCLog. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-qualitycontrol: .. py:class:: QualityControl Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type QualityControl if the cast was successful, None otherwise. Cast an arbitrary object to QualityControl if the internal wrapped representation is an QualityControl object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`QualityControl ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(qCLog) :param qCLog: Object of type :ref:`QCLog ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a QCLog object to QualityControl. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(waveformQuality) :param waveformQuality: Object of type :ref:`WaveformQuality ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a WaveformQuality object to QualityControl. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(outage) :param outage: Object of type :ref:`Outage ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Outage object to QualityControl. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(qCLog) :param qCLog: Object of type :ref:`QCLog ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added QCLog object from QualityControl. .. py:method:: remove(waveformQuality) :param waveformQuality: Object of type :ref:`WaveformQuality ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added WaveformQuality object from QualityControl. .. py:method:: remove(outage) :param outage: Object of type :ref:`Outage ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Outage object from QualityControl. .. py:method:: removeQCLog(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeQCLog(qCLogIndex); :param qCLogIndex: The index of the object to be removed of type QCLogIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeWaveformQuality(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeWaveformQuality(waveformQualityIndex); :param waveformQualityIndex: The index of the object to be removed of type WaveformQualityIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeOutage(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeOutage(outageIndex); :param outageIndex: The index of the object to be removed of type OutageIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: qCLogCount() :rtype: integer value indicating the number of child objects. Returns the number of QCLog child objects. .. py:method:: waveformQualityCount() :rtype: integer value indicating the number of child objects. Returns the number of WaveformQuality child objects. .. py:method:: outageCount() :rtype: integer value indicating the number of child objects. Returns the number of Outage child objects. .. py:method:: qCLog(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`QCLog `. Returns the QCLog at index idx. .. py:method:: qCLog(qCLogIndex) :param qCLogIndex: The index of the object to be removed of type QCLogIndex. :rtype: Object of type :ref:`QCLog `. Returns the QCLog at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: waveformQuality(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`WaveformQuality `. Returns the WaveformQuality at index idx. .. py:method:: waveformQuality(waveformQualityIndex) :param waveformQualityIndex: The index of the object to be removed of type WaveformQualityIndex. :rtype: Object of type :ref:`WaveformQuality `. Returns the WaveformQuality at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: outage(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Outage `. Returns the Outage at index idx. .. py:method:: outage(outageIndex) :param outageIndex: The index of the object to be removed of type OutageIndex. :rtype: Object of type :ref:`Outage `. Returns the Outage at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findQCLog(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`QCLog `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned QualityControl. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-reading: .. py:class:: Reading Inherits :ref:`PublicObject `. This class groups Pick and Amplitude elements which are thought to belong to the same event, but for which the event identification is not known. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Reading if the cast was successful, None otherwise. Cast an arbitrary object to Reading if the internal wrapped representation is an Reading object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Reading. Creates and registers (if enabled) a Reading instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Reading. Creates and registers (if enabled) a Reading instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Reading ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(pickReference) :param pickReference: Object of type :ref:`PickReference ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a PickReference object to Reading. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(amplitudeReference) :param amplitudeReference: Object of type :ref:`AmplitudeReference ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a AmplitudeReference object to Reading. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(pickReference) :param pickReference: Object of type :ref:`PickReference ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added PickReference object from Reading. .. py:method:: remove(amplitudeReference) :param amplitudeReference: Object of type :ref:`AmplitudeReference ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added AmplitudeReference object from Reading. .. py:method:: removePickReference(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removePickReference(pickReferenceIndex); :param pickReferenceIndex: The index of the object to be removed of type PickReferenceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAmplitudeReference(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAmplitudeReference(amplitudeReferenceIndex); :param amplitudeReferenceIndex: The index of the object to be removed of type AmplitudeReferenceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: pickReferenceCount() :rtype: integer value indicating the number of child objects. Returns the number of PickReference child objects. .. py:method:: amplitudeReferenceCount() :rtype: integer value indicating the number of child objects. Returns the number of AmplitudeReference child objects. .. py:method:: pickReference(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`PickReference `. Returns the PickReference at index idx. .. py:method:: pickReference(pickReferenceIndex) :param pickReferenceIndex: The index of the object to be removed of type PickReferenceIndex. :rtype: Object of type :ref:`PickReference `. Returns the PickReference at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: amplitudeReference(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`AmplitudeReference `. Returns the AmplitudeReference at index idx. .. py:method:: amplitudeReference(amplitudeReferenceIndex) :param amplitudeReferenceIndex: The index of the object to be removed of type AmplitudeReferenceIndex. :rtype: Object of type :ref:`AmplitudeReference `. Returns the AmplitudeReference at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: eventParameters() :rtype: EventParameters Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Reading. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-realarray: .. py:class:: RealArray Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type RealArray if the cast was successful, None otherwise. Cast an arbitrary object to RealArray if the internal wrapped representation is an RealArray object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`RealArray ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setContent(content) :param content: float .. py:method:: content() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-realpdf1d: .. py:class:: RealPDF1D Inherits :ref:`Object `. A probability density function description. It can be used in three different modes: 1\) \"raw samples mode\" variable is a list of M values, no probability. The values represent samples, no binning\/probabilities made. 2\) \"implicitly binned PDF\" variable and probabilty arrays have length N. variable values to be interpreted as \"bin centers\" \(or representative values\), no bin edges given. 3\) \"explicitly binned PDF\" variable has length N+1, probability has length N. variable values describe bin edges \(upper bin edge is lower edge of next bin\). .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type RealPDF1D if the cast was successful, None otherwise. Cast an arbitrary object to RealPDF1D if the internal wrapped representation is an RealPDF1D object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`RealPDF1D ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setVariable(variable) :param variable: :ref:`RealArray ` List of values .. py:method:: variable() :rtype: :ref:`RealArray ` .. py:method:: setProbability(probability) :param probability: :ref:`RealArray ` List of probabilities .. py:method:: probability() :rtype: :ref:`RealArray ` .. _api-python-datamodel-realquantity: .. py:class:: RealQuantity Inherits :ref:`Object `. Physical quantities expressed as floating point numbers are represented by their measured or computed values and optional values for symmetric or upper and lower uncertainties. The interpretation of these uncertainties is not defined in the standard. They can contain statistically well\-defined error measures, but the mechanism can also be used to simply describe a possible value range. If the confidence level of the uncertainty is known, it can be listed in the optional attribute confidenceLevel. Note that uncertainty, upperUncertainty, and lowerUncertainty are given as absolute values of the deviation from the main value. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type RealQuantity if the cast was successful, None otherwise. Cast an arbitrary object to RealQuantity if the internal wrapped representation is an RealQuantity object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`RealQuantity ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setValue(value) :param value: float Value of the quantity. The unit is implicitly defined and depends on the context. .. py:method:: value() :rtype: float .. py:method:: setUncertainty(uncertainty) :param uncertainty: float Uncertainty as the absolute value of symmetric deviation from the main value. .. py:method:: uncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLowerUncertainty(lowerUncertainty) :param lowerUncertainty: float Uncertainty as the absolute value of deviation from the main value towards smaller values. .. py:method:: lowerUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUpperUncertainty(upperUncertainty) :param upperUncertainty: float Uncertainty as the absolute value of deviation from the main value towards larger values. .. py:method:: upperUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setConfidenceLevel(confidenceLevel) :param confidenceLevel: float Confidence level of the uncertainty, given in percent. .. py:method:: confidenceLevel() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPdf(pdf) :param pdf: :ref:`RealPDF1D ` Probability density function of the quantity. .. py:method:: pdf() :rtype: :ref:`RealPDF1D ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-responsefap: .. py:class:: ResponseFAP Inherits :ref:`PublicObject `. This type describes a sensor response composed of frequency\/amplitude\/phase angle tuples. According to the SEED manual \(blockette 55\) this description alone is not an acceptable response description. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ResponseFAP if the cast was successful, None otherwise. Cast an arbitrary object to ResponseFAP if the internal wrapped representation is an ResponseFAP object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ResponseFAP. Creates and registers (if enabled) a ResponseFAP instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ResponseFAP. Creates and registers (if enabled) a ResponseFAP instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ResponseFAP ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ResponseFAPIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ResponseFAP ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique response name .. py:method:: name() :rtype: string .. py:method:: setGain(gain) :param gain: float Gain of response \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfTuples(numberOfTuples) :param numberOfTuples: int The number of fap tuples in the response .. py:method:: numberOfTuples() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setTuples(tuples) :param tuples: :ref:`RealArray ` The tuples organized as linear array. The array size must be numberOfTuples * 3. Each tuple consists of frequency \(in Hz\), amplitude and phase angle \(in degree\). .. py:method:: tuples() :rtype: :ref:`RealArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` Optional remark .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ResponseFAP. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-responsefir: .. py:class:: ResponseFIR Inherits :ref:`PublicObject `. This type describes a finite impulse response filter .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ResponseFIR if the cast was successful, None otherwise. Cast an arbitrary object to ResponseFIR if the internal wrapped representation is an ResponseFIR object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ResponseFIR. Creates and registers (if enabled) a ResponseFIR instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ResponseFIR. Creates and registers (if enabled) a ResponseFIR instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ResponseFIR ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ResponseFIRIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ResponseFIR ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique response name .. py:method:: name() :rtype: string .. py:method:: setGain(gain) :param gain: float Gain of response \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDecimationFactor(decimationFactor) :param decimationFactor: int Decimation factor \(47.06\/57.05\) .. py:method:: decimationFactor() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDelay(delay) :param delay: float Estimated delay \(47.08\/57.07\) .. py:method:: delay() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCorrection(correction) :param correction: float Applied correction \(47.09\/57.08\) .. py:method:: correction() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfCoefficients(numberOfCoefficients) :param numberOfCoefficients: int Number of coefficients \(41.08\/61.08\) .. py:method:: numberOfCoefficients() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSymmetry(symmetry) :param symmetry: string Symmetry code \(41.05\/61.05\) .. py:method:: symmetry() :rtype: string .. py:method:: setCoefficients(coefficients) :param coefficients: :ref:`RealArray ` Coefficients normalized to gain\=1.0 \(41.09\/61.09\) .. py:method:: coefficients() :rtype: :ref:`RealArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ResponseFIR. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-responseiir: .. py:class:: ResponseIIR Inherits :ref:`PublicObject `. This type describes a infinite impulse response filter .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ResponseIIR if the cast was successful, None otherwise. Cast an arbitrary object to ResponseIIR if the internal wrapped representation is an ResponseIIR object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ResponseIIR. Creates and registers (if enabled) a ResponseIIR instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ResponseIIR. Creates and registers (if enabled) a ResponseIIR instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ResponseIIR ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ResponseIIRIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ResponseIIR ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique response name .. py:method:: name() :rtype: string .. py:method:: setType(type) :param type: string Response type \(43.05\/53.03\/54.03\): A \- Laplace transform analog response in rad\/sec, B \- Analog response in Hz, C \- Composite \(currently undefined\), D \- Digital \(Z \- transform\) .. py:method:: type() :rtype: string .. py:method:: setGain(gain) :param gain: float Gain of response \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDecimationFactor(decimationFactor) :param decimationFactor: int Decimation factor \(47.06\/57.05\) .. py:method:: decimationFactor() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDelay(delay) :param delay: float Estimated delay \(47.08\/57.07\) .. py:method:: delay() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCorrection(correction) :param correction: float Applied correction \(47.09\/57.08\) .. py:method:: correction() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfNumerators(numberOfNumerators) :param numberOfNumerators: int Number of numerators \(54.07\) .. py:method:: numberOfNumerators() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfDenominators(numberOfDenominators) :param numberOfDenominators: int Number of denominators \(54.10\) .. py:method:: numberOfDenominators() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumerators(numerators) :param numerators: :ref:`RealArray ` Numerators \(54.08\-09\) .. py:method:: numerators() :rtype: :ref:`RealArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDenominators(denominators) :param denominators: :ref:`RealArray ` Denominators \(54.11\-12\) .. py:method:: denominators() :rtype: :ref:`RealArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ResponseIIR. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-responsepaz: .. py:class:: ResponsePAZ Inherits :ref:`PublicObject `. This type describes a sensor response using poles and zeros .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ResponsePAZ if the cast was successful, None otherwise. Cast an arbitrary object to ResponsePAZ if the internal wrapped representation is an ResponsePAZ object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ResponsePAZ. Creates and registers (if enabled) a ResponsePAZ instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ResponsePAZ. Creates and registers (if enabled) a ResponsePAZ instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ResponsePAZ ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ResponsePAZIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ResponsePAZ ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique response name .. py:method:: name() :rtype: string .. py:method:: setType(type) :param type: string Response type \(43.05\/53.03\): A \- Laplace transform analog response in rad\/sec, B \- Analog response in Hz, C \- Composite \(currently undefined\), D \- Digital \(Z \- transform\) .. py:method:: type() :rtype: string .. py:method:: setGain(gain) :param gain: float Gain of response \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNormalizationFactor(normalizationFactor) :param normalizationFactor: float A0 normalization factor \(43.08\/53.07\) .. py:method:: normalizationFactor() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNormalizationFrequency(normalizationFrequency) :param normalizationFrequency: float Normalization frequency \(43.09\/53.08\) .. py:method:: normalizationFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfZeros(numberOfZeros) :param numberOfZeros: int Number of zeros \(43.10\/53.09\) .. py:method:: numberOfZeros() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfPoles(numberOfPoles) :param numberOfPoles: int Number of poles \(43.15\/53.14\) .. py:method:: numberOfPoles() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setZeros(zeros) :param zeros: :ref:`ComplexArray ` Zeros \(43.16\-19\/53.10\-13\) .. py:method:: zeros() :rtype: :ref:`ComplexArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPoles(poles) :param poles: :ref:`ComplexArray ` Poles \(43.11\-14\/53.15\-18\) .. py:method:: poles() :rtype: :ref:`ComplexArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDecimationFactor(decimationFactor) :param decimationFactor: int Decimation factor \(47.06\/57.05\) .. py:method:: decimationFactor() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDelay(delay) :param delay: float Estimated delay \(47.08\/57.07\) .. py:method:: delay() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCorrection(correction) :param correction: float Applied correction \(47.09\/57.08\) .. py:method:: correction() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ResponsePAZ. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-responsepolynomial: .. py:class:: ResponsePolynomial Inherits :ref:`PublicObject `. This type describes a sensor response using a polynomial .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type ResponsePolynomial if the cast was successful, None otherwise. Cast an arbitrary object to ResponsePolynomial if the internal wrapped representation is an ResponsePolynomial object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type ResponsePolynomial. Creates and registers (if enabled) a ResponsePolynomial instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type ResponsePolynomial. Creates and registers (if enabled) a ResponsePolynomial instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`ResponsePolynomial ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type ResponsePolynomialIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`ResponsePolynomial ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique response name .. py:method:: name() :rtype: string .. py:method:: setGain(gain) :param gain: float Gain of response \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setFrequencyUnit(frequencyUnit) :param frequencyUnit: string A single character describing valid frequency units \(42.09\/62.08\): A \- rad\/s, B \- Hz .. py:method:: frequencyUnit() :rtype: string .. py:method:: setApproximationType(approximationType) :param approximationType: string A single character describing the type of polynomial approximation \(42.08\/62.07\): M \- MacLaurin .. py:method:: approximationType() :rtype: string .. py:method:: setApproximationLowerBound(approximationLowerBound) :param approximationLowerBound: float Lower bound of approximation \(42.12\/62.11\) .. py:method:: approximationLowerBound() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setApproximationUpperBound(approximationUpperBound) :param approximationUpperBound: float Upper bound of approximation \(42.13\/62.12\) .. py:method:: approximationUpperBound() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setApproximationError(approximationError) :param approximationError: float The maximum absolute error of the polynomial approximation \(42.14\/62.13; Put 0.0 if the value is unknown or actually zero\) .. py:method:: approximationError() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setNumberOfCoefficients(numberOfCoefficients) :param numberOfCoefficients: int The number of coefficients in the polynomial approximation \(42.15\/62.14; one more than the degree of the polynomial .. py:method:: numberOfCoefficients() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCoefficients(coefficients) :param coefficients: :ref:`RealArray ` The polynomial coefficients, lowest order first \(42.16\/62.15\) .. py:method:: coefficients() :rtype: :ref:`RealArray ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned ResponsePolynomial. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-route: .. py:class:: Route Inherits :ref:`PublicObject `. This type describes an ArcLink route \(collection of servers that provide specific datastreams\) .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Route if the cast was successful, None otherwise. Cast an arbitrary object to Route if the internal wrapped representation is an Route object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Route. Creates and registers (if enabled) a Route instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Route. Creates and registers (if enabled) a Route instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Route ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type RouteIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Route ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setNetworkCode(networkCode) :param networkCode: string Network code .. py:method:: networkCode() :rtype: string .. py:method:: setStationCode(stationCode) :param stationCode: string Station code \(empty for any station\) .. py:method:: stationCode() :rtype: string .. py:method:: setLocationCode(locationCode) :param locationCode: string Location code \(empty for any location\) .. py:method:: locationCode() :rtype: string .. py:method:: setStreamCode(streamCode) :param streamCode: string Stream \(Channel\) code \(empty for any stream\) .. py:method:: streamCode() :rtype: string .. py:method:: add(routeArclink) :param routeArclink: Object of type :ref:`RouteArclink ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a RouteArclink object to Route. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(routeSeedlink) :param routeSeedlink: Object of type :ref:`RouteSeedlink ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a RouteSeedlink object to Route. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(routeArclink) :param routeArclink: Object of type :ref:`RouteArclink ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added RouteArclink object from Route. .. py:method:: remove(routeSeedlink) :param routeSeedlink: Object of type :ref:`RouteSeedlink ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added RouteSeedlink object from Route. .. py:method:: removeRouteArclink(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeRouteArclink(routeArclinkIndex); :param routeArclinkIndex: The index of the object to be removed of type RouteArclinkIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeRouteSeedlink(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeRouteSeedlink(routeSeedlinkIndex); :param routeSeedlinkIndex: The index of the object to be removed of type RouteSeedlinkIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: routeArclinkCount() :rtype: integer value indicating the number of child objects. Returns the number of RouteArclink child objects. .. py:method:: routeSeedlinkCount() :rtype: integer value indicating the number of child objects. Returns the number of RouteSeedlink child objects. .. py:method:: routeArclink(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`RouteArclink `. Returns the RouteArclink at index idx. .. py:method:: routeArclink(routeArclinkIndex) :param routeArclinkIndex: The index of the object to be removed of type RouteArclinkIndex. :rtype: Object of type :ref:`RouteArclink `. Returns the RouteArclink at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: routeSeedlink(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`RouteSeedlink `. Returns the RouteSeedlink at index idx. .. py:method:: routeSeedlink(routeSeedlinkIndex) :param routeSeedlinkIndex: The index of the object to be removed of type RouteSeedlinkIndex. :rtype: Object of type :ref:`RouteSeedlink `. Returns the RouteSeedlink at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: routing() :rtype: Routing Returns the parent Routing if available. Returns None if the parent is not a Routing. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Route. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-routearclink: .. py:class:: RouteArclink Inherits :ref:`Object `. This type describes an ArcLink route \(data source\) .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type RouteArclink if the cast was successful, None otherwise. Cast an arbitrary object to RouteArclink if the internal wrapped representation is an RouteArclink object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`RouteArclink ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type RouteArclinkIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`RouteArclink ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setAddress(address) :param address: string Server address in ip:port format .. py:method:: address() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of data .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of data .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPriority(priority) :param priority: int priority \(1 is highest\) .. py:method:: priority() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: route() :rtype: Route Returns the parent Route if available. Returns None if the parent is not a Route. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned RouteArclink. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-routeseedlink: .. py:class:: RouteSeedlink Inherits :ref:`Object `. This type describes an SeedLink route \(data source\) .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type RouteSeedlink if the cast was successful, None otherwise. Cast an arbitrary object to RouteSeedlink if the internal wrapped representation is an RouteSeedlink object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`RouteSeedlink ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type RouteSeedlinkIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`RouteSeedlink ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setAddress(address) :param address: string Server address in ip:port format .. py:method:: address() :rtype: string .. py:method:: setPriority(priority) :param priority: int priority \(1 is highest\) .. py:method:: priority() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: route() :rtype: Route Returns the parent Route if available. Returns None if the parent is not a Route. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned RouteSeedlink. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-routing: .. py:class:: Routing Inherits :ref:`PublicObject `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Routing if the cast was successful, None otherwise. Cast an arbitrary object to Routing if the internal wrapped representation is an Routing object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Routing ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: add(route) :param route: Object of type :ref:`Route ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Route object to Routing. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(access) :param access: Object of type :ref:`Access ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Access object to Routing. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(route) :param route: Object of type :ref:`Route ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Route object from Routing. .. py:method:: remove(access) :param access: Object of type :ref:`Access ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Access object from Routing. .. py:method:: removeRoute(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeRoute(routeIndex); :param routeIndex: The index of the object to be removed of type RouteIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAccess(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAccess(accessIndex); :param accessIndex: The index of the object to be removed of type AccessIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: routeCount() :rtype: integer value indicating the number of child objects. Returns the number of Route child objects. .. py:method:: accessCount() :rtype: integer value indicating the number of child objects. Returns the number of Access child objects. .. py:method:: route(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Route `. Returns the Route at index idx. .. py:method:: route(routeIndex) :param routeIndex: The index of the object to be removed of type RouteIndex. :rtype: Object of type :ref:`Route `. Returns the Route at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: access(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Access `. Returns the Access at index idx. .. py:method:: access(accessIndex) :param accessIndex: The index of the object to be removed of type AccessIndex. :rtype: Object of type :ref:`Access `. Returns the Access at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findRoute(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Route `. Returns the child object with a certain publicID, None otherwise. .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Routing. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-sensor: .. py:class:: Sensor Inherits :ref:`PublicObject `. This type describes a sensor .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Sensor if the cast was successful, None otherwise. Cast an arbitrary object to Sensor if the internal wrapped representation is an Sensor object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Sensor. Creates and registers (if enabled) a Sensor instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Sensor. Creates and registers (if enabled) a Sensor instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Sensor ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type SensorIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Sensor ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string Unique sensor name .. py:method:: name() :rtype: string .. py:method:: setDescription(description) :param description: string Sensor description .. py:method:: description() :rtype: string .. py:method:: setModel(model) :param model: string Sensor model .. py:method:: model() :rtype: string .. py:method:: setManufacturer(manufacturer) :param manufacturer: string Sensor manufacturer .. py:method:: manufacturer() :rtype: string .. py:method:: setType(type) :param type: string Sensor type \(VBB, BB, SP, SM, OBS\) .. py:method:: type() :rtype: string .. py:method:: setUnit(unit) :param unit: string Unit of measurement \(M, M\/S, M\/S**2, RAD\/S, V, A, PA, C\) .. py:method:: unit() :rtype: string .. py:method:: setLowFrequency(lowFrequency) :param lowFrequency: float Lower corner frequency \(optional\) .. py:method:: lowFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setHighFrequency(highFrequency) :param highFrequency: float Higher corner frequency \(optional\) .. py:method:: highFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setResponse(response) :param response: string Reference to responsePAZ\/\@publicID or responsePolynomial\/\@publicID or responseFAP\/\@publicID .. py:method:: response() :rtype: string .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(sensorCalibration) :param sensorCalibration: Object of type :ref:`SensorCalibration ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a SensorCalibration object to Sensor. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(sensorCalibration) :param sensorCalibration: Object of type :ref:`SensorCalibration ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added SensorCalibration object from Sensor. .. py:method:: removeSensorCalibration(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSensorCalibration(sensorCalibrationIndex); :param sensorCalibrationIndex: The index of the object to be removed of type SensorCalibrationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: sensorCalibrationCount() :rtype: integer value indicating the number of child objects. Returns the number of SensorCalibration child objects. .. py:method:: sensorCalibration(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`SensorCalibration `. Returns the SensorCalibration at index idx. .. py:method:: sensorCalibration(sensorCalibrationIndex) :param sensorCalibrationIndex: The index of the object to be removed of type SensorCalibrationIndex. :rtype: Object of type :ref:`SensorCalibration `. Returns the SensorCalibration at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Sensor. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-sensorcalibration: .. py:class:: SensorCalibration Inherits :ref:`Object `. This type describes a sensor calibration .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type SensorCalibration if the cast was successful, None otherwise. Cast an arbitrary object to SensorCalibration if the internal wrapped representation is an SensorCalibration object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`SensorCalibration ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type SensorCalibrationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`SensorCalibration ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setSerialNumber(serialNumber) :param serialNumber: string Referred from network\/station\/Stream\/\@sensorSerialNumber .. py:method:: serialNumber() :rtype: string .. py:method:: setChannel(channel) :param channel: int Referred from network\/station\/Stream\/\@sensorChannel .. py:method:: channel() :rtype: int .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of validity .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of validity .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGain(gain) :param gain: float Overrides nominal gain of calibrated sensor \(48.05\/58.04\) .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(48.06\/58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: sensor() :rtype: Sensor Returns the parent Sensor if available. Returns None if the parent is not a Sensor. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned SensorCalibration. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-sensorlocation: .. py:class:: SensorLocation Inherits :ref:`PublicObject `. This type describes a sensor location .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type SensorLocation if the cast was successful, None otherwise. Cast an arbitrary object to SensorLocation if the internal wrapped representation is an SensorLocation object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type SensorLocation. Creates and registers (if enabled) a SensorLocation instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type SensorLocation. Creates and registers (if enabled) a SensorLocation instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`SensorLocation ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type SensorLocationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`SensorLocation ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string Station code \(52.03\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of epoch in ISO datetime format .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of epoch .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLatitude(latitude) :param latitude: float Sensor latitude \(52.10\) .. py:method:: latitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLongitude(longitude) :param longitude: float Sensor longitude \(52.11\) .. py:method:: longitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setElevation(elevation) :param elevation: float Sensor elevation \(52.12\) .. py:method:: elevation() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to SensorLocation. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(auxStream) :param auxStream: Object of type :ref:`AuxStream ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a AuxStream object to SensorLocation. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(stream) :param stream: Object of type :ref:`Stream ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Stream object to SensorLocation. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from SensorLocation. .. py:method:: remove(auxStream) :param auxStream: Object of type :ref:`AuxStream ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added AuxStream object from SensorLocation. .. py:method:: remove(stream) :param stream: Object of type :ref:`Stream ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Stream object from SensorLocation. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAuxStream(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeAuxStream(auxStreamIndex); :param auxStreamIndex: The index of the object to be removed of type AuxStreamIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStream(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStream(streamIndex); :param streamIndex: The index of the object to be removed of type StreamIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: auxStreamCount() :rtype: integer value indicating the number of child objects. Returns the number of AuxStream child objects. .. py:method:: streamCount() :rtype: integer value indicating the number of child objects. Returns the number of Stream child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: auxStream(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`AuxStream `. Returns the AuxStream at index idx. .. py:method:: auxStream(auxStreamIndex) :param auxStreamIndex: The index of the object to be removed of type AuxStreamIndex. :rtype: Object of type :ref:`AuxStream `. Returns the AuxStream at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: stream(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Stream `. Returns the Stream at index idx. .. py:method:: stream(streamIndex) :param streamIndex: The index of the object to be removed of type StreamIndex. :rtype: Object of type :ref:`Stream `. Returns the Stream at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findStream(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`Stream `. Returns the child object with a certain publicID, None otherwise. .. py:method:: station() :rtype: Station Returns the parent Station if available. Returns None if the parent is not a Station. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned SensorLocation. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-setup: .. py:class:: Setup Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Setup if the cast was successful, None otherwise. Cast an arbitrary object to Setup if the internal wrapped representation is an Setup object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Setup ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type SetupIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Setup ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setName(name) :param name: string .. py:method:: name() :rtype: string .. py:method:: setParameterSetID(parameterSetID) :param parameterSetID: string .. py:method:: parameterSetID() :rtype: string .. py:method:: setEnabled(enabled) :param enabled: boolean .. py:method:: enabled() :rtype: boolean .. py:method:: configStation() :rtype: ConfigStation Returns the parent ConfigStation if available. Returns None if the parent is not a ConfigStation. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Setup. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-sourcetimefunction: .. py:class:: SourceTimeFunction Inherits :ref:`Object `. Source time function used in moment\-tensor inversion. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type SourceTimeFunction if the cast was successful, None otherwise. Cast an arbitrary object to SourceTimeFunction if the internal wrapped representation is an SourceTimeFunction object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`SourceTimeFunction ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setType(type) :param type: SourceTimeFunctionType Type of source time function. Values can be taken from the following: BOX_CAR, TRIANGLE, TRAPEZOID, UNKNOWN_FUNCTION. .. py:method:: type() :rtype: SourceTimeFunctionType .. py:method:: setDuration(duration) :param duration: float Source time function duration in seconds. .. py:method:: duration() :rtype: float .. py:method:: setRiseTime(riseTime) :param riseTime: float Source time function rise time in seconds. .. py:method:: riseTime() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDecayTime(decayTime) :param decayTime: float Source time function decay time in seconds. .. py:method:: decayTime() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-station: .. py:class:: Station Inherits :ref:`PublicObject `. This type describes a seismic station .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Station if the cast was successful, None otherwise. Cast an arbitrary object to Station if the internal wrapped representation is an Station object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Station. Creates and registers (if enabled) a Station instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Station. Creates and registers (if enabled) a Station instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Station ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type StationIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Station ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string Station code \(50.03\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of station epoch in ISO datetime format .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of station epoch. Empty string if the station is open .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDescription(description) :param description: string Station description in ASCII \(50.09\) .. py:method:: description() :rtype: string .. py:method:: setLatitude(latitude) :param latitude: float Station latitude \(50.04\) .. py:method:: latitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLongitude(longitude) :param longitude: float Station longitude \(50.05\) .. py:method:: longitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setElevation(elevation) :param elevation: float Station elevation \(50.06\) .. py:method:: elevation() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPlace(place) :param place: string Place where the station is located \(UTF\-8\) .. py:method:: place() :rtype: string .. py:method:: setCountry(country) :param country: string Country where the station is located \(UTF\-8\) .. py:method:: country() :rtype: string .. py:method:: setAffiliation(affiliation) :param affiliation: string Station affiliation \(eg., GEOFON\) .. py:method:: affiliation() :rtype: string .. py:method:: setType(type) :param type: string Type of station \(eg., VBB, SP\) .. py:method:: type() :rtype: string .. py:method:: setArchive(archive) :param archive: string Archive\/Datacenter ID \(metadata authority\) .. py:method:: archive() :rtype: string .. py:method:: setArchiveNetworkCode(archiveNetworkCode) :param archiveNetworkCode: string Internal network code, under which this station is archived .. py:method:: archiveNetworkCode() :rtype: string .. py:method:: setRestricted(restricted) :param restricted: boolean Whether the station is \"restricted\" .. py:method:: restricted() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setShared(shared) :param shared: boolean Whether the metadata is synchronized with other datacenters .. py:method:: shared() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setRemark(remark) :param remark: :ref:`Blob ` Any notes .. py:method:: remark() :rtype: :ref:`Blob ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Station. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: add(sensorLocation) :param sensorLocation: Object of type :ref:`SensorLocation ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a SensorLocation object to Station. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Station. .. py:method:: remove(sensorLocation) :param sensorLocation: Object of type :ref:`SensorLocation ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added SensorLocation object from Station. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSensorLocation(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeSensorLocation(sensorLocationIndex); :param sensorLocationIndex: The index of the object to be removed of type SensorLocationIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: sensorLocationCount() :rtype: integer value indicating the number of child objects. Returns the number of SensorLocation child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: sensorLocation(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`SensorLocation `. Returns the SensorLocation at index idx. .. py:method:: sensorLocation(sensorLocationIndex) :param sensorLocationIndex: The index of the object to be removed of type SensorLocationIndex. :rtype: Object of type :ref:`SensorLocation `. Returns the SensorLocation at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: findSensorLocation(publicID) :param publicID: The publicID of the object to find. :rtype: Object of type :ref:`SensorLocation `. Returns the child object with a certain publicID, None otherwise. .. py:method:: network() :rtype: Network Returns the parent Network if available. Returns None if the parent is not a Network. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Station. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-stationgroup: .. py:class:: StationGroup Inherits :ref:`PublicObject `. This type describes a group of stations, an array or a virtual network .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type StationGroup if the cast was successful, None otherwise. Cast an arbitrary object to StationGroup if the internal wrapped representation is an StationGroup object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type StationGroup. Creates and registers (if enabled) a StationGroup instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type StationGroup. Creates and registers (if enabled) a StationGroup instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`StationGroup ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type StationGroupIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`StationGroup ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setType(type) :param type: StationGroupType ARRAY or DEPLOYMENT .. py:method:: type() :rtype: StationGroupType .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCode(code) :param code: string Virtual network code \(up to 20 characters\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of epoch in ISO datetime format .. py:method:: start() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of epoch \(empty string if the station is open\) .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDescription(description) :param description: string Station group description .. py:method:: description() :rtype: string .. py:method:: setLatitude(latitude) :param latitude: float Optional latitude \(eg., of the central station\) .. py:method:: latitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLongitude(longitude) :param longitude: float Optional longitude \(eg., of the central station\) .. py:method:: longitude() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setElevation(elevation) :param elevation: float Optional elevation \(eg., of the central station\) .. py:method:: elevation() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(stationReference) :param stationReference: Object of type :ref:`StationReference ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a StationReference object to StationGroup. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(stationReference) :param stationReference: Object of type :ref:`StationReference ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added StationReference object from StationGroup. .. py:method:: removeStationReference(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeStationReference(stationReferenceIndex); :param stationReferenceIndex: The index of the object to be removed of type StationReferenceIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: stationReferenceCount() :rtype: integer value indicating the number of child objects. Returns the number of StationReference child objects. .. py:method:: stationReference(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`StationReference `. Returns the StationReference at index idx. .. py:method:: stationReference(stationReferenceIndex) :param stationReferenceIndex: The index of the object to be removed of type StationReferenceIndex. :rtype: Object of type :ref:`StationReference `. Returns the StationReference at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: inventory() :rtype: Inventory Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned StationGroup. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-stationmagnitude: .. py:class:: StationMagnitude Inherits :ref:`PublicObject `. This class describes the magnitude derived from a single waveform stream. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type StationMagnitude if the cast was successful, None otherwise. Cast an arbitrary object to StationMagnitude if the internal wrapped representation is an StationMagnitude object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type StationMagnitude. Creates and registers (if enabled) a StationMagnitude instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type StationMagnitude. Creates and registers (if enabled) a StationMagnitude instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`StationMagnitude ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setOriginID(originID) :param originID: string Reference to an origin's publicID if the StationMagnitude has an associated Origin. .. py:method:: originID() :rtype: string .. py:method:: setMagnitude(magnitude) :param magnitude: :ref:`RealQuantity ` Estimated magnitude as RealQuantity. .. py:method:: magnitude() :rtype: :ref:`RealQuantity ` .. py:method:: setType(type) :param type: string See class Magnitude. .. py:method:: type() :rtype: string .. py:method:: setAmplitudeID(amplitudeID) :param amplitudeID: string Identifies the data source of the StationMagnitude. For magnitudes derived from amplitudes in waveforms \(e. g., local magnitude ML \), amplitudeID points to publicID in class Amplitude. .. py:method:: amplitudeID() :rtype: string .. py:method:: setMethodID(methodID) :param methodID: string See class Magnitude. .. py:method:: methodID() :rtype: string .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` Identifies the waveform stream. This element can be helpful if no amplitude is referenced, or the amplitude is not available in the context. Otherwise, it would duplicate the waveformID provided there and can be omitted. .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPassedQC(passedQC) :param passedQC: boolean An optional flag that indiciates whether a station magnitude has passed the quality control or not. For example, if a station magnitude is out of the defined distance range but should be associated to a network magnitude for further analysis then this flag can be set to false. If the flag is not set, it defaults to true. .. py:method:: passedQC() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setCreationInfo(creationInfo) :param creationInfo: :ref:`CreationInfo ` CreationInfo for the StationMagnitude object. .. py:method:: creationInfo() :rtype: :ref:`CreationInfo ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to StationMagnitude. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from StationMagnitude. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: origin() :rtype: Origin Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned StationMagnitude. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-stationmagnitudecontribution: .. py:class:: StationMagnitudeContribution Inherits :ref:`Object `. This class describes the weighting of magnitude values from several StationMagnitude objects for computing a network magnitude estimation. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type StationMagnitudeContribution if the cast was successful, None otherwise. Cast an arbitrary object to StationMagnitudeContribution if the internal wrapped representation is an StationMagnitudeContribution object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`StationMagnitudeContribution ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type StationMagnitudeContributionIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`StationMagnitudeContribution ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setStationMagnitudeID(stationMagnitudeID) :param stationMagnitudeID: string Refers to the publicID of a StationMagnitude object. .. py:method:: stationMagnitudeID() :rtype: string .. py:method:: setResidual(residual) :param residual: float Residual of magnitude computation. .. py:method:: residual() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setWeight(weight) :param weight: float Weight of the magnitude value from class StationMagnitude for computing the magnitude value in class Magnitude. Note that there is no rule for the sum of the weights of all station magnitude contributions to a specific network magnitude. In particular, the weights are not required to sum up to unity. .. py:method:: weight() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: magnitude() :rtype: Magnitude Returns the parent Magnitude if available. Returns None if the parent is not a Magnitude. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned StationMagnitudeContribution. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-stationreference: .. py:class:: StationReference Inherits :ref:`Object `. This type describes a station reference within a station group .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type StationReference if the cast was successful, None otherwise. Cast an arbitrary object to StationReference if the internal wrapped representation is an StationReference object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`StationReference ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type StationReferenceIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`StationReference ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setStationID(stationID) :param stationID: string Reference to network\/station\/\@publicID .. py:method:: stationID() :rtype: string .. py:method:: stationGroup() :rtype: StationGroup Returns the parent StationGroup if available. Returns None if the parent is not a StationGroup. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned StationReference. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-stream: .. py:class:: Stream Inherits :ref:`PublicObject `. This type describes a stream \(channel\) with defined frequency response .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Stream if the cast was successful, None otherwise. Cast an arbitrary object to Stream if the internal wrapped representation is an Stream object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:staticmethod:: Create() :rtype: a new object of type Stream. Creates and registers (if enabled) a Stream instance. The publicID is auto-generated. .. py:staticmethod:: Create(publicID) :rtype: a new object of type Stream. Creates and registers (if enabled) a Stream instance with passed publicID. .. py:method:: equal(other) :param other: :ref:`Stream ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type StreamIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`Stream ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setCode(code) :param code: string Stream code \(52.04\) .. py:method:: code() :rtype: string .. py:method:: setStart(start) :param start: seiscomp3.Core.Time Start of epoch in ISO datetime format \(52.22\) .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time End of epoch \(52.23\) .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDatalogger(datalogger) :param datalogger: string Reference to datalogger\/\@publicID .. py:method:: datalogger() :rtype: string .. py:method:: setDataloggerSerialNumber(dataloggerSerialNumber) :param dataloggerSerialNumber: string Reference to datalogger\/calibration\/\@serialNumber .. py:method:: dataloggerSerialNumber() :rtype: string .. py:method:: setDataloggerChannel(dataloggerChannel) :param dataloggerChannel: int Reference to datalogger\/calibration\/\@channel .. py:method:: dataloggerChannel() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSensor(sensor) :param sensor: string Reference to sensor\/\@publicID .. py:method:: sensor() :rtype: string .. py:method:: setSensorSerialNumber(sensorSerialNumber) :param sensorSerialNumber: string Reference to sensor\/calibration\/\@serialNumber .. py:method:: sensorSerialNumber() :rtype: string .. py:method:: setSensorChannel(sensorChannel) :param sensorChannel: int Reference to sensor\/calibration\/\@channel .. py:method:: sensorChannel() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setClockSerialNumber(clockSerialNumber) :param clockSerialNumber: string Serial no. of clock \(GPS\). Mostly unused .. py:method:: clockSerialNumber() :rtype: string .. py:method:: setSampleRateNumerator(sampleRateNumerator) :param sampleRateNumerator: int Sample rate numerator \(always >0, eg., not identical to 52.18\) .. py:method:: sampleRateNumerator() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setSampleRateDenominator(sampleRateDenominator) :param sampleRateDenominator: int Sample rate denominator \(always >0, eg., not identical to 52.19\) .. py:method:: sampleRateDenominator() :rtype: int .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDepth(depth) :param depth: float Depth \(52.13\) .. py:method:: depth() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setAzimuth(azimuth) :param azimuth: float Azimuth \(52.14\) .. py:method:: azimuth() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setDip(dip) :param dip: float Dip \(52.15\) .. py:method:: dip() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGain(gain) :param gain: float Overall sensitivity \(58.04\) in counts\/gainUnit .. py:method:: gain() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainFrequency(gainFrequency) :param gainFrequency: float Gain frequency \(58.05\) .. py:method:: gainFrequency() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setGainUnit(gainUnit) :param gainUnit: string Sensor's unit of measurement \(eg., M\/S, M\/S**2\) .. py:method:: gainUnit() :rtype: string .. py:method:: setFormat(format) :param format: string Data format, eg.: \"steim1\", \"steim2\", \"mseedN\" \(N \= encoding format in blockette 1000\) .. py:method:: format() :rtype: string .. py:method:: setFlags(flags) :param flags: string Channel flags \(52.21\) .. py:method:: flags() :rtype: string .. py:method:: setRestricted(restricted) :param restricted: boolean Whether the stream is \"restricted\" .. py:method:: restricted() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setShared(shared) :param shared: boolean Whether the metadata is synchronized with other datacenters .. py:method:: shared() :rtype: boolean .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: add(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Adds a Comment object to Stream. The object is not copied but managed by this instance. Any change to the passed object will also change the child. .. py:method:: remove(comment) :param comment: Object of type :ref:`Comment ` :rtype: A Boolean value indicating success with True, False otherwise. Removes a previously added Comment object from Stream. .. py:method:: removeComment(idx) :param idx: An integer index of the object to be removed. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: removeComment(commentIndex); :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: A Boolean value indicating success with True, False otherwise. .. py:method:: commentCount() :rtype: integer value indicating the number of child objects. Returns the number of Comment child objects. .. py:method:: comment(idx) :param idx: An integer index of the object to be returned. :rtype: Object of type :ref:`Comment `. Returns the Comment at index idx. .. py:method:: comment(commentIndex) :param commentIndex: The index of the object to be removed of type CommentIndex. :rtype: Object of type :ref:`Comment `. Returns the Comment at given index. The indexes of all child objects are compared by value which makes this function slower than the direct integer index look-up. .. py:method:: sensorLocation() :rtype: SensorLocation Returns the parent SensorLocation if available. Returns None if the parent is not a SensorLocation. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned Stream. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: updateChild(ref) :param ref: A child object derived from class Object. :rtype: A Boolean flag indicating success with True, False otherwise This method takes the passed reference object and searches for a child with the same publicID (if derived from :ref:`PublicObject `) or the same index (if derived from :ref:`Object `). The the child was found the reference objects attributes are copied to the child object. Children of child are being ignored during this operation. This method implements the :ref:`PublicObject ` interface. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-tensor: .. py:class:: Tensor Inherits :ref:`Object `. The Tensor class represents the six moment\-tensor elements Mrr , Mtt , Mpp , Mrt , Mrp , Mtp in the spherical coordinate system defined by local upward vertical \(r\), North\-South \(t\), and West\-East \(p\) directions. See Aki and Richards \(1980\) for conversions to other coordinate systems. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type Tensor if the cast was successful, None otherwise. Cast an arbitrary object to Tensor if the internal wrapped representation is an Tensor object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`Tensor ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setMrr(Mrr) :param Mrr: :ref:`RealQuantity ` Moment\-tensor element Mrr in Nm. .. py:method:: Mrr() :rtype: :ref:`RealQuantity ` .. py:method:: setMtt(Mtt) :param Mtt: :ref:`RealQuantity ` Moment\-tensor element Mtt in Nm. .. py:method:: Mtt() :rtype: :ref:`RealQuantity ` .. py:method:: setMpp(Mpp) :param Mpp: :ref:`RealQuantity ` Moment\-tensor element Mpp in Nm. .. py:method:: Mpp() :rtype: :ref:`RealQuantity ` .. py:method:: setMrt(Mrt) :param Mrt: :ref:`RealQuantity ` Moment\-tensor element Mrt in Nm. .. py:method:: Mrt() :rtype: :ref:`RealQuantity ` .. py:method:: setMrp(Mrp) :param Mrp: :ref:`RealQuantity ` Moment\-tensor element Mrp in Nm. .. py:method:: Mrp() :rtype: :ref:`RealQuantity ` .. py:method:: setMtp(Mtp) :param Mtp: :ref:`RealQuantity ` Moment\-tensor element Mtp in Nm. .. py:method:: Mtp() :rtype: :ref:`RealQuantity ` .. _api-python-datamodel-timearray: .. py:class:: TimeArray Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type TimeArray if the cast was successful, None otherwise. Cast an arbitrary object to TimeArray if the internal wrapped representation is an TimeArray object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`TimeArray ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setContent(content) :param content: seiscomp3.Core.Time .. py:method:: content() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-timepdf1d: .. py:class:: TimePDF1D Inherits :ref:`Object `. A probability density function description. It can be used in three different modes: 1\) \"raw samples mode\" variable is a list of M values, no probability. The values represent samples, no binning\/probabilities made. 2\) \"implicitly binned PDF\" variable and probabilty arrays have length N. variable values to be interpreted as \"bin centers\" \(or representative values\), no bin edges given. 3\) \"explicitly binned PDF\" variable has length N+1, probability has length N. variable values describe bin edges \(upper bin edge is lower edge of next bin\). .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type TimePDF1D if the cast was successful, None otherwise. Cast an arbitrary object to TimePDF1D if the internal wrapped representation is an TimePDF1D object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`TimePDF1D ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setVariable(variable) :param variable: :ref:`TimeArray ` List of datetimes .. py:method:: variable() :rtype: :ref:`TimeArray ` .. py:method:: setProbability(probability) :param probability: :ref:`RealArray ` List of probabilities .. py:method:: probability() :rtype: :ref:`RealArray ` .. _api-python-datamodel-timequantity: .. py:class:: TimeQuantity Inherits :ref:`Object `. This type describes a point in time, given in ISO 8601 format, with optional symmetric or asymmetric uncertainties given in seconds. The time has to be specified in UTC. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type TimeQuantity if the cast was successful, None otherwise. Cast an arbitrary object to TimeQuantity if the internal wrapped representation is an TimeQuantity object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`TimeQuantity ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setValue(value) :param value: seiscomp3.Core.Time Point in time \(UTC\), given in ISO 8601 format. .. py:method:: value() :rtype: seiscomp3.Core.Time .. py:method:: setUncertainty(uncertainty) :param uncertainty: float Symmetric uncertainty of point in time in seconds. .. py:method:: uncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setLowerUncertainty(lowerUncertainty) :param lowerUncertainty: float Lower uncertainty of point in time in seconds. .. py:method:: lowerUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUpperUncertainty(upperUncertainty) :param upperUncertainty: float Upper uncertainty of point in time in seconds. .. py:method:: upperUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setConfidenceLevel(confidenceLevel) :param confidenceLevel: float Confidence level of the uncertainty, given in percent. .. py:method:: confidenceLevel() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setPdf(pdf) :param pdf: :ref:`TimePDF1D ` Probability density function of the quantity. .. py:method:: pdf() :rtype: :ref:`TimePDF1D ` .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. _api-python-datamodel-timewindow: .. py:class:: TimeWindow Inherits :ref:`Object `. Describes a time window for amplitude measurements, given by a central point in time, and points in time before and after this central point. Both points before and after may coincide with the central point. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type TimeWindow if the cast was successful, None otherwise. Cast an arbitrary object to TimeWindow if the internal wrapped representation is an TimeWindow object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`TimeWindow ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setReference(reference) :param reference: seiscomp3.Core.Time Reference point in time \(\"central\" point\), in ISO 8601 format. It has to be given in UTC. .. py:method:: reference() :rtype: seiscomp3.Core.Time .. py:method:: setBegin(begin) :param begin: float Absolute value of duration of time interval before reference point in time window. The value may be zero, but not negative in seconds. .. py:method:: begin() :rtype: float .. py:method:: setEnd(end) :param end: float Absolute value of duration of time interval after reference point in time window. The value may be zero, but not negative in seconds. .. py:method:: end() :rtype: float .. _api-python-datamodel-waveformquality: .. py:class:: WaveformQuality Inherits :ref:`Object `. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type WaveformQuality if the cast was successful, None otherwise. Cast an arbitrary object to WaveformQuality if the internal wrapped representation is an WaveformQuality object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`WaveformQuality ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: index() :rtype: The objects index of type WaveformQualityIndex. Returns the objects index which is also used for the database as unique constraint. .. py:method:: equalIndex(lhs) :param lhs: :ref:`WaveformQuality ` :rtype: A Boolean value indicating True if both indexes are equal or False otherwise. .. py:method:: setWaveformID(waveformID) :param waveformID: :ref:`WaveformStreamID ` .. py:method:: waveformID() :rtype: :ref:`WaveformStreamID ` .. py:method:: setCreatorID(creatorID) :param creatorID: string .. py:method:: creatorID() :rtype: string .. py:method:: setCreated(created) :param created: seiscomp3.Core.Time .. py:method:: created() :rtype: seiscomp3.Core.Time .. py:method:: setStart(start) :param start: seiscomp3.Core.Time .. py:method:: start() :rtype: seiscomp3.Core.Time .. py:method:: setEnd(end) :param end: seiscomp3.Core.Time .. py:method:: end() :rtype: seiscomp3.Core.Time .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setType(type) :param type: string .. py:method:: type() :rtype: string .. py:method:: setParameter(parameter) :param parameter: string .. py:method:: parameter() :rtype: string .. py:method:: setValue(value) :param value: float .. py:method:: value() :rtype: float .. py:method:: setLowerUncertainty(lowerUncertainty) :param lowerUncertainty: float .. py:method:: lowerUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setUpperUncertainty(upperUncertainty) :param upperUncertainty: float .. py:method:: upperUncertainty() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: setWindowLength(windowLength) :param windowLength: float .. py:method:: windowLength() :rtype: float .. note:: As this attribute is optional, this method throws a ValueError if the value of the attribute is not set. .. py:method:: qualityControl() :rtype: QualityControl Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent(). .. py:method:: assign(other) This method implements the :ref:`Object ` interface. .. py:method:: attachTo(parent) This method implements the :ref:`Object ` interface. .. py:method:: detachFrom(parent) This method implements the :ref:`Object ` interface. .. py:method:: detach() This method implements the :ref:`Object ` interface. .. py:method:: clone() :rtype: A cloned WaveformQuality. Returns a new instance that is a clone of the current instance. Child objects are being ignored. .. py:method:: accept(visitor) :param visitor: A visitor. This method implements the :ref:`PublicObject ` interface. .. _api-python-datamodel-waveformstreamid: .. py:class:: WaveformStreamID Inherits :ref:`Object `. Reference to a stream description in an inventory. This is mostly equivalent to the combination of networkCode, stationCode, locationCode and channelCode. However, additional information, e. g., sampling rate, can be referenced by the resourceURI. It is recommended to use resourceURI as a flexible, abstract, and unique stream ID that allows to describe different processing levels, or resampled\/filtered products of the same initial stream, without violating the intrinsic meaning of the legacy identifiers \(network, station, channel, and location codes\). However, for operation in the context of legacy systems, the classical identifier components are supported. .. py:staticmethod:: Cast(obj) :param obj: The object to be casted. :rtype: An object of type WaveformStreamID if the cast was successful, None otherwise. Cast an arbitrary object to WaveformStreamID if the internal wrapped representation is an WaveformStreamID object. The cast is important if instances of type :ref:`Object ` are passed to methods which need access to the real type. .. py:method:: equal(other) :param other: :ref:`WaveformStreamID ` :rtype: A Boolean value indicating True if both objects are equal or False otherwise. Compares two objects without its child objects. Both objects are compared by value. .. py:method:: setNetworkCode(networkCode) :param networkCode: string Network code. String with a maximum length of 8 characters. .. py:method:: networkCode() :rtype: string .. py:method:: setStationCode(stationCode) :param stationCode: string Station code. String with a maximum length of 8 characters. .. py:method:: stationCode() :rtype: string .. py:method:: setLocationCode(locationCode) :param locationCode: string Location code. String with a maximum length of 8 characters. .. py:method:: locationCode() :rtype: string .. py:method:: setChannelCode(channelCode) :param channelCode: string Channel code. String with a maximum length of 8 characters. .. py:method:: channelCode() :rtype: string .. py:method:: setResourceURI(resourceURI) :param resourceURI: string Optional resource identifier for the waveform stream. QuakeML adopts in many places resource descriptors with a well\-defined syntax for unambiguous resource identification. Resource identifiers are designed to be backward compatible with existing descriptors. In SeisComP3 this identifier is not used at all. .. py:method:: resourceURI() :rtype: string