EventParameters object connections from parent to child.
Config object connections from parent to child.
QualityControl object connections from parent to child.
Inventory object connections from parent to child.
Routing object connections from parent to child.
Journaling object connections from parent to child.
ArclinkLog object connections from parent to child.
Return type: | PublicObject |
---|
Returns the PublicObject parent object is available, None otherwise.
Parameters: | parent -- A PublicObject. |
---|---|
Return type: | A boolean flag indicating success with True, False otherwise. |
Sets the parent to 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 childs are being added or removed.
Creates an update notifier for this object ignoring its childs. 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 hierachy modifications such as add and remove child objects.
Parameters: | other -- A Object. |
---|---|
Return type: | 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.
Return type: | A Object. |
---|
Clones an object. If the clonee is a PublicObject it is not registered in the global instance pool but receives exactly the same publicID like 'this'.
Return type: | 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.
Return type: | 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.
Return type: | A boolean flag indicating success with True, False otherwise. |
---|
Removes the object from its parent object if a parent is set.
Parameters: | visitor -- A visitor. |
---|
Inherits Object.
Sets the publicID of the object.
Returns the publicID of the 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 childs.
Enables the notifier pool. If enabled, notifiers are automatically created if the object tree is being changed.
Disables the notifier pool.
Sets the state of the notifier pool.
Returns the notification pool state. The default is TRUE.
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.
Returns the current 'check' state.
Parameters: | allNotifier -- Defines whether to return one message including all notifiers or one message including one notifier. |
---|---|
Return type: | 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.
Return type: | Integer value. |
---|
Returns the size of the notifier objects currently stored.
Clears all buffered notifiers.
Parameters: |
|
---|---|
Return type: | 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.
: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.
Return type: | A flag indicating success with True, False otherwise. |
---|
Applies the notifier to the local object tree.
Inherits Object.
This type describes an ArcLink access rule
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Access |
---|---|
Return type: | 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.
Return type: | The objects index of type AccessIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Access |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | networkCode -- string |
---|
Network code
Return type: | string |
---|
Parameters: | stationCode -- string |
---|
Station code (empty for any station)
Return type: | string |
---|
Parameters: | locationCode -- string |
---|
Location code (empty for any location)
Return type: | string |
---|
Parameters: | streamCode -- string |
---|
Stream (Channel) code (empty for any stream)
Return type: | string |
---|
Parameters: | user -- string |
---|
Username (e-mail) or part of it (must match the end)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of validity
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of validity
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Routing |
---|
Returns the parent Routing if available. Returns None if the parent is not a Routing. This is a convenience wrapper for parent().
Return type: | A cloned Access. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Amplitude. |
---|
Creates and registeres (if enabled) a Amplitude instance. The publicID is autogenerated.
Return type: | a new object of type Amplitude. |
---|
Creates and registeres (if enabled) a Amplitude instance with passed publicID.
Parameters: | other -- Amplitude |
---|---|
Return type: | 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.
Parameters: | 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.
Return type: | string |
---|
Parameters: | amplitude -- 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.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | timeWindow -- TimeWindow |
---|
Description of the time window used for amplitude measurement. Recommended for duration magnitudes.
Return type: | TimeWindow |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | period -- RealQuantity |
---|
Dominant period in the timeWindow in case of amplitude measurements. Not used for duration magnitude. The unit is seconds.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | snr -- float |
---|
Signal-to-noise ratio of the spectrogram at the location the amplitude was measured.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | string |
---|
Parameters: | pickID -- string |
---|
Refers to the publicID of an associated Pick object.
Return type: | string |
---|
Parameters: | waveformID -- WaveformStreamID |
---|
Identifies the waveform stream on which the amplitude was measured.
Return type: | WaveformStreamID |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | filterID -- string |
---|
Identifies the filter or filter setup used for filtering the waveform stream referenced by waveformID.
Return type: | string |
---|
Parameters: | methodID -- string |
---|
Return type: | string |
---|
Parameters: | scalingTime -- TimeQuantity |
---|
Scaling time for amplitude measurement.
Return type: | TimeQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | string |
---|
Parameters: | evaluationMode -- EvaluationMode |
---|
Evaluation mode of Amplitude.
Return type: | EvaluationMode |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Amplitude object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Amplitude.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned Amplitude. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- AmplitudeReference |
---|---|
Return type: | 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.
Return type: | The objects index of type AmplitudeReferenceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- AmplitudeReference |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | amplitudeID -- string |
---|
Return type: | string |
---|
Return type: | Reading |
---|
Returns the parent Reading if available. Returns None if the parent is not a Reading. This is a convenience wrapper for parent().
Return type: | A cloned AmplitudeReference. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ArclinkLog |
---|---|
Return type: | 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.
Parameters: | arclinkRequest -- Object of type ArclinkRequest |
---|---|
Return type: | 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.
Parameters: | arclinkUser -- Object of type ArclinkUser |
---|---|
Return type: | 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.
Parameters: | arclinkRequest -- Object of type ArclinkRequest |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ArclinkRequest object from ArclinkLog.
Parameters: | arclinkUser -- Object of type ArclinkUser |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ArclinkUser object from ArclinkLog.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | arclinkRequestIndex -- The index of the object to be removed of type ArclinkRequestIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | arclinkUserIndex -- The index of the object to be removed of type ArclinkUserIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ArclinkRequest child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ArclinkUser child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ArclinkRequest. |
Returns the ArclinkRequest at index idx.
Parameters: | arclinkRequestIndex -- The index of the object to be removed of type ArclinkRequestIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ArclinkUser. |
Returns the ArclinkUser at index idx.
Parameters: | arclinkUserIndex -- The index of the object to be removed of type ArclinkUserIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ArclinkRequest. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ArclinkUser. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned ArclinkLog. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ArclinkRequest. |
---|
Creates and registeres (if enabled) a ArclinkRequest instance. The publicID is autogenerated.
Return type: | a new object of type ArclinkRequest. |
---|
Creates and registeres (if enabled) a ArclinkRequest instance with passed publicID.
Parameters: | other -- ArclinkRequest |
---|---|
Return type: | 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.
Return type: | The objects index of type ArclinkRequestIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ArclinkRequest |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | requestID -- string |
---|
Return type: | string |
---|
Parameters: | userID -- string |
---|
Return type: | string |
---|
Parameters: | userIP -- string |
---|
Return type: | string |
---|
Parameters: | clientID -- string |
---|
Return type: | string |
---|
Parameters: | clientIP -- string |
---|
Return type: | string |
---|
Parameters: | type -- string |
---|
Return type: | string |
---|
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Parameters: | status -- string |
---|
Return type: | string |
---|
Parameters: | message -- string |
---|
Return type: | string |
---|
Parameters: | label -- string |
---|
Return type: | string |
---|
Parameters: | header -- string |
---|
Return type: | string |
---|
Parameters: | summary -- ArclinkRequestSummary |
---|
Return type: | ArclinkRequestSummary |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | arclinkStatusLine -- Object of type ArclinkStatusLine |
---|---|
Return type: | 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.
Parameters: | arclinkRequestLine -- Object of type ArclinkRequestLine |
---|---|
Return type: | 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.
Parameters: | arclinkStatusLine -- Object of type ArclinkStatusLine |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ArclinkStatusLine object from ArclinkRequest.
Parameters: | arclinkRequestLine -- Object of type ArclinkRequestLine |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ArclinkRequestLine object from ArclinkRequest.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | arclinkStatusLineIndex -- The index of the object to be removed of type ArclinkStatusLineIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | arclinkRequestLineIndex -- The index of the object to be removed of type ArclinkRequestLineIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ArclinkStatusLine child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ArclinkRequestLine child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ArclinkStatusLine. |
Returns the ArclinkStatusLine at index idx.
Parameters: | arclinkStatusLineIndex -- The index of the object to be removed of type ArclinkStatusLineIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ArclinkRequestLine. |
Returns the ArclinkRequestLine at index idx.
Parameters: | arclinkRequestLineIndex -- The index of the object to be removed of type ArclinkRequestLineIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | ArclinkLog |
---|
Returns the parent ArclinkLog if available. Returns None if the parent is not a ArclinkLog. This is a convenience wrapper for parent().
Return type: | A cloned ArclinkRequest. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ArclinkRequestLine |
---|---|
Return type: | 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.
Return type: | The objects index of type ArclinkRequestLineIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ArclinkRequestLine |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | start -- datetime |
---|
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
Return type: | datetime |
---|
Parameters: | streamID -- WaveformStreamID |
---|
Return type: | WaveformStreamID |
---|
Parameters: | restricted -- boolean |
---|
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | shared -- boolean |
---|
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | netClass -- string |
---|
Return type: | string |
---|
Parameters: | constraints -- string |
---|
Return type: | string |
---|
Parameters: | status -- ArclinkStatusLine |
---|
Return type: | ArclinkStatusLine |
---|
Return type: | ArclinkRequest |
---|
Returns the parent ArclinkRequest if available. Returns None if the parent is not a ArclinkRequest. This is a convenience wrapper for parent().
Return type: | A cloned ArclinkRequestLine. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ArclinkRequestSummary |
---|---|
Return type: | 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.
Parameters: | okLineCount -- int |
---|
Return type: | int |
---|
Parameters: | totalLineCount -- int |
---|
Return type: | int |
---|
Parameters: | averageTimeWindow -- int |
---|
Return type: | int |
---|
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ArclinkStatusLine |
---|---|
Return type: | 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.
Return type: | The objects index of type ArclinkStatusLineIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ArclinkStatusLine |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | type -- string |
---|
Return type: | string |
---|
Parameters: | status -- string |
---|
Return type: | string |
---|
Parameters: | size -- int |
---|
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | message -- string |
---|
Return type: | string |
---|
Parameters: | volumeID -- string |
---|
Return type: | string |
---|
Return type: | ArclinkRequest |
---|
Returns the parent ArclinkRequest if available. Returns None if the parent is not a ArclinkRequest. This is a convenience wrapper for parent().
Return type: | A cloned ArclinkStatusLine. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ArclinkUser. |
---|
Creates and registeres (if enabled) a ArclinkUser instance. The publicID is autogenerated.
Return type: | a new object of type ArclinkUser. |
---|
Creates and registeres (if enabled) a ArclinkUser instance with passed publicID.
Parameters: | other -- ArclinkUser |
---|---|
Return type: | 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.
Return type: | The objects index of type ArclinkUserIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ArclinkUser |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Return type: | string |
---|
Parameters: | email -- string |
---|
Return type: | string |
---|
Parameters: | password -- string |
---|
Return type: | string |
---|
Return type: | ArclinkLog |
---|
Returns the parent ArclinkLog if available. Returns None if the parent is not a ArclinkLog. This is a convenience wrapper for parent().
Return type: | A cloned ArclinkUser. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Arrival |
---|---|
Return type: | 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.
Return type: | The objects index of type ArrivalIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Arrival |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | pickID -- string |
---|
Refers to a publicID of a Pick.
Return type: | string |
---|
Parameters: | phase -- Phase |
---|
Phase identification. For possible values, please refer to the description of the Phase type.
Parameters: | 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.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuth -- float |
---|
Azimuth of station as seen from the epicenter in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | distance -- float |
---|
Epicentral distance in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | takeOffAngle -- float |
---|
Angle of emerging ray at the source, measured against the downward normal direction in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | horizontalSlownessResidual -- float |
---|
Residual of horizontal slowness and the expected slowness given the current origin (refers to attribute horizontalSlowness of class Pick) in s/deg.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | backazimuthResidual -- float |
---|
Residual of backazimuth and the backazimuth computed for the current origin (refers to attribute backazimuth of class Pick) in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | timeUsed -- boolean |
---|
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | backazimuthUsed -- boolean |
---|
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | earthModelID -- string |
---|
Earth model which is used for the association of Arrival to Pick and computation of the residuals.
Return type: | string |
---|
Parameters: | preliminary -- boolean |
---|
Indicates if the arrival is preliminary.
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Arrival object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Origin |
---|
Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent().
Return type: | A cloned Arrival. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes an auxilliary device
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type AuxDevice. |
---|
Creates and registeres (if enabled) a AuxDevice instance. The publicID is autogenerated.
Return type: | a new object of type AuxDevice. |
---|
Creates and registeres (if enabled) a AuxDevice instance with passed publicID.
Parameters: | other -- AuxDevice |
---|---|
Return type: | 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.
Return type: | The objects index of type AuxDeviceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- AuxDevice |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique device name
Return type: | string |
---|
Parameters: | description -- string |
---|
Device description
Return type: | string |
---|
Parameters: | model -- string |
---|
Device model
Return type: | string |
---|
Parameters: | manufacturer -- string |
---|
Device manufacturer
Return type: | string |
---|
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | auxSource -- Object of type AuxSource |
---|---|
Return type: | 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.
Parameters: | auxSource -- Object of type AuxSource |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added AuxSource object from AuxDevice.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | auxSourceIndex -- The index of the object to be removed of type AuxSourceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of AuxSource child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type AuxSource. |
Returns the AuxSource at index idx.
Parameters: | auxSourceIndex -- The index of the object to be removed of type AuxSourceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned AuxDevice. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a channel of an auxilliary device
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- AuxSource |
---|---|
Return type: | 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.
Return type: | The objects index of type AuxSourceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- AuxSource |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Referred from network/station/auxStream/@source
Return type: | string |
---|
Parameters: | description -- string |
---|
Description
Return type: | string |
---|
Parameters: | unit -- string |
---|
Unit of mesurement
Return type: | string |
---|
Parameters: | conversion -- string |
---|
Conversion formula from counts to unit of measurement
Return type: | string |
---|
Parameters: | sampleRateNumerator -- int |
---|
Output sample rate (numerator); referred from network/station/AuxStream/@sampleRateNumerator
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | sampleRateDenominator -- int |
---|
Output sample rate (denominator); referred from network/station/AuxStream/@sampleRateDenominator
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | AuxDevice |
---|
Returns the parent AuxDevice if available. Returns None if the parent is not a AuxDevice. This is a convenience wrapper for parent().
Return type: | A cloned AuxSource. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a stream (channel) without defined frequency response
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- AuxStream |
---|---|
Return type: | 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.
Return type: | The objects index of type AuxStreamIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- AuxStream |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Stream code (52.04)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of epoch in ISO datetime format (52.22)
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of epoch (52.23)
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | device -- string |
---|
Reference to auxDevice/@publicID
Return type: | string |
---|
Parameters: | deviceSerialNumber -- string |
---|
Serial number of device
Return type: | string |
---|
Parameters: | source -- string |
---|
Reference to auxSource/@name
Return type: | string |
---|
Parameters: | format -- string |
---|
Data format, eg.: "steim1", "steim2", "mseedN" (N = encoding format in blockette 1000)
Return type: | string |
---|
Parameters: | flags -- string |
---|
Channel flags (52.21)
Return type: | string |
---|
Parameters: | restricted -- boolean |
---|
Whether the stream is "restricted"
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | shared -- boolean |
---|
Whether the metadata is synchronized with other datacenters
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | SensorLocation |
---|
Returns the parent SensorLocation if available. Returns None if the parent is not a SensorLocation. This is a convenience wrapper for parent().
Return type: | A cloned AuxStream. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Axis |
---|---|
Return type: | 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.
Parameters: | azimuth -- RealQuantity |
---|
Azimuth of eigenvector of moment tensor expressed in principal-axes system. Measured clockwise from South-North direction at epicenter in degrees.
Return type: | RealQuantity |
---|
Parameters: | plunge -- RealQuantity |
---|
Plunge of eigenvector of moment tensor expressed in principal-axes system. Measured against downward vertical direction at epicenter in degrees.
Return type: | RealQuantity |
---|
Parameters: | length -- RealQuantity |
---|
Eigenvalue of moment tensor expressed in principal-axes system in Nm.
Return type: | RealQuantity |
---|
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Blob |
---|---|
Return type: | 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.
Parameters: | content -- string |
---|
Return type: | string |
---|
Inherits Object.
Comment holds information on comments to a resource as well as author and creation time information.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Comment |
---|---|
Return type: | 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.
Return type: | The objects index of type CommentIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Comment |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | text -- string |
---|
Text of comment.
Return type: | string |
---|
Parameters: | id -- string |
---|
Identifier of comment, possibly in QuakeML RI format.
Return type: | string |
---|
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Comment object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | MomentTensor |
---|
Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent().
Return type: | FocalMechanism |
---|
Returns the parent FocalMechanism if available. Returns None if the parent is not a FocalMechanism. This is a convenience wrapper for parent().
Return type: | Amplitude |
---|
Returns the parent Amplitude if available. Returns None if the parent is not a Amplitude. This is a convenience wrapper for parent().
Return type: | Magnitude |
---|
Returns the parent Magnitude if available. Returns None if the parent is not a Magnitude. This is a convenience wrapper for parent().
Return type: | StationMagnitude |
---|
Returns the parent StationMagnitude if available. Returns None if the parent is not a StationMagnitude. This is a convenience wrapper for parent().
Return type: | Pick |
---|
Returns the parent Pick if available. Returns None if the parent is not a Pick. This is a convenience wrapper for parent().
Return type: | Event |
---|
Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent().
Return type: | Origin |
---|
Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent().
Return type: | Parameter |
---|
Returns the parent Parameter if available. Returns None if the parent is not a Parameter. This is a convenience wrapper for parent().
Return type: | ParameterSet |
---|
Returns the parent ParameterSet if available. Returns None if the parent is not a ParameterSet. This is a convenience wrapper for parent().
Return type: | A cloned Comment. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ComplexArray |
---|---|
Return type: | 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.
Parameters: | content -- complex |
---|
Return type: | complex |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- CompositeTime |
---|---|
Return type: | 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.
Parameters: | year -- IntegerQuantity |
---|
Year or range of years of the event's focal time.
Return type: | IntegerQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | month -- IntegerQuantity |
---|
Month or range of months of the event's focal time.
Return type: | IntegerQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | day -- IntegerQuantity |
---|
Day or range of days of the event's focal time.
Return type: | IntegerQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | hour -- IntegerQuantity |
---|
Hour or range of hours of the event's focal time.
Return type: | IntegerQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | minute -- IntegerQuantity |
---|
Minute or range of minutes of the event's focal time.
Return type: | IntegerQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | second -- RealQuantity |
---|
Second and fraction of seconds or range of seconds with fraction of the event's focal time.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Origin |
---|
Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent().
Return type: | A cloned CompositeTime. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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)
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- ConfidenceEllipsoid |
---|---|
Return type: | 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.
Parameters: | semiMajorAxisLength -- float |
---|
Largest uncertainty, corresponding to the semi-major axis of the confidence ellipsoid in meter.
Return type: | float |
---|
Parameters: | semiMinorAxisLength -- float |
---|
Smallest uncertainty, corresponding to the semi-minor axis of the confidence ellipsoid in meter.
Return type: | float |
---|
Parameters: | semiIntermediateAxisLength -- float |
---|
Uncertainty in direction orthogonal to major and minor axes of the confidence ellipsoid in meter.
Return type: | float |
---|
Parameters: | majorAxisPlunge -- float |
---|
Plunge angle of major axis of confidence ellipsoid. Corresponds to Tait-Bryan angle phi in degrees.
Return type: | float |
---|
Parameters: | majorAxisAzimuth -- float |
---|
Azimuth angle of major axis of confidence ellipsoid. Corresponds to Tait-Bryan angle psi in degrees.
Return type: | float |
---|
Parameters: | 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.
Return type: | float |
---|
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Config |
---|---|
Return type: | 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.
Parameters: | parameterSet -- Object of type ParameterSet |
---|---|
Return type: | 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.
Parameters: | configModule -- Object of type ConfigModule |
---|---|
Return type: | 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.
Parameters: | parameterSet -- Object of type ParameterSet |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ParameterSet object from Config.
Parameters: | configModule -- Object of type ConfigModule |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ConfigModule object from Config.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ParameterSet child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ConfigModule child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ParameterSet. |
Returns the ParameterSet at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ConfigModule. |
Returns the ConfigModule at index idx.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ParameterSet. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ConfigModule. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned Config. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ConfigModule. |
---|
Creates and registeres (if enabled) a ConfigModule instance. The publicID is autogenerated.
Return type: | a new object of type ConfigModule. |
---|
Creates and registeres (if enabled) a ConfigModule instance with passed publicID.
Parameters: | other -- ConfigModule |
---|---|
Return type: | 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.
Parameters: | name -- string |
---|
Return type: | string |
---|
Parameters: | parameterSetID -- string |
---|
Return type: | string |
---|
Parameters: | enabled -- boolean |
---|
Return type: | boolean |
---|
Parameters: | configStation -- Object of type ConfigStation |
---|---|
Return type: | 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.
Parameters: | configStation -- Object of type ConfigStation |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ConfigStation object from ConfigModule.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | configStationIndex -- The index of the object to be removed of type ConfigStationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ConfigStation child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ConfigStation. |
Returns the ConfigStation at index idx.
Parameters: | configStationIndex -- The index of the object to be removed of type ConfigStationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ConfigStation. |
Returns the child object with a certain publicID, None otherwise.
Return type: | Config |
---|
Returns the parent Config if available. Returns None if the parent is not a Config. This is a convenience wrapper for parent().
Return type: | A cloned ConfigModule. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ConfigStation. |
---|
Creates and registeres (if enabled) a ConfigStation instance. The publicID is autogenerated.
Return type: | a new object of type ConfigStation. |
---|
Creates and registeres (if enabled) a ConfigStation instance with passed publicID.
Parameters: | other -- ConfigStation |
---|---|
Return type: | 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.
Return type: | The objects index of type ConfigStationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ConfigStation |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | networkCode -- string |
---|
Return type: | string |
---|
Parameters: | stationCode -- string |
---|
Return type: | string |
---|
Parameters: | enabled -- boolean |
---|
Return type: | boolean |
---|
Parameters: | setup -- Object of type Setup |
---|---|
Return type: | 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.
Parameters: | setup -- Object of type Setup |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Setup object from ConfigStation.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | setupIndex -- The index of the object to be removed of type SetupIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Setup child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Setup. |
Returns the Setup at index idx.
Parameters: | setupIndex -- The index of the object to be removed of type SetupIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | ConfigModule |
---|
Returns the parent ConfigModule if available. Returns None if the parent is not a ConfigModule. This is a convenience wrapper for parent().
Return type: | A cloned ConfigStation. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
CreationInfo is used to describe creation metadata (author, version, and creation time) of a resource.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- CreationInfo |
---|---|
Return type: | 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.
Parameters: | agencyID -- string |
---|
Designation of agency that published a resource. The string has a maximum length of 64 characters.
Return type: | string |
---|
Parameters: | agencyURI -- string |
---|
RI of the agency that published a resource.
Return type: | string |
---|
Parameters: | author -- string |
---|
Name describing the author of a resource. The string has a maximum length of 128 characters.
Return type: | string |
---|
Parameters: | authorURI -- string |
---|
RI of the author of a resource.
Return type: | string |
---|
Parameters: | creationTime -- datetime |
---|
Time of creation of a resource, in ISO 8601 format. It has to be given in UTC.
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | modificationTime -- datetime |
---|
Time of last modification of a resource, in ISO 8601 format. It has to be given in UTC.
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | version -- string |
---|
Version string of a resource.
Return type: | string |
---|
Inherits Object.
The DataUsed class describes the type of data that has been used for a moment-tensor inversion.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- DataUsed |
---|---|
Return type: | 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.
Parameters: | waveType -- DataUsedWaveType |
---|
Type of waveform data.
Return type: | DataUsedWaveType |
---|
Parameters: | stationCount -- int |
---|
Number of stations that have contributed data of the type given in waveType.
Return type: | int |
---|
Parameters: | componentCount -- int |
---|
Number of data components of the type given in waveType.
Return type: | int |
---|
Parameters: | shortestPeriod -- float |
---|
Shortest period present in data in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | MomentTensor |
---|
Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent().
Return type: | A cloned DataUsed. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a datalogger (digitizer and recorder)
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Datalogger. |
---|
Creates and registeres (if enabled) a Datalogger instance. The publicID is autogenerated.
Return type: | a new object of type Datalogger. |
---|
Creates and registeres (if enabled) a Datalogger instance with passed publicID.
Parameters: | other -- Datalogger |
---|---|
Return type: | 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.
Return type: | The objects index of type DataloggerIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Datalogger |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique Datalogger name
Return type: | string |
---|
Parameters: | description -- string |
---|
Datalogger description
Return type: | string |
---|
Parameters: | digitizerModel -- string |
---|
Digitizer model
Return type: | string |
---|
Parameters: | digitizerManufacturer -- string |
---|
Digitizer manufacturer
Return type: | string |
---|
Parameters: | recorderModel -- string |
---|
Recorder model
Return type: | string |
---|
Parameters: | recorderManufacturer -- string |
---|
Recorder manufacturer
Return type: | string |
---|
Parameters: | clockModel -- string |
---|
Clock model (mostly unused)
Return type: | string |
---|
Parameters: | clockManufacturer -- string |
---|
Clock manufacturer (mostly unused)
Return type: | string |
---|
Parameters: | clockType -- string |
---|
Clock type (mostly unused)
Return type: | string |
---|
Parameters: | gain -- float |
---|
Sensitivity of digitizer, counts/V (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | maxClockDrift -- float |
---|
Max clock drift, seconds/second (not identical to 52.19, which is seconds/sample)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | dataloggerCalibration -- Object of type DataloggerCalibration |
---|---|
Return type: | 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.
Parameters: | decimation -- Object of type Decimation |
---|---|
Return type: | 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.
Parameters: | dataloggerCalibration -- Object of type DataloggerCalibration |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added DataloggerCalibration object from Datalogger.
Parameters: | decimation -- Object of type Decimation |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Decimation object from Datalogger.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | dataloggerCalibrationIndex -- The index of the object to be removed of type DataloggerCalibrationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | decimationIndex -- The index of the object to be removed of type DecimationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of DataloggerCalibration child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Decimation child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type DataloggerCalibration. |
Returns the DataloggerCalibration at index idx.
Parameters: | dataloggerCalibrationIndex -- The index of the object to be removed of type DataloggerCalibrationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Decimation. |
Returns the Decimation at index idx.
Parameters: | decimationIndex -- The index of the object to be removed of type DecimationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned Datalogger. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a datalogger calibration
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- DataloggerCalibration |
---|---|
Return type: | 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.
Return type: | The objects index of type DataloggerCalibrationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- DataloggerCalibration |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | serialNumber -- string |
---|
Referred from network/station/Stream/@dataloggerSerialNumber
Return type: | string |
---|
Parameters: | channel -- int |
---|
Referred from network/station/Stream/@dataloggerChannel
Return type: | int |
---|
Parameters: | start -- datetime |
---|
Start of validity
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of validity
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gain -- float |
---|
Overrides nominal gain of calibrated datalogger (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainFrequency -- float |
---|
Gain frequency (48.06/58.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Datalogger |
---|
Returns the parent Datalogger if available. Returns None if the parent is not a Datalogger. This is a convenience wrapper for parent().
Return type: | A cloned DataloggerCalibration. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a decimation to a certain sample rate
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Decimation |
---|---|
Return type: | 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.
Return type: | The objects index of type DecimationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Decimation |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | sampleRateNumerator -- int |
---|
Output sample rate (numerator); referred from network/station/Stream/@sampleRateNumerator
Return type: | int |
---|
Parameters: | sampleRateDenominator -- int |
---|
Output sample rate (denominator); referred from network/station/Stream/@sampleRateDenominator
Return type: | int |
---|
Parameters: | analogueFilterChain -- Blob |
---|
Specifies analogue filters between seismometer and digitizer. Each element (separated by space) references responsePAZ/@publicID
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | digitalFilterChain -- Blob |
---|
Specifies digital filters (decimation, gain removal). Each element (separated by space) references responsePAZ@publicID or responseFIR/@publicID
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Datalogger |
---|
Returns the parent Datalogger if available. Returns None if the parent is not a Datalogger. This is a convenience wrapper for parent().
Return type: | A cloned Decimation. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Event. |
---|
Creates and registeres (if enabled) a Event instance. The publicID is autogenerated.
Return type: | a new object of type Event. |
---|
Creates and registeres (if enabled) a Event instance with passed publicID.
Parameters: | other -- Event |
---|---|
Return type: | 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.
Parameters: | preferredOriginID -- string |
---|
Refers to the publicID of the preferred Origin object.
Return type: | string |
---|
Parameters: | preferredMagnitudeID -- string |
---|
Refers to the publicID of the preferred Magnitude object.
Return type: | string |
---|
Parameters: | preferredFocalMechanismID -- string |
---|
Refers to the publicID of the preferred FocalMechanism object.
Return type: | string |
---|
Parameters: | type -- EventType |
---|
Describes the type of an event (Storchak et al. 2012).
Return type: | EventType |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | typeCertainty -- EventTypeCertainty |
---|
Denotes how certain the information on event type is (Storchak et al. 2012).
Return type: | EventTypeCertainty |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Event object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | eventDescription -- Object of type EventDescription |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | originReference -- Object of type OriginReference |
---|---|
Return type: | 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.
Parameters: | focalMechanismReference -- Object of type FocalMechanismReference |
---|---|
Return type: | 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.
Parameters: | eventDescription -- Object of type EventDescription |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added EventDescription object from Event.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Event.
Parameters: | originReference -- Object of type OriginReference |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added OriginReference object from Event.
Parameters: | focalMechanismReference -- Object of type FocalMechanismReference |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added FocalMechanismReference object from Event.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | eventDescriptionIndex -- The index of the object to be removed of type EventDescriptionIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | originReferenceIndex -- The index of the object to be removed of type OriginReferenceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | focalMechanismReferenceIndex -- The index of the object to be removed of type FocalMechanismReferenceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of EventDescription child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of OriginReference child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of FocalMechanismReference child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type EventDescription. |
Returns the EventDescription at index idx.
Parameters: | eventDescriptionIndex -- The index of the object to be removed of type EventDescriptionIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type OriginReference. |
Returns the OriginReference at index idx.
Parameters: | originReferenceIndex -- The index of the object to be removed of type OriginReferenceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type FocalMechanismReference. |
Returns the FocalMechanismReference at index idx.
Parameters: | focalMechanismReferenceIndex -- The index of the object to be removed of type FocalMechanismReferenceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned Event. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- EventDescription |
---|---|
Return type: | 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.
Return type: | The objects index of type EventDescriptionIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- EventDescription |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | text -- string |
---|
Free-form text with earthquake description.
Return type: | string |
---|
Parameters: | type -- EventDescriptionType |
---|
Category of earthquake description.
Return type: | EventDescriptionType |
---|
Return type: | Event |
---|
Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent().
Return type: | A cloned EventDescription. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type can hold objects of type Event, Origin, Magnitude, StationMagnitude, FocalMechanism, Reading, Amplitude, and Pick.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- EventParameters |
---|---|
Return type: | 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.
Parameters: | pick -- Object of type Pick |
---|---|
Return type: | 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.
Parameters: | amplitude -- Object of type Amplitude |
---|---|
Return type: | 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.
Parameters: | reading -- Object of type Reading |
---|---|
Return type: | 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.
Parameters: | origin -- Object of type Origin |
---|---|
Return type: | 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.
Parameters: | focalMechanism -- Object of type FocalMechanism |
---|---|
Return type: | 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.
Parameters: | event -- Object of type Event |
---|---|
Return type: | 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.
Parameters: | pick -- Object of type Pick |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Pick object from EventParameters.
Parameters: | amplitude -- Object of type Amplitude |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Amplitude object from EventParameters.
Parameters: | reading -- Object of type Reading |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Reading object from EventParameters.
Parameters: | origin -- Object of type Origin |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Origin object from EventParameters.
Parameters: | focalMechanism -- Object of type FocalMechanism |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added FocalMechanism object from EventParameters.
Parameters: | event -- Object of type Event |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Event object from EventParameters.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Pick child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Amplitude child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Reading child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Origin child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of FocalMechanism child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Event child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Pick. |
Returns the Pick at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Amplitude. |
Returns the Amplitude at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Reading. |
Returns the Reading at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Origin. |
Returns the Origin at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type FocalMechanism. |
Returns the FocalMechanism at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Event. |
Returns the Event at index idx.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Pick. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Amplitude. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Reading. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Origin. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type FocalMechanism. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Event. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned EventParameters. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type FocalMechanism. |
---|
Creates and registeres (if enabled) a FocalMechanism instance. The publicID is autogenerated.
Return type: | a new object of type FocalMechanism. |
---|
Creates and registeres (if enabled) a FocalMechanism instance with passed publicID.
Parameters: | other -- FocalMechanism |
---|---|
Return type: | 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.
Parameters: | triggeringOriginID -- string |
---|
Refers to the publicID of the triggering origin.
Return type: | string |
---|
Parameters: | nodalPlanes -- NodalPlanes |
---|
Nodal planes of the focal mechanism.
Return type: | NodalPlanes |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | principalAxes -- PrincipalAxes |
---|
Principal axes of the focal mechanism.
Return type: | PrincipalAxes |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuthalGap -- float |
---|
Largest azimuthal gap in distribution of stations used for determination of focal mechanism in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | stationPolarityCount -- int |
---|
Number of station polarities used for determination of focal mechanism.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | misfit -- float |
---|
Fraction of misfit polarities in a first-motion focal mechanism determination. Decimal fraction between 0 and 1.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | methodID -- string |
---|
Resource identifier of the method used for determination of the focal mechanism.
Return type: | string |
---|
Parameters: | evaluationMode -- EvaluationMode |
---|
Evaluation mode of FocalMechanism.
Return type: | EvaluationMode |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationStatus -- EvaluationStatus |
---|
Evaluation status of FocalMechanism.
Return type: | EvaluationStatus |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | momentTensor -- Object of type MomentTensor |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from FocalMechanism.
Parameters: | momentTensor -- Object of type MomentTensor |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added MomentTensor object from FocalMechanism.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of MomentTensor child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type MomentTensor. |
Returns the MomentTensor at index idx.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type MomentTensor. |
Returns the child object with a certain publicID, None otherwise.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned FocalMechanism. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- FocalMechanismReference |
---|---|
Return type: | 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.
Return type: | The objects index of type FocalMechanismReferenceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- FocalMechanismReference |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | focalMechanismID -- string |
---|
Return type: | string |
---|
Return type: | Event |
---|
Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent().
Return type: | A cloned FocalMechanismReference. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- IntegerQuantity |
---|---|
Return type: | 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.
Parameters: | value -- int |
---|
Value of the quantity. The unit is implicitly defined and depends on the context.
Return type: | int |
---|
Parameters: | uncertainty -- int |
---|
Uncertainty as the absolute value of symmetric deviation from the main value.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | lowerUncertainty -- int |
---|
Uncertainty as the absolute value of deviation from the main value towards smaller values.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | upperUncertainty -- int |
---|
Uncertainty as the absolute value of deviation from the main value towards larger values.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | confidenceLevel -- float |
---|
Confidence level of the uncertainty, given in percent.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Inventory |
---|---|
Return type: | 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.
Parameters: | stationGroup -- Object of type StationGroup |
---|---|
Return type: | 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.
Parameters: | auxDevice -- Object of type AuxDevice |
---|---|
Return type: | 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.
Parameters: | sensor -- Object of type Sensor |
---|---|
Return type: | 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.
Parameters: | datalogger -- Object of type Datalogger |
---|---|
Return type: | 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.
Parameters: | responsePAZ -- Object of type ResponsePAZ |
---|---|
Return type: | 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.
Parameters: | responseFIR -- Object of type ResponseFIR |
---|---|
Return type: | 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.
Parameters: | responsePolynomial -- Object of type ResponsePolynomial |
---|---|
Return type: | 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.
Parameters: | network -- Object of type Network |
---|---|
Return type: | 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.
Parameters: | stationGroup -- Object of type StationGroup |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added StationGroup object from Inventory.
Parameters: | auxDevice -- Object of type AuxDevice |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added AuxDevice object from Inventory.
Parameters: | sensor -- Object of type Sensor |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Sensor object from Inventory.
Parameters: | datalogger -- Object of type Datalogger |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Datalogger object from Inventory.
Parameters: | responsePAZ -- Object of type ResponsePAZ |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ResponsePAZ object from Inventory.
Parameters: | responseFIR -- Object of type ResponseFIR |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ResponseFIR object from Inventory.
Parameters: | responsePolynomial -- Object of type ResponsePolynomial |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added ResponsePolynomial object from Inventory.
Parameters: | network -- Object of type Network |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Network object from Inventory.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | stationGroupIndex -- The index of the object to be removed of type StationGroupIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | auxDeviceIndex -- The index of the object to be removed of type AuxDeviceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | sensorIndex -- The index of the object to be removed of type SensorIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | dataloggerIndex -- The index of the object to be removed of type DataloggerIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | responsePAZIndex -- The index of the object to be removed of type ResponsePAZIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | responseFIRIndex -- The index of the object to be removed of type ResponseFIRIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | responsePolynomialIndex -- The index of the object to be removed of type ResponsePolynomialIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | networkIndex -- The index of the object to be removed of type NetworkIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of StationGroup child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of AuxDevice child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Sensor child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Datalogger child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ResponsePAZ child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ResponseFIR child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of ResponsePolynomial child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Network child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type StationGroup. |
Returns the StationGroup at index idx.
Parameters: | stationGroupIndex -- The index of the object to be removed of type StationGroupIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type AuxDevice. |
Returns the AuxDevice at index idx.
Parameters: | auxDeviceIndex -- The index of the object to be removed of type AuxDeviceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Sensor. |
Returns the Sensor at index idx.
Parameters: | sensorIndex -- The index of the object to be removed of type SensorIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Datalogger. |
Returns the Datalogger at index idx.
Parameters: | dataloggerIndex -- The index of the object to be removed of type DataloggerIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ResponsePAZ. |
Returns the ResponsePAZ at index idx.
Parameters: | responsePAZIndex -- The index of the object to be removed of type ResponsePAZIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ResponseFIR. |
Returns the ResponseFIR at index idx.
Parameters: | responseFIRIndex -- The index of the object to be removed of type ResponseFIRIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type ResponsePolynomial. |
Returns the ResponsePolynomial at index idx.
Parameters: | responsePolynomialIndex -- The index of the object to be removed of type ResponsePolynomialIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Network. |
Returns the Network at index idx.
Parameters: | networkIndex -- The index of the object to be removed of type NetworkIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type StationGroup. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type AuxDevice. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Sensor. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Datalogger. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ResponsePAZ. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ResponseFIR. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type ResponsePolynomial. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Network. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned Inventory. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- JournalEntry |
---|---|
Return type: | 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.
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | objectID -- string |
---|
Return type: | string |
---|
Parameters: | sender -- string |
---|
Return type: | string |
---|
Parameters: | action -- string |
---|
Return type: | string |
---|
Parameters: | parameters -- string |
---|
Return type: | string |
---|
Return type: | Journaling |
---|
Returns the parent Journaling if available. Returns None if the parent is not a Journaling. This is a convenience wrapper for parent().
Return type: | A cloned JournalEntry. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Journaling |
---|---|
Return type: | 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.
Parameters: | journalEntry -- Object of type JournalEntry |
---|---|
Return type: | 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.
Parameters: | journalEntry -- Object of type JournalEntry |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added JournalEntry object from Journaling.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of JournalEntry child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type JournalEntry. |
Returns the JournalEntry at index idx.
Parameters: | journalEntry -- Reference object of type JournalEntry. |
---|---|
Return type: | Object of type JournalEntry. |
Returns the child object with equals the passed object, None otherwise.
Return type: | A cloned Journaling. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Magnitude. |
---|
Creates and registeres (if enabled) a Magnitude instance. The publicID is autogenerated.
Return type: | a new object of type Magnitude. |
---|
Creates and registeres (if enabled) a Magnitude instance with passed publicID.
Parameters: | other -- Magnitude |
---|---|
Return type: | 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.
Parameters: | magnitude -- RealQuantity |
---|
Resulting magnitude value from combining values of type StationMagnitude. If no estimations are available, this value can represent the reported magnitude.
Return type: | RealQuantity |
---|
Parameters: | 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.
Return type: | string |
---|
Parameters: | originID -- string |
---|
Reference to an origin's publicID if the magnitude has an associated Origin.
Return type: | string |
---|
Parameters: | methodID -- string |
---|
Identifies the method of magnitude estimation. Users should avoid to give contradictory information in methodID and type.
Return type: | string |
---|
Parameters: | stationCount -- int |
---|
Number of used stations for this magnitude computation.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuthalGap -- float |
---|
Azimuthal gap for this magnitude computation in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationStatus -- EvaluationStatus |
---|
Evaluation status of Magnitude.
Return type: | EvaluationStatus |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Magnitude object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | stationMagnitudeContribution -- Object of type StationMagnitudeContribution |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Magnitude.
Parameters: | stationMagnitudeContribution -- Object of type StationMagnitudeContribution |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added StationMagnitudeContribution object from Magnitude.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | stationMagnitudeContributionIndex -- The index of the object to be removed of type StationMagnitudeContributionIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of StationMagnitudeContribution child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type StationMagnitudeContribution. |
Returns the StationMagnitudeContribution at index idx.
Parameters: | stationMagnitudeContributionIndex -- The index of the object to be removed of type StationMagnitudeContributionIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Origin |
---|
Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent().
Return type: | A cloned Magnitude. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This class represents a moment tensor solution for an event. It is an optional part of a FocalMechanism description.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type MomentTensor. |
---|
Creates and registeres (if enabled) a MomentTensor instance. The publicID is autogenerated.
Return type: | a new object of type MomentTensor. |
---|
Creates and registeres (if enabled) a MomentTensor instance with passed publicID.
Parameters: | other -- MomentTensor |
---|---|
Return type: | 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.
Parameters: | derivedOriginID -- string |
---|
Refers to the publicID of the Origin derived in the moment tensor inversion.
Return type: | string |
---|
Parameters: | momentMagnitudeID -- string |
---|
Refers to the publicID of the Magnitude object which represents the derived moment magnitude.
Return type: | string |
---|
Parameters: | scalarMoment -- RealQuantity |
---|
Scalar moment as derived in moment tensor inversion in Nm.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Tensor |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | variance -- float |
---|
Variance of moment tensor inversion.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | varianceReduction -- float |
---|
Variance reduction of moment tensor inversion, given in percent (Dreger 2003). This is a goodness-of-fit measure.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | doubleCouple -- float |
---|
Double couple parameter obtained from moment tensor inversion (decimal fraction between 0 and 1).
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | clvd -- float |
---|
CLVD (compensated linear vector dipole) parameter obtained from moment tensor inversion (decimal fraction between 0 and 1).
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | iso -- float |
---|
Isotropic part obtained from moment tensor inversion (decimal fraction between 0 and 1).
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | greensFunctionID -- string |
---|
Resource identifier of the Green's function used in moment tensor inversion.
Return type: | string |
---|
Parameters: | filterID -- string |
---|
Resource identifier of the filter setup used in moment tensor inversion.
Return type: | string |
---|
Parameters: | sourceTimeFunction -- SourceTimeFunction |
---|
Source time function used in moment-tensor inversion.
Return type: | SourceTimeFunction |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | methodID -- string |
---|
Resource identifier of the method used for moment-tensor inversion.
Return type: | string |
---|
Parameters: | method -- MomentTensorMethod |
---|
Moment tensor method used.
Return type: | MomentTensorMethod |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | status -- MomentTensorStatus |
---|
Status of moment tensor.
Return type: | MomentTensorStatus |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | cmtName -- string |
---|
Return type: | string |
---|
Parameters: | cmtVersion -- string |
---|
Return type: | string |
---|
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the MomentTensor object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | dataUsed -- Object of type DataUsed |
---|---|
Return type: | 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.
Parameters: | momentTensorPhaseSetting -- Object of type MomentTensorPhaseSetting |
---|---|
Return type: | 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.
Parameters: | momentTensorStationContribution -- Object of type MomentTensorStationContribution |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from MomentTensor.
Parameters: | dataUsed -- Object of type DataUsed |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added DataUsed object from MomentTensor.
Parameters: | momentTensorPhaseSetting -- Object of type MomentTensorPhaseSetting |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added MomentTensorPhaseSetting object from MomentTensor.
Parameters: | momentTensorStationContribution -- Object of type MomentTensorStationContribution |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added MomentTensorStationContribution object from MomentTensor.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | momentTensorPhaseSettingIndex -- The index of the object to be removed of type MomentTensorPhaseSettingIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of DataUsed child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of MomentTensorPhaseSetting child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of MomentTensorStationContribution child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type DataUsed. |
Returns the DataUsed at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type MomentTensorPhaseSetting. |
Returns the MomentTensorPhaseSetting at index idx.
Parameters: | momentTensorPhaseSettingIndex -- The index of the object to be removed of type MomentTensorPhaseSettingIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type MomentTensorStationContribution. |
Returns the MomentTensorStationContribution at index idx.
Parameters: | dataUsed -- Reference object of type DataUsed. |
---|---|
Return type: | Object of type DataUsed. |
Returns the child object with equals the passed object, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type MomentTensorStationContribution. |
Returns the child object with a certain publicID, None otherwise.
Return type: | FocalMechanism |
---|
Returns the parent FocalMechanism if available. Returns None if the parent is not a FocalMechanism. This is a convenience wrapper for parent().
Return type: | A cloned MomentTensor. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- MomentTensorComponentContribution |
---|---|
Return type: | 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.
Return type: | The objects index of type MomentTensorComponentContributionIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- MomentTensorComponentContribution |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | phaseCode -- string |
---|
Return type: | string |
---|
Parameters: | component -- int |
---|
Return type: | int |
---|
Parameters: | active -- boolean |
---|
Return type: | boolean |
---|
Parameters: | weight -- float |
---|
Return type: | float |
---|
Parameters: | timeShift -- float |
---|
Return type: | float |
---|
Parameters: | dataTimeWindow -- float |
---|
Return type: | float |
---|
Parameters: | misfit -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | snr -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | MomentTensorStationContribution |
---|
Returns the parent MomentTensorStationContribution if available. Returns None if the parent is not a MomentTensorStationContribution. This is a convenience wrapper for parent().
Return type: | A cloned MomentTensorComponentContribution. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- MomentTensorPhaseSetting |
---|---|
Return type: | 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.
Return type: | The objects index of type MomentTensorPhaseSettingIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- MomentTensorPhaseSetting |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Return type: | string |
---|
Parameters: | lowerPeriod -- float |
---|
Return type: | float |
---|
Parameters: | upperPeriod -- float |
---|
Return type: | float |
---|
Parameters: | minimumSNR -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | maximumTimeShift -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | MomentTensor |
---|
Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent().
Return type: | A cloned MomentTensorPhaseSetting. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type MomentTensorStationContribution. |
---|
Creates and registeres (if enabled) a MomentTensorStationContribution instance. The publicID is autogenerated.
Return type: | a new object of type MomentTensorStationContribution. |
---|
Creates and registeres (if enabled) a MomentTensorStationContribution instance with passed publicID.
Parameters: | other -- MomentTensorStationContribution |
---|---|
Return type: | 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.
Parameters: | active -- boolean |
---|
Return type: | boolean |
---|
Parameters: | waveformID -- WaveformStreamID |
---|
Return type: | WaveformStreamID |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | weight -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | timeShift -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | momentTensorComponentContribution -- Object of type MomentTensorComponentContribution |
---|---|
Return type: | 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.
Parameters: | momentTensorComponentContribution -- Object of type MomentTensorComponentContribution |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added MomentTensorComponentContribution object from MomentTensorStationContribution.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | momentTensorComponentContributionIndex -- The index of the object to be removed of type MomentTensorComponentContributionIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of MomentTensorComponentContribution child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type MomentTensorComponentContribution. |
Returns the MomentTensorComponentContribution at index idx.
Parameters: | momentTensorComponentContributionIndex -- The index of the object to be removed of type MomentTensorComponentContributionIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | MomentTensor |
---|
Returns the parent MomentTensor if available. Returns None if the parent is not a MomentTensor. This is a convenience wrapper for parent().
Return type: | A cloned MomentTensorStationContribution. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a network of seismic stations
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Network. |
---|
Creates and registeres (if enabled) a Network instance. The publicID is autogenerated.
Return type: | a new object of type Network. |
---|
Creates and registeres (if enabled) a Network instance with passed publicID.
Parameters: | other -- Network |
---|---|
Return type: | 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.
Return type: | The objects index of type NetworkIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Network |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Network code (50.16)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of network epoch in ISO datetime format. Needed primarily to identifytemorary networks that re-use network codes
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of station epoch. Empty string if the station is open
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | description -- string |
---|
Network description (50.10)
Return type: | string |
---|
Parameters: | institutions -- string |
---|
Institution(s) operating the network
Return type: | string |
---|
Parameters: | region -- string |
---|
Region of the network (eg., euromed, global)
Return type: | string |
---|
Parameters: | type -- string |
---|
Type of the network (eg., VBB, SP)
Return type: | string |
---|
Parameters: | netClass -- string |
---|
';p'; for permanent, ';t'; for temporary
Return type: | string |
---|
Parameters: | archive -- string |
---|
Archive/Datacenter ID (metadata authority)
Return type: | string |
---|
Parameters: | restricted -- boolean |
---|
Whether the network is "restricted"
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | shared -- boolean |
---|
Whether the metadata is synchronized with other datacenters
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | station -- Object of type Station |
---|---|
Return type: | 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.
Parameters: | station -- Object of type Station |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Station object from Network.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | stationIndex -- The index of the object to be removed of type StationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Station child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Station. |
Returns the Station at index idx.
Parameters: | stationIndex -- The index of the object to be removed of type StationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Station. |
Returns the child object with a certain publicID, None otherwise.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned Network. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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).
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- NodalPlane |
---|---|
Return type: | 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.
Parameters: | strike -- RealQuantity |
---|
Strike angle of nodal plane in degrees.
Return type: | RealQuantity |
---|
Parameters: | dip -- RealQuantity |
---|
Dip angle of nodal plane in degrees.
Return type: | RealQuantity |
---|
Parameters: | rake -- RealQuantity |
---|
Rake angle of nodal plane in degrees.
Return type: | RealQuantity |
---|
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- NodalPlanes |
---|---|
Return type: | 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.
Parameters: | nodalPlane1 -- NodalPlane |
---|
First nodal plane of double-couple moment tensor solution.
Return type: | NodalPlane |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | nodalPlane2 -- NodalPlane |
---|
Second nodal plane of double-couple moment tensor solution.
Return type: | NodalPlane |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | preferredPlane -- int |
---|
Indicator for preferred nodal plane of moment tensor solution. It can take integer values 1 or 2.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Origin. |
---|
Creates and registeres (if enabled) a Origin instance. The publicID is autogenerated.
Return type: | a new object of type Origin. |
---|
Creates and registeres (if enabled) a Origin instance with passed publicID.
Parameters: | other -- Origin |
---|---|
Return type: | 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.
Parameters: | time -- TimeQuantity |
---|
Focal time as TimeQuantity.
Return type: | TimeQuantity |
---|
Parameters: | latitude -- RealQuantity |
---|
Hypocenter longitude, with respect to the World Geodetic System 1984 (WGS84) reference system (National Imagery and Mapping Agency 2000) in degrees.
Return type: | RealQuantity |
---|
Parameters: | longitude -- RealQuantity |
---|
Hypocenter latitude, with respect to the WGS84 reference system in degrees.
Return type: | RealQuantity |
---|
Parameters: | depth -- 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.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | depthType -- OriginDepthType |
---|
Type of depth determination.
Return type: | OriginDepthType |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | timeFixed -- boolean |
---|
Boolean flag. True if focal time was kept fixed for computation of the Origin.
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | epicenterFixed -- boolean |
---|
Boolean flag. True if epicenter was kept fixed for computation of Origin.
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | string |
---|
Parameters: | methodID -- string |
---|
Identifies the method used for locating the event.
Return type: | string |
---|
Parameters: | earthModelID -- string |
---|
Identifies the earth model used in methodID.
Return type: | string |
---|
Parameters: | quality -- OriginQuality |
---|
Additional parameters describing the quality of an Origin determination.
Return type: | OriginQuality |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | uncertainty -- OriginUncertainty |
---|
Additional parameters describing the uncertainty of an Origin determination.
Return type: | OriginUncertainty |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | type -- OriginType |
---|
Describes the Origin type.
Return type: | OriginType |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationMode -- EvaluationMode |
---|
Evaluation mode of Origin.
Return type: | EvaluationMode |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationStatus -- EvaluationStatus |
---|
Evaluation status of Origin.
Return type: | EvaluationStatus |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Origin object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | compositeTime -- Object of type CompositeTime |
---|---|
Return type: | 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.
Parameters: | arrival -- Object of type Arrival |
---|---|
Return type: | 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.
Parameters: | stationMagnitude -- Object of type StationMagnitude |
---|---|
Return type: | 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.
Parameters: | magnitude -- Object of type Magnitude |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Origin.
Parameters: | compositeTime -- Object of type CompositeTime |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added CompositeTime object from Origin.
Parameters: | arrival -- Object of type Arrival |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Arrival object from Origin.
Parameters: | stationMagnitude -- Object of type StationMagnitude |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added StationMagnitude object from Origin.
Parameters: | magnitude -- Object of type Magnitude |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Magnitude object from Origin.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | arrivalIndex -- The index of the object to be removed of type ArrivalIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of CompositeTime child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Arrival child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of StationMagnitude child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Magnitude child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type CompositeTime. |
Returns the CompositeTime at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Arrival. |
Returns the Arrival at index idx.
Parameters: | arrivalIndex -- The index of the object to be removed of type ArrivalIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type StationMagnitude. |
Returns the StationMagnitude at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Magnitude. |
Returns the Magnitude at index idx.
Parameters: | compositeTime -- Reference object of type CompositeTime. |
---|---|
Return type: | Object of type CompositeTime. |
Returns the child object with equals the passed object, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type StationMagnitude. |
Returns the child object with a certain publicID, None otherwise.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Magnitude. |
Returns the child object with a certain publicID, None otherwise.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned Origin. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- OriginQuality |
---|---|
Return type: | 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.
Parameters: | associatedPhaseCount -- int |
---|
Number of associated phases, regardless of their use for origin computation.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | associatedStationCount -- int |
---|
Number of stations at which the event was observed.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | usedStationCount -- int |
---|
Number of stations from which data was used for origin computation.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | depthPhaseCount -- int |
---|
Number of depth phases (typically pP, sometimes sP) used in depth computation.
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | standardError -- float |
---|
RMS of the travel time residuals of the arrivals used for the origin computation in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuthalGap -- float |
---|
Largest azimuthal gap in station distribution as seen from epicenter in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | secondaryAzimuthalGap -- float |
---|
Secondary azimuthal gap in station distribution, i. e., the largest azimuthal gap a station closes in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | groundTruthLevel -- string |
---|
String describing ground-truth level, e. g. GT0, GT5, etc. It has a maximum length of 16 characters.
Return type: | string |
---|
Parameters: | maximumDistance -- float |
---|
Epicentral distance of station farthest from the epicenter in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | minimumDistance -- float |
---|
Epicentral distance of station closest to the epicenter in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | medianDistance -- float |
---|
Median epicentral distance of used stations in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- OriginReference |
---|---|
Return type: | 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.
Return type: | The objects index of type OriginReferenceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- OriginReference |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | originID -- string |
---|
Return type: | string |
---|
Return type: | Event |
---|
Returns the parent Event if available. Returns None if the parent is not a Event. This is a convenience wrapper for parent().
Return type: | A cloned OriginReference. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- OriginUncertainty |
---|---|
Return type: | 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.
Parameters: | horizontalUncertainty -- float |
---|
Circular confidence region, given by single value of horizontal uncertainty in km.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | minHorizontalUncertainty -- float |
---|
Semi-minor axis of confidence ellipse in km.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | maxHorizontalUncertainty -- float |
---|
Semi-major axis of confidence ellipse in km.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuthMaxHorizontalUncertainty -- float |
---|
Azimuth of major axis of confidence ellipse. Measured clockwise from South-North direction at epicenter in degrees.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | confidenceEllipsoid -- ConfidenceEllipsoid |
---|
Confidence ellipsoid.
Return type: | ConfidenceEllipsoid |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | preferredDescription -- OriginUncertaintyDescription |
---|
Preferred uncertainty description.
Return type: | OriginUncertaintyDescription |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Outage |
---|---|
Return type: | 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.
Return type: | The objects index of type OutageIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Outage |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | waveformID -- WaveformStreamID |
---|
Return type: | WaveformStreamID |
---|
Parameters: | creatorID -- string |
---|
Return type: | string |
---|
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Parameters: | start -- datetime |
---|
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | QualityControl |
---|
Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent().
Return type: | A cloned Outage. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Parameter. |
---|
Creates and registeres (if enabled) a Parameter instance. The publicID is autogenerated.
Return type: | a new object of type Parameter. |
---|
Creates and registeres (if enabled) a Parameter instance with passed publicID.
Parameters: | other -- Parameter |
---|---|
Return type: | 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.
Parameters: | name -- string |
---|
Return type: | string |
---|
Parameters: | value -- string |
---|
Return type: | string |
---|
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Parameter.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | ParameterSet |
---|
Returns the parent ParameterSet if available. Returns None if the parent is not a ParameterSet. This is a convenience wrapper for parent().
Return type: | A cloned Parameter. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ParameterSet. |
---|
Creates and registeres (if enabled) a ParameterSet instance. The publicID is autogenerated.
Return type: | a new object of type ParameterSet. |
---|
Creates and registeres (if enabled) a ParameterSet instance with passed publicID.
Parameters: | other -- ParameterSet |
---|---|
Return type: | 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.
Parameters: | baseID -- string |
---|
Return type: | string |
---|
Parameters: | moduleID -- string |
---|
Return type: | string |
---|
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | parameter -- Object of type Parameter |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | parameter -- Object of type Parameter |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Parameter object from ParameterSet.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from ParameterSet.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Parameter child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Parameter. |
Returns the Parameter at index idx.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Parameter. |
Returns the child object with a certain publicID, None otherwise.
Return type: | Config |
---|
Returns the parent Config if available. Returns None if the parent is not a Config. This is a convenience wrapper for parent().
Return type: | A cloned ParameterSet. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Generic and extensible phase description that currently contains the phase code only.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Phase |
---|---|
Return type: | 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.
Parameters: | 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.
Return type: | string |
---|
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Pick. |
---|
Creates and registeres (if enabled) a Pick instance. The publicID is autogenerated.
Return type: | a new object of type Pick. |
---|
Creates and registeres (if enabled) a Pick instance with passed publicID.
Parameters: | other -- Pick |
---|---|
Return type: | 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.
Parameters: | time -- TimeQuantity |
---|
Observed onset time of signal ("pick time").
Return type: | TimeQuantity |
---|
Parameters: | waveformID -- WaveformStreamID |
---|
Identifes the waveform stream.
Return type: | WaveformStreamID |
---|
Parameters: | filterID -- string |
---|
Identifies the filter or filter setup used for filtering the waveform stream referenced by waveformID.
Return type: | string |
---|
Parameters: | methodID -- string |
---|
Identifies the picker that produced the pick. This can be either a detection software program or a person.
Return type: | string |
---|
Parameters: | horizontalSlowness -- RealQuantity |
---|
Observed horizontal slowness of the signal. Most relevant in array measurements in s/deg.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | backazimuth -- RealQuantity |
---|
Observed backazimuth of the signal. Most relevant in array measurements in degrees.
Return type: | RealQuantity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | slownessMethodID -- string |
---|
Identifies the method that was used to determine the slowness.
Return type: | string |
---|
Parameters: | onset -- PickOnset |
---|
Flag that roughly categorizes the sharpness of the onset.
Return type: | PickOnset |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | phaseHint -- Phase |
---|
Tentative phase identification as specified by the picker.
Return type: | Phase |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | polarity -- PickPolarity |
---|
Indicates the polarity of first motion, usually from impulsive onsets.
Return type: | PickPolarity |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationMode -- EvaluationMode |
---|
Evaluation mode of Pick.
Return type: | EvaluationMode |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | evaluationStatus -- EvaluationStatus |
---|
Evaluation status of Pick.
Return type: | EvaluationStatus |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the Pick object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from Pick.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned Pick. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- PickReference |
---|---|
Return type: | 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.
Return type: | The objects index of type PickReferenceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- PickReference |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | pickID -- string |
---|
Return type: | string |
---|
Return type: | Reading |
---|
Returns the parent Reading if available. Returns None if the parent is not a Reading. This is a convenience wrapper for parent().
Return type: | A cloned PickReference. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This class describes the principal axes of a double-couple moment tensor solution. tAxis and pAxis are required, while nAxis is optional.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- PrincipalAxes |
---|---|
Return type: | 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.
Parameters: | tAxis -- Axis |
---|
T (tension) axis of a double-couple moment tensor solution.
Parameters: | pAxis -- Axis |
---|
P (pressure) axis of a double-couple moment tensor solution.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type QCLog. |
---|
Creates and registeres (if enabled) a QCLog instance. The publicID is autogenerated.
Return type: | a new object of type QCLog. |
---|
Creates and registeres (if enabled) a QCLog instance with passed publicID.
Parameters: | other -- QCLog |
---|---|
Return type: | 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.
Return type: | The objects index of type QCLogIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- QCLog |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | waveformID -- WaveformStreamID |
---|
Return type: | WaveformStreamID |
---|
Parameters: | creatorID -- string |
---|
Return type: | string |
---|
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Parameters: | start -- datetime |
---|
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
Return type: | datetime |
---|
Parameters: | message -- string |
---|
Return type: | string |
---|
Return type: | QualityControl |
---|
Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent().
Return type: | A cloned QCLog. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- QualityControl |
---|---|
Return type: | 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.
Parameters: | qCLog -- Object of type QCLog |
---|---|
Return type: | 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.
Parameters: | waveformQuality -- Object of type WaveformQuality |
---|---|
Return type: | 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.
Parameters: | outage -- Object of type Outage |
---|---|
Return type: | 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.
Parameters: | qCLog -- Object of type QCLog |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added QCLog object from QualityControl.
Parameters: | waveformQuality -- Object of type WaveformQuality |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added WaveformQuality object from QualityControl.
Parameters: | outage -- Object of type Outage |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Outage object from QualityControl.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | qCLogIndex -- The index of the object to be removed of type QCLogIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | waveformQualityIndex -- The index of the object to be removed of type WaveformQualityIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | outageIndex -- The index of the object to be removed of type OutageIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of QCLog child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of WaveformQuality child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Outage child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type QCLog. |
Returns the QCLog at index idx.
Parameters: | qCLogIndex -- The index of the object to be removed of type QCLogIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type WaveformQuality. |
Returns the WaveformQuality at index idx.
Parameters: | waveformQualityIndex -- The index of the object to be removed of type WaveformQualityIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Outage. |
Returns the Outage at index idx.
Parameters: | outageIndex -- The index of the object to be removed of type OutageIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type QCLog. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned QualityControl. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Reading. |
---|
Creates and registeres (if enabled) a Reading instance. The publicID is autogenerated.
Return type: | a new object of type Reading. |
---|
Creates and registeres (if enabled) a Reading instance with passed publicID.
Parameters: | other -- Reading |
---|---|
Return type: | 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.
Parameters: | pickReference -- Object of type PickReference |
---|---|
Return type: | 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.
Parameters: | amplitudeReference -- Object of type AmplitudeReference |
---|---|
Return type: | 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.
Parameters: | pickReference -- Object of type PickReference |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added PickReference object from Reading.
Parameters: | amplitudeReference -- Object of type AmplitudeReference |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added AmplitudeReference object from Reading.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | pickReferenceIndex -- The index of the object to be removed of type PickReferenceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | amplitudeReferenceIndex -- The index of the object to be removed of type AmplitudeReferenceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of PickReference child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of AmplitudeReference child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type PickReference. |
Returns the PickReference at index idx.
Parameters: | pickReferenceIndex -- The index of the object to be removed of type PickReferenceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type AmplitudeReference. |
Returns the AmplitudeReference at index idx.
Parameters: | amplitudeReferenceIndex -- The index of the object to be removed of type AmplitudeReferenceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | EventParameters |
---|
Returns the parent EventParameters if available. Returns None if the parent is not a EventParameters. This is a convenience wrapper for parent().
Return type: | A cloned Reading. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- RealArray |
---|---|
Return type: | 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.
Parameters: | content -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- RealQuantity |
---|---|
Return type: | 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.
Parameters: | value -- float |
---|
Value of the quantity. The unit is implicitly defined and depends on the context.
Return type: | float |
---|
Parameters: | uncertainty -- float |
---|
Uncertainty as the absolute value of symmetric deviation from the main value.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | lowerUncertainty -- float |
---|
Uncertainty as the absolute value of deviation from the main value towards smaller values.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | upperUncertainty -- float |
---|
Uncertainty as the absolute value of deviation from the main value towards larger values.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | confidenceLevel -- float |
---|
Confidence level of the uncertainty, given in percent.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits PublicObject.
This type describes a finite impulse response filter
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ResponseFIR. |
---|
Creates and registeres (if enabled) a ResponseFIR instance. The publicID is autogenerated.
Return type: | a new object of type ResponseFIR. |
---|
Creates and registeres (if enabled) a ResponseFIR instance with passed publicID.
Parameters: | other -- ResponseFIR |
---|---|
Return type: | 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.
Return type: | The objects index of type ResponseFIRIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ResponseFIR |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique response name
Return type: | string |
---|
Parameters: | gain -- float |
---|
Gain of response (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | decimationFactor -- int |
---|
Decimation factor (47.06/57.05)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | delay -- float |
---|
Estimated delay (47.08/57.07)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | correction -- float |
---|
Applied correction (47.09/57.08)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | numberOfCoefficients -- int |
---|
Number of coefficients (41.08/61.08)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | symmetry -- string |
---|
Symmetry code (41.05/61.05)
Return type: | string |
---|
Parameters: | coefficients -- RealArray |
---|
Coefficients normalized to gain=1.0 (41.09/61.09)
Return type: | RealArray |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned ResponseFIR. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a sensor response using poles and zeros
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ResponsePAZ. |
---|
Creates and registeres (if enabled) a ResponsePAZ instance. The publicID is autogenerated.
Return type: | a new object of type ResponsePAZ. |
---|
Creates and registeres (if enabled) a ResponsePAZ instance with passed publicID.
Parameters: | other -- ResponsePAZ |
---|---|
Return type: | 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.
Return type: | The objects index of type ResponsePAZIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ResponsePAZ |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique response name
Return type: | string |
---|
Parameters: | 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)
Return type: | string |
---|
Parameters: | gain -- float |
---|
Gain of response (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainFrequency -- float |
---|
Gain frequency (48.06/58.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | normalizationFactor -- float |
---|
A0 normalization factor (43.08/53.07)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | normalizationFrequency -- float |
---|
Normalization frequency (43.09/53.08)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | numberOfZeros -- int |
---|
Number of zeros (43.10/53.09)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | numberOfPoles -- int |
---|
Number of poles (43.15/53.14)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | zeros -- ComplexArray |
---|
Zeros (43.16-19/53.10-13)
Return type: | ComplexArray |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | poles -- ComplexArray |
---|
Poles (43.11-14/53.15-18)
Return type: | ComplexArray |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned ResponsePAZ. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a sensor response using a polynomial
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type ResponsePolynomial. |
---|
Creates and registeres (if enabled) a ResponsePolynomial instance. The publicID is autogenerated.
Return type: | a new object of type ResponsePolynomial. |
---|
Creates and registeres (if enabled) a ResponsePolynomial instance with passed publicID.
Parameters: | other -- ResponsePolynomial |
---|---|
Return type: | 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.
Return type: | The objects index of type ResponsePolynomialIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- ResponsePolynomial |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique response name
Return type: | string |
---|
Parameters: | gain -- float |
---|
Gain of response (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainFrequency -- float |
---|
Gain frequency (48.06/58.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | frequencyUnit -- string |
---|
A single character describing valid frequency units (42.09/62.08): A - rad/s, B - Hz
Return type: | string |
---|
Parameters: | approximationType -- string |
---|
A single character describing the type of polynomial approximation (42.08/62.07): M - MacLaurin
Return type: | string |
---|
Parameters: | approximationLowerBound -- float |
---|
Lower bound of approximation (42.12/62.11)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | approximationUpperBound -- float |
---|
Upper bound of approximation (42.13/62.12)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | numberOfCoefficients -- int |
---|
The number of coefficients in the polynomial approximation (42.15/62.14; one more than the degree of the polynomial
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | coefficients -- RealArray |
---|
The polynomial coefficients, lowest order first (42.16/62.15)
Return type: | RealArray |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned ResponsePolynomial. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes an ArcLink route (collection of servers that provide specific datastreams)
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Route. |
---|
Creates and registeres (if enabled) a Route instance. The publicID is autogenerated.
Return type: | a new object of type Route. |
---|
Creates and registeres (if enabled) a Route instance with passed publicID.
Parameters: | other -- Route |
---|---|
Return type: | 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.
Return type: | The objects index of type RouteIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Route |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | networkCode -- string |
---|
Network code
Return type: | string |
---|
Parameters: | stationCode -- string |
---|
Station code (empty for any station)
Return type: | string |
---|
Parameters: | locationCode -- string |
---|
Location code (empty for any location)
Return type: | string |
---|
Parameters: | streamCode -- string |
---|
Stream (Channel) code (empty for any stream)
Return type: | string |
---|
Parameters: | routeArclink -- Object of type RouteArclink |
---|---|
Return type: | 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.
Parameters: | routeSeedlink -- Object of type RouteSeedlink |
---|---|
Return type: | 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.
Parameters: | routeArclink -- Object of type RouteArclink |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added RouteArclink object from Route.
Parameters: | routeSeedlink -- Object of type RouteSeedlink |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added RouteSeedlink object from Route.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | routeArclinkIndex -- The index of the object to be removed of type RouteArclinkIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | routeSeedlinkIndex -- The index of the object to be removed of type RouteSeedlinkIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of RouteArclink child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of RouteSeedlink child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type RouteArclink. |
Returns the RouteArclink at index idx.
Parameters: | routeArclinkIndex -- The index of the object to be removed of type RouteArclinkIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type RouteSeedlink. |
Returns the RouteSeedlink at index idx.
Parameters: | routeSeedlinkIndex -- The index of the object to be removed of type RouteSeedlinkIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Routing |
---|
Returns the parent Routing if available. Returns None if the parent is not a Routing. This is a convenience wrapper for parent().
Return type: | A cloned Route. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes an ArcLink route (data source)
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- RouteArclink |
---|---|
Return type: | 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.
Return type: | The objects index of type RouteArclinkIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- RouteArclink |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | address -- string |
---|
Server address in ip:port format
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of data
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of data
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | priority -- int |
---|
priority (1 is highest)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Route |
---|
Returns the parent Route if available. Returns None if the parent is not a Route. This is a convenience wrapper for parent().
Return type: | A cloned RouteArclink. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes an SeedLink route (data source)
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- RouteSeedlink |
---|---|
Return type: | 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.
Return type: | The objects index of type RouteSeedlinkIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- RouteSeedlink |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | address -- string |
---|
Server address in ip:port format
Return type: | string |
---|
Parameters: | priority -- int |
---|
priority (1 is highest)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Route |
---|
Returns the parent Route if available. Returns None if the parent is not a Route. This is a convenience wrapper for parent().
Return type: | A cloned RouteSeedlink. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Routing |
---|---|
Return type: | 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.
Parameters: | route -- Object of type Route |
---|---|
Return type: | 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.
Parameters: | access -- Object of type Access |
---|---|
Return type: | 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.
Parameters: | route -- Object of type Route |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Route object from Routing.
Parameters: | access -- Object of type Access |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Access object from Routing.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | routeIndex -- The index of the object to be removed of type RouteIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | accessIndex -- The index of the object to be removed of type AccessIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Route child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Access child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Route. |
Returns the Route at index idx.
Parameters: | routeIndex -- The index of the object to be removed of type RouteIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Access. |
Returns the Access at index idx.
Parameters: | accessIndex -- The index of the object to be removed of type AccessIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type Route. |
Returns the child object with a certain publicID, None otherwise.
Return type: | A cloned Routing. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a sensor
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Sensor. |
---|
Creates and registeres (if enabled) a Sensor instance. The publicID is autogenerated.
Return type: | a new object of type Sensor. |
---|
Creates and registeres (if enabled) a Sensor instance with passed publicID.
Parameters: | other -- Sensor |
---|---|
Return type: | 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.
Return type: | The objects index of type SensorIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Sensor |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Unique response name
Return type: | string |
---|
Parameters: | description -- string |
---|
Sensor description
Return type: | string |
---|
Parameters: | model -- string |
---|
Sensor model
Return type: | string |
---|
Parameters: | manufacturer -- string |
---|
Sensor manufacturer
Return type: | string |
---|
Parameters: | type -- string |
---|
Sensor type (VBB, BB, SP, SM, OBS)
Return type: | string |
---|
Parameters: | unit -- string |
---|
Unit of measurement (M, M/S, M/S**2, RAD/S, V, A, PA, C)
Return type: | string |
---|
Parameters: | lowFrequency -- float |
---|
Lower corner frequency (optional)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | highFrequency -- float |
---|
Higher corner frequency (optional)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | response -- string |
---|
Reference to responsePAZ/@publicID or responsePolynomial/@publicID
Return type: | string |
---|
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | sensorCalibration -- Object of type SensorCalibration |
---|---|
Return type: | 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.
Parameters: | sensorCalibration -- Object of type SensorCalibration |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added SensorCalibration object from Sensor.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | sensorCalibrationIndex -- The index of the object to be removed of type SensorCalibrationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of SensorCalibration child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type SensorCalibration. |
Returns the SensorCalibration at index idx.
Parameters: | sensorCalibrationIndex -- The index of the object to be removed of type SensorCalibrationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned Sensor. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a sensor calibration
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- SensorCalibration |
---|---|
Return type: | 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.
Return type: | The objects index of type SensorCalibrationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- SensorCalibration |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | serialNumber -- string |
---|
Referred from network/station/Stream/@sensorSerialNumber
Return type: | string |
---|
Parameters: | channel -- int |
---|
Referred from network/station/Stream/@sensorChannel
Return type: | int |
---|
Parameters: | start -- datetime |
---|
Start of validity
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of validity
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gain -- float |
---|
Overrides nominal gain of calibrated sensor (48.05/58.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainFrequency -- float |
---|
Gain frequency (48.06/58.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Sensor |
---|
Returns the parent Sensor if available. Returns None if the parent is not a Sensor. This is a convenience wrapper for parent().
Return type: | A cloned SensorCalibration. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a sensor location
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type SensorLocation. |
---|
Creates and registeres (if enabled) a SensorLocation instance. The publicID is autogenerated.
Return type: | a new object of type SensorLocation. |
---|
Creates and registeres (if enabled) a SensorLocation instance with passed publicID.
Parameters: | other -- SensorLocation |
---|---|
Return type: | 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.
Return type: | The objects index of type SensorLocationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- SensorLocation |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Station code (52.03)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of epoch in ISO datetime format
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of epoch
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | latitude -- float |
---|
Sensor latitude (52.10)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | longitude -- float |
---|
Sensor longitude (52.11)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | elevation -- float |
---|
Sensor elevation (52.12)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | auxStream -- Object of type AuxStream |
---|---|
Return type: | 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.
Parameters: | stream -- Object of type Stream |
---|---|
Return type: | 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.
Parameters: | auxStream -- Object of type AuxStream |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added AuxStream object from SensorLocation.
Parameters: | stream -- Object of type Stream |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Stream object from SensorLocation.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | auxStreamIndex -- The index of the object to be removed of type AuxStreamIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | streamIndex -- The index of the object to be removed of type StreamIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of AuxStream child objects.
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Stream child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type AuxStream. |
Returns the AuxStream at index idx.
Parameters: | auxStreamIndex -- The index of the object to be removed of type AuxStreamIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Stream. |
Returns the Stream at index idx.
Parameters: | streamIndex -- The index of the object to be removed of type StreamIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Station |
---|
Returns the parent Station if available. Returns None if the parent is not a Station. This is a convenience wrapper for parent().
Return type: | A cloned SensorLocation. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Setup |
---|---|
Return type: | 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.
Return type: | The objects index of type SetupIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Setup |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | name -- string |
---|
Return type: | string |
---|
Parameters: | parameterSetID -- string |
---|
Return type: | string |
---|
Parameters: | enabled -- boolean |
---|
Return type: | boolean |
---|
Return type: | ConfigStation |
---|
Returns the parent ConfigStation if available. Returns None if the parent is not a ConfigStation. This is a convenience wrapper for parent().
Return type: | A cloned Setup. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
Source time function used in moment-tensor inversion.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- SourceTimeFunction |
---|---|
Return type: | 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.
Parameters: | type -- SourceTimeFunctionType |
---|
Type of source time function. Values can be taken from the following: BOX_CAR, TRIANGLE, TRAPEZOID, UNKNOWN_FUNCTION.
Return type: | SourceTimeFunctionType |
---|
Parameters: | duration -- float |
---|
Source time function duration in seconds.
Return type: | float |
---|
Parameters: | riseTime -- float |
---|
Source time function rise time in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | decayTime -- float |
---|
Source time function decay time in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits PublicObject.
This type describes a seismic station
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type Station. |
---|
Creates and registeres (if enabled) a Station instance. The publicID is autogenerated.
Return type: | a new object of type Station. |
---|
Creates and registeres (if enabled) a Station instance with passed publicID.
Parameters: | other -- Station |
---|---|
Return type: | 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.
Return type: | The objects index of type StationIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Station |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Station code (50.03)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of station epoch in ISO datetime format
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of station epoch. Empty string if the station is open
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | description -- string |
---|
Station description in ASCII (50.09)
Return type: | string |
---|
Parameters: | latitude -- float |
---|
Station latitude (50.04)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | longitude -- float |
---|
Station longitude (50.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | elevation -- float |
---|
Station elevation (50.06)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | place -- string |
---|
Place where the station is located (UTF-8)
Return type: | string |
---|
Parameters: | country -- string |
---|
Country where the station is located (UTF-8)
Return type: | string |
---|
Parameters: | affiliation -- string |
---|
Station affiliation (eg., GEOFON)
Return type: | string |
---|
Parameters: | type -- string |
---|
Type of station (eg., VBB, SP)
Return type: | string |
---|
Parameters: | archive -- string |
---|
Archive/Datacenter ID (metadata authority)
Return type: | string |
---|
Parameters: | archiveNetworkCode -- string |
---|
Internal network code, under which this station is archived
Return type: | string |
---|
Parameters: | restricted -- boolean |
---|
Whether the station is "restricted"
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | shared -- boolean |
---|
Whether the metadata is synchronized with other datacenters
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Blob |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | sensorLocation -- Object of type SensorLocation |
---|---|
Return type: | 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.
Parameters: | sensorLocation -- Object of type SensorLocation |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added SensorLocation object from Station.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | sensorLocationIndex -- The index of the object to be removed of type SensorLocationIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of SensorLocation child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type SensorLocation. |
Returns the SensorLocation at index idx.
Parameters: | sensorLocationIndex -- The index of the object to be removed of type SensorLocationIndex. |
---|---|
Return type: | Object of type 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 lookup.
Parameters: | publicID -- The publicID of the object to find. |
---|---|
Return type: | Object of type SensorLocation. |
Returns the child object with a certain publicID, None otherwise.
Return type: | Network |
---|
Returns the parent Network if available. Returns None if the parent is not a Network. This is a convenience wrapper for parent().
Return type: | A cloned Station. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This type describes a group of stations, an array or a virtual network
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type StationGroup. |
---|
Creates and registeres (if enabled) a StationGroup instance. The publicID is autogenerated.
Return type: | a new object of type StationGroup. |
---|
Creates and registeres (if enabled) a StationGroup instance with passed publicID.
Parameters: | other -- StationGroup |
---|---|
Return type: | 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.
Return type: | The objects index of type StationGroupIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- StationGroup |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | type -- StationGroupType |
---|
ARRAY or DEPLOYMENT
Return type: | StationGroupType |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | code -- string |
---|
Virtual network code (up to 10 characters)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of epoch in ISO datetime format
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | end -- datetime |
---|
End of epoch (empty string if the station is open)
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | description -- string |
---|
Station group description
Return type: | string |
---|
Parameters: | latitude -- float |
---|
Optional latitude (eg., of the central station)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | longitude -- float |
---|
Optional longitude (eg., of the central station)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | elevation -- float |
---|
Optional elevation (eg., of the central station)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | stationReference -- Object of type StationReference |
---|---|
Return type: | 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.
Parameters: | stationReference -- Object of type StationReference |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added StationReference object from StationGroup.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | stationReferenceIndex -- The index of the object to be removed of type StationReferenceIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of StationReference child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type StationReference. |
Returns the StationReference at index idx.
Parameters: | stationReferenceIndex -- The index of the object to be removed of type StationReferenceIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Inventory |
---|
Returns the parent Inventory if available. Returns None if the parent is not a Inventory. This is a convenience wrapper for parent().
Return type: | A cloned StationGroup. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits PublicObject.
This class describes the magnitude derived from a single waveform stream.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Return type: | a new object of type StationMagnitude. |
---|
Creates and registeres (if enabled) a StationMagnitude instance. The publicID is autogenerated.
Return type: | a new object of type StationMagnitude. |
---|
Creates and registeres (if enabled) a StationMagnitude instance with passed publicID.
Parameters: | other -- StationMagnitude |
---|---|
Return type: | 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.
Parameters: | originID -- string |
---|
Reference to an origin's publicID if the StationMagnitude has an associated Origin.
Return type: | string |
---|
Parameters: | magnitude -- RealQuantity |
---|
Estimated magnitude as RealQuantity.
Return type: | RealQuantity |
---|
Parameters: | type -- string |
---|
See class Magnitude.
Return type: | string |
---|
Parameters: | 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.
Return type: | string |
---|
Parameters: | methodID -- string |
---|
See class Magnitude.
Return type: | string |
---|
Parameters: | waveformID -- 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.
Return type: | WaveformStreamID |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | creationInfo -- CreationInfo |
---|
CreationInfo for the StationMagnitude object.
Return type: | CreationInfo |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | 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.
Parameters: | comment -- Object of type Comment |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Removes a previously added Comment object from StationMagnitude.
Parameters: | idx -- An integer index of the object to be removed. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | A boolean value indicating success with True, False otherwise. |
Return type: | integer value indicating the number of child objects. |
---|
Returns the number of Comment child objects.
Parameters: | idx -- An integer index of the object to be returned. |
---|---|
Return type: | Object of type Comment. |
Returns the Comment at index idx.
Parameters: | commentIndex -- The index of the object to be removed of type CommentIndex. |
---|---|
Return type: | Object of type 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 lookup.
Return type: | Origin |
---|
Returns the parent Origin if available. Returns None if the parent is not a Origin. This is a convenience wrapper for parent().
Return type: | A cloned StationMagnitude. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | ref -- A child object derived from class Object. |
---|---|
Return type: | 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 PublicObject) or the same index (if derived from Object). The the child was found the reference objects attributes are copied to the child object. Childs of child are being ignored during this operation. This method implements the PublicObject interface.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This class describes the weighting of magnitude values from several StationMagnitude objects for computing a network magnitude estimation.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- StationMagnitudeContribution |
---|---|
Return type: | 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.
Return type: | The objects index of type StationMagnitudeContributionIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- StationMagnitudeContribution |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | stationMagnitudeID -- string |
---|
Refers to the publicID of a StationMagnitude object.
Return type: | string |
---|
Parameters: | residual -- float |
---|
Residual of magnitude computation.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | 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.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | Magnitude |
---|
Returns the parent Magnitude if available. Returns None if the parent is not a Magnitude. This is a convenience wrapper for parent().
Return type: | A cloned StationMagnitudeContribution. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a station reference within a station group
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- StationReference |
---|---|
Return type: | 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.
Return type: | The objects index of type StationReferenceIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- StationReference |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | stationID -- string |
---|
Reference to network/station/@publicID
Return type: | string |
---|
Return type: | StationGroup |
---|
Returns the parent StationGroup if available. Returns None if the parent is not a StationGroup. This is a convenience wrapper for parent().
Return type: | A cloned StationReference. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits Object.
This type describes a stream (channel) with defined frequency response
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Stream |
---|---|
Return type: | 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.
Return type: | The objects index of type StreamIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- Stream |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | code -- string |
---|
Stream code (52.04)
Return type: | string |
---|
Parameters: | start -- datetime |
---|
Start of epoch in ISO datetime format (52.22)
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
End of epoch (52.23)
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | datalogger -- string |
---|
Reference to datalogger/@publicID
Return type: | string |
---|
Parameters: | dataloggerSerialNumber -- string |
---|
Reference to datalogger/calibration/@serialNumber
Return type: | string |
---|
Parameters: | dataloggerChannel -- int |
---|
Reference to datalogger/calibration/@channel
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | sensor -- string |
---|
Reference to sensor/@publicID
Return type: | string |
---|
Parameters: | sensorSerialNumber -- string |
---|
Reference to sensor/calibration/@serialNumber
Return type: | string |
---|
Parameters: | sensorChannel -- int |
---|
Reference to sensor/calibration/@channel
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | clockSerialNumber -- string |
---|
Serial no. of clock (GPS). Mostly unused
Return type: | string |
---|
Parameters: | sampleRateNumerator -- int |
---|
Sample rate numerator (always >0, eg., not identical to 52.18)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | sampleRateDenominator -- int |
---|
Sample rate denominator (always >0, eg., not identical to 52.19)
Return type: | int |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | depth -- float |
---|
Depth (52.13)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | azimuth -- float |
---|
Azimuth (52.14)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | dip -- float |
---|
Dip (52.15)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gain -- float |
---|
Overall sensitivity (58.04) in counts/gainUnit
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainFrequency -- float |
---|
Gain frequency (58.05)
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | gainUnit -- string |
---|
Sensor's unit of measurement (eg., M/S, M/S**2)
Return type: | string |
---|
Parameters: | format -- string |
---|
Data format, eg.: "steim1", "steim2", "mseedN" (N = encoding format in blockette 1000)
Return type: | string |
---|
Parameters: | flags -- string |
---|
Channel flags (52.21)
Return type: | string |
---|
Parameters: | restricted -- boolean |
---|
Whether the stream is "restricted"
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | shared -- boolean |
---|
Whether the metadata is synchronized with other datacenters
Return type: | boolean |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | SensorLocation |
---|
Returns the parent SensorLocation if available. Returns None if the parent is not a SensorLocation. This is a convenience wrapper for parent().
Return type: | A cloned Stream. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- Tensor |
---|---|
Return type: | 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.
Parameters: | Mrr -- RealQuantity |
---|
Moment-tensor element Mrr in Nm.
Return type: | RealQuantity |
---|
Parameters: | Mtt -- RealQuantity |
---|
Moment-tensor element Mtt in Nm.
Return type: | RealQuantity |
---|
Parameters: | Mpp -- RealQuantity |
---|
Moment-tensor element Mpp in Nm.
Return type: | RealQuantity |
---|
Parameters: | Mrt -- RealQuantity |
---|
Moment-tensor element Mrt in Nm.
Return type: | RealQuantity |
---|
Parameters: | Mrp -- RealQuantity |
---|
Moment-tensor element Mrp in Nm.
Return type: | RealQuantity |
---|
Parameters: | Mtp -- RealQuantity |
---|
Moment-tensor element Mtp in Nm.
Return type: | RealQuantity |
---|
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- TimeQuantity |
---|---|
Return type: | 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.
Parameters: | value -- datetime |
---|
Point in time (UTC), given in ISO 8601 format.
Return type: | datetime |
---|
Parameters: | uncertainty -- float |
---|
Symmetric uncertainty of point in time in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | lowerUncertainty -- float |
---|
Lower uncertainty of point in time in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | upperUncertainty -- float |
---|
Upper uncertainty of point in time in seconds.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | confidenceLevel -- float |
---|
Confidence level of the uncertainty, given in percent.
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- TimeWindow |
---|---|
Return type: | 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.
Parameters: | reference -- datetime |
---|
Reference point in time ("central" point), in ISO 8601 format. It has to be given in UTC.
Return type: | datetime |
---|
Parameters: | 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.
Return type: | float |
---|
Parameters: | 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.
Return type: | float |
---|
Inherits Object.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- WaveformQuality |
---|---|
Return type: | 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.
Return type: | The objects index of type WaveformQualityIndex. Returns the objects index which is also used for the database as unique constraint. |
---|
Parameters: | lhs -- WaveformQuality |
---|---|
Return type: | A boolean value indicating True if both indexes are equal or False otherwise. |
Parameters: | waveformID -- WaveformStreamID |
---|
Return type: | WaveformStreamID |
---|
Parameters: | creatorID -- string |
---|
Return type: | string |
---|
Parameters: | created -- datetime |
---|
Return type: | datetime |
---|
Parameters: | start -- datetime |
---|
Return type: | datetime |
---|
Parameters: | end -- datetime |
---|
Return type: | datetime |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | type -- string |
---|
Return type: | string |
---|
Parameters: | parameter -- string |
---|
Return type: | string |
---|
Parameters: | value -- float |
---|
Return type: | float |
---|
Parameters: | lowerUncertainty -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | upperUncertainty -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Parameters: | windowLength -- float |
---|
Return type: | float |
---|
Note
As this attribute is optional this method throws a ValueException if the value of the attribute is not set.
Return type: | QualityControl |
---|
Returns the parent QualityControl if available. Returns None if the parent is not a QualityControl. This is a convenience wrapper for parent().
Return type: | A cloned WaveformQuality. |
---|
Returns a new instance that is a clone of the current instance. Child objects are being ignored.
Parameters: | visitor -- A visitor. |
---|
This method implements the PublicObject interface.
Inherits 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.
Parameters: | obj -- The object to be casted. |
---|---|
Return type: | 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 Object are passed to methods which need access to the real type.
Parameters: | other -- WaveformStreamID |
---|---|
Return type: | 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.
Parameters: | networkCode -- string |
---|
Network code. String with a maximum length of 8 characters.
Return type: | string |
---|
Parameters: | stationCode -- string |
---|
Station code. String with a maximum length of 8 characters.
Return type: | string |
---|
Parameters: | locationCode -- string |
---|
Location code. String with a maximum length of 8 characters.
Return type: | string |
---|
Parameters: | channelCode -- string |
---|
Channel code. String with a maximum length of 8 characters.
Return type: | string |
---|
Parameters: | 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.
Return type: | string |
---|