Install SeisComP and scanloc ARM64 nightly packages
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
libseiscomp_client.so.16
|
||||
libseiscomp_client.so.17
|
||||
1
lib/libseiscomp_client.so.17
Symbolic link
1
lib/libseiscomp_client.so.17
Symbolic link
@ -0,0 +1 @@
|
||||
libseiscomp_client.so.17.0.0
|
||||
BIN
lib/libseiscomp_client.so.17.0.0
Normal file
BIN
lib/libseiscomp_client.so.17.0.0
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
libseiscomp_core.so.16
|
||||
libseiscomp_core.so.17
|
||||
1
lib/libseiscomp_core.so.17
Symbolic link
1
lib/libseiscomp_core.so.17
Symbolic link
@ -0,0 +1 @@
|
||||
libseiscomp_core.so.17.0.0
|
||||
BIN
lib/libseiscomp_core.so.17.0.0
Normal file
BIN
lib/libseiscomp_core.so.17.0.0
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libseiscomp_mvx.so
Normal file
BIN
lib/libseiscomp_mvx.so
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
libseiscomp_qt.so.16
|
||||
libseiscomp_qt.so.17
|
||||
1
lib/libseiscomp_qt.so.17
Symbolic link
1
lib/libseiscomp_qt.so.17
Symbolic link
@ -0,0 +1 @@
|
||||
libseiscomp_qt.so.17.0.0
|
||||
BIN
lib/libseiscomp_qt.so.17.0.0
Normal file
BIN
lib/libseiscomp_qt.so.17.0.0
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +1,10 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _client
|
||||
@ -29,10 +26,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _client:
|
||||
_client.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
import seiscomp.system
|
||||
import seiscomp.core
|
||||
import seiscomp.logging
|
||||
@ -186,21 +182,6 @@ class Packet(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Packet in _client:
|
||||
_client.Packet_swigregister(Packet)
|
||||
|
||||
def Packet_Cast(*args):
|
||||
r"""
|
||||
Packet_Cast(BaseObject o) -> Packet
|
||||
Packet_Cast(Seiscomp::Core::BaseObjectPtr o) -> Packet
|
||||
"""
|
||||
return _client.Packet_Cast(*args)
|
||||
|
||||
def Packet_ConstCast(*args):
|
||||
r"""
|
||||
Packet_ConstCast(BaseObject o) -> Packet
|
||||
Packet_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> Packet
|
||||
"""
|
||||
return _client.Packet_ConstCast(*args)
|
||||
|
||||
OK = _client.OK
|
||||
|
||||
InvalidURL = _client.InvalidURL
|
||||
@ -277,11 +258,6 @@ class EResultNames(object):
|
||||
|
||||
# Register EResultNames in _client:
|
||||
_client.EResultNames_swigregister(EResultNames)
|
||||
|
||||
def EResultNames_name(i):
|
||||
r"""EResultNames_name(int i) -> char const *"""
|
||||
return _client.EResultNames_name(i)
|
||||
|
||||
class Protocol(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::Protocol class."""
|
||||
|
||||
@ -339,6 +315,10 @@ class Protocol(object):
|
||||
r"""schemaVersion(Protocol self) -> Version"""
|
||||
return _client.Protocol_schemaVersion(self)
|
||||
|
||||
def isDeleteTreeSupported(self):
|
||||
r"""isDeleteTreeSupported(Protocol self) -> bool"""
|
||||
return _client.Protocol_isDeleteTreeSupported(self)
|
||||
|
||||
def extendedParameters(self):
|
||||
r"""extendedParameters(Protocol self) -> Seiscomp::Client::Protocol::KeyValueStore const &"""
|
||||
return _client.Protocol_extendedParameters(self)
|
||||
@ -360,7 +340,7 @@ class Protocol(object):
|
||||
return _client.Protocol_sendData(self, targetGroup, data, len, type, contentEncoding, contentType)
|
||||
|
||||
def sendMessage(self, *args):
|
||||
r"""sendMessage(Protocol self, std::string const & targetGroup, Message msg, Seiscomp::Client::Protocol::MessageType type=Regular, Seiscomp::Core::Optional< Seiscomp::Client::Protocol::ContentEncoding >::Impl contentEncoding=Unset, Seiscomp::Core::Optional< Seiscomp::Client::Protocol::ContentType >::Impl contentType=Unset) -> Seiscomp::Client::Result"""
|
||||
r"""sendMessage(Protocol self, std::string const & targetGroup, Message msg, Seiscomp::Client::Protocol::MessageType type=Regular, Seiscomp::Core::Optional< Seiscomp::Client::Protocol::ContentEncoding > contentEncoding=Unset, Seiscomp::Core::Optional< Seiscomp::Client::Protocol::ContentType > contentType=Unset) -> Seiscomp::Client::Result"""
|
||||
return _client.Protocol_sendMessage(self, *args)
|
||||
|
||||
def recv(self):
|
||||
@ -439,17 +419,6 @@ Protocol.STATUS_GROUP = _client.cvar.Protocol_STATUS_GROUP
|
||||
Protocol.LISTENER_GROUP = _client.cvar.Protocol_LISTENER_GROUP
|
||||
Protocol.IMPORT_GROUP = _client.cvar.Protocol_IMPORT_GROUP
|
||||
|
||||
def Protocol_decode(*args):
|
||||
r"""
|
||||
Protocol_decode(std::string const & blob, Seiscomp::Client::Protocol::ContentEncoding encoding, Seiscomp::Client::Protocol::ContentType type) -> Message
|
||||
Protocol_decode(char const * blob, size_t blob_length, Seiscomp::Client::Protocol::ContentEncoding encoding, Seiscomp::Client::Protocol::ContentType type) -> Message
|
||||
"""
|
||||
return _client.Protocol_decode(*args)
|
||||
|
||||
def Protocol_encode(blob, msg, encoding, type, schemaVersion):
|
||||
r"""Protocol_encode(std::string & blob, Message msg, Seiscomp::Client::Protocol::ContentEncoding encoding, Seiscomp::Client::Protocol::ContentType type, int schemaVersion) -> bool"""
|
||||
return _client.Protocol_encode(blob, msg, encoding, type, schemaVersion)
|
||||
|
||||
class Connection(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Client::Connection class."""
|
||||
|
||||
@ -588,13 +557,16 @@ class Connection(seiscomp.core.BaseObject):
|
||||
r"""schemaVersion(Connection self) -> Version"""
|
||||
return _client.Connection_schemaVersion(self)
|
||||
|
||||
def isDeleteTreeSupported(self):
|
||||
r"""isDeleteTreeSupported(Connection self) -> bool"""
|
||||
return _client.Connection_isDeleteTreeSupported(self)
|
||||
|
||||
def extendedParameters(self):
|
||||
r"""extendedParameters(Connection self) -> Seiscomp::Client::Protocol::KeyValueStore const *"""
|
||||
return _client.Connection_extendedParameters(self)
|
||||
|
||||
# Register Connection in _client:
|
||||
_client.Connection_swigregister(Connection)
|
||||
|
||||
class ServiceRequestMessage(seiscomp.core.Message):
|
||||
r"""Proxy of C++ Seiscomp::Client::ServiceRequestMessage class."""
|
||||
|
||||
@ -649,29 +621,6 @@ class ServiceRequestMessage(seiscomp.core.Message):
|
||||
|
||||
# Register ServiceRequestMessage in _client:
|
||||
_client.ServiceRequestMessage_swigregister(ServiceRequestMessage)
|
||||
|
||||
def ServiceRequestMessage_ClassName():
|
||||
r"""ServiceRequestMessage_ClassName() -> char const *"""
|
||||
return _client.ServiceRequestMessage_ClassName()
|
||||
|
||||
def ServiceRequestMessage_TypeInfo():
|
||||
r"""ServiceRequestMessage_TypeInfo() -> RTTI"""
|
||||
return _client.ServiceRequestMessage_TypeInfo()
|
||||
|
||||
def ServiceRequestMessage_Cast(*args):
|
||||
r"""
|
||||
ServiceRequestMessage_Cast(BaseObject o) -> ServiceRequestMessage
|
||||
ServiceRequestMessage_Cast(Seiscomp::Core::BaseObjectPtr o) -> ServiceRequestMessage
|
||||
"""
|
||||
return _client.ServiceRequestMessage_Cast(*args)
|
||||
|
||||
def ServiceRequestMessage_ConstCast(*args):
|
||||
r"""
|
||||
ServiceRequestMessage_ConstCast(BaseObject o) -> ServiceRequestMessage
|
||||
ServiceRequestMessage_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> ServiceRequestMessage
|
||||
"""
|
||||
return _client.ServiceRequestMessage_ConstCast(*args)
|
||||
|
||||
class ServiceProvideMessage(seiscomp.core.Message):
|
||||
r"""Proxy of C++ Seiscomp::Client::ServiceProvideMessage class."""
|
||||
|
||||
@ -734,29 +683,6 @@ class ServiceProvideMessage(seiscomp.core.Message):
|
||||
|
||||
# Register ServiceProvideMessage in _client:
|
||||
_client.ServiceProvideMessage_swigregister(ServiceProvideMessage)
|
||||
|
||||
def ServiceProvideMessage_ClassName():
|
||||
r"""ServiceProvideMessage_ClassName() -> char const *"""
|
||||
return _client.ServiceProvideMessage_ClassName()
|
||||
|
||||
def ServiceProvideMessage_TypeInfo():
|
||||
r"""ServiceProvideMessage_TypeInfo() -> RTTI"""
|
||||
return _client.ServiceProvideMessage_TypeInfo()
|
||||
|
||||
def ServiceProvideMessage_Cast(*args):
|
||||
r"""
|
||||
ServiceProvideMessage_Cast(BaseObject o) -> ServiceProvideMessage
|
||||
ServiceProvideMessage_Cast(Seiscomp::Core::BaseObjectPtr o) -> ServiceProvideMessage
|
||||
"""
|
||||
return _client.ServiceProvideMessage_Cast(*args)
|
||||
|
||||
def ServiceProvideMessage_ConstCast(*args):
|
||||
r"""
|
||||
ServiceProvideMessage_ConstCast(BaseObject o) -> ServiceProvideMessage
|
||||
ServiceProvideMessage_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> ServiceProvideMessage
|
||||
"""
|
||||
return _client.ServiceProvideMessage_ConstCast(*args)
|
||||
|
||||
class DatabaseRequestMessage(ServiceRequestMessage):
|
||||
r"""Proxy of C++ Seiscomp::Client::DatabaseRequestMessage class."""
|
||||
|
||||
@ -807,29 +733,6 @@ class DatabaseRequestMessage(ServiceRequestMessage):
|
||||
|
||||
# Register DatabaseRequestMessage in _client:
|
||||
_client.DatabaseRequestMessage_swigregister(DatabaseRequestMessage)
|
||||
|
||||
def DatabaseRequestMessage_ClassName():
|
||||
r"""DatabaseRequestMessage_ClassName() -> char const *"""
|
||||
return _client.DatabaseRequestMessage_ClassName()
|
||||
|
||||
def DatabaseRequestMessage_TypeInfo():
|
||||
r"""DatabaseRequestMessage_TypeInfo() -> RTTI"""
|
||||
return _client.DatabaseRequestMessage_TypeInfo()
|
||||
|
||||
def DatabaseRequestMessage_Cast(*args):
|
||||
r"""
|
||||
DatabaseRequestMessage_Cast(BaseObject o) -> DatabaseRequestMessage
|
||||
DatabaseRequestMessage_Cast(Seiscomp::Core::BaseObjectPtr o) -> DatabaseRequestMessage
|
||||
"""
|
||||
return _client.DatabaseRequestMessage_Cast(*args)
|
||||
|
||||
def DatabaseRequestMessage_ConstCast(*args):
|
||||
r"""
|
||||
DatabaseRequestMessage_ConstCast(BaseObject o) -> DatabaseRequestMessage
|
||||
DatabaseRequestMessage_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> DatabaseRequestMessage
|
||||
"""
|
||||
return _client.DatabaseRequestMessage_ConstCast(*args)
|
||||
|
||||
class DatabaseProvideMessage(ServiceProvideMessage):
|
||||
r"""Proxy of C++ Seiscomp::Client::DatabaseProvideMessage class."""
|
||||
|
||||
@ -884,29 +787,6 @@ class DatabaseProvideMessage(ServiceProvideMessage):
|
||||
|
||||
# Register DatabaseProvideMessage in _client:
|
||||
_client.DatabaseProvideMessage_swigregister(DatabaseProvideMessage)
|
||||
|
||||
def DatabaseProvideMessage_ClassName():
|
||||
r"""DatabaseProvideMessage_ClassName() -> char const *"""
|
||||
return _client.DatabaseProvideMessage_ClassName()
|
||||
|
||||
def DatabaseProvideMessage_TypeInfo():
|
||||
r"""DatabaseProvideMessage_TypeInfo() -> RTTI"""
|
||||
return _client.DatabaseProvideMessage_TypeInfo()
|
||||
|
||||
def DatabaseProvideMessage_Cast(*args):
|
||||
r"""
|
||||
DatabaseProvideMessage_Cast(BaseObject o) -> DatabaseProvideMessage
|
||||
DatabaseProvideMessage_Cast(Seiscomp::Core::BaseObjectPtr o) -> DatabaseProvideMessage
|
||||
"""
|
||||
return _client.DatabaseProvideMessage_Cast(*args)
|
||||
|
||||
def DatabaseProvideMessage_ConstCast(*args):
|
||||
r"""
|
||||
DatabaseProvideMessage_ConstCast(BaseObject o) -> DatabaseProvideMessage
|
||||
DatabaseProvideMessage_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> DatabaseProvideMessage
|
||||
"""
|
||||
return _client.DatabaseProvideMessage_ConstCast(*args)
|
||||
|
||||
class RunningAverage(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::RunningAverage class."""
|
||||
|
||||
@ -944,7 +824,6 @@ class RunningAverage(object):
|
||||
|
||||
# Register RunningAverage in _client:
|
||||
_client.RunningAverage_swigregister(RunningAverage)
|
||||
|
||||
class ObjectMonitor(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::ObjectMonitor class."""
|
||||
|
||||
@ -978,7 +857,6 @@ class ObjectMonitor(object):
|
||||
|
||||
# Register ObjectMonitor in _client:
|
||||
_client.ObjectMonitor_swigregister(ObjectMonitor)
|
||||
|
||||
STARTED = _client.STARTED
|
||||
|
||||
FINISHED = _client.FINISHED
|
||||
@ -1003,11 +881,6 @@ class EApplicationStatusNames(object):
|
||||
|
||||
# Register EApplicationStatusNames in _client:
|
||||
_client.EApplicationStatusNames_swigregister(EApplicationStatusNames)
|
||||
|
||||
def EApplicationStatusNames_name(i):
|
||||
r"""EApplicationStatusNames_name(int i) -> char const *"""
|
||||
return _client.EApplicationStatusNames_name(i)
|
||||
|
||||
class ApplicationStatusMessage(seiscomp.core.Message):
|
||||
r"""Proxy of C++ Seiscomp::Client::ApplicationStatusMessage class."""
|
||||
|
||||
@ -1079,29 +952,6 @@ class ApplicationStatusMessage(seiscomp.core.Message):
|
||||
|
||||
# Register ApplicationStatusMessage in _client:
|
||||
_client.ApplicationStatusMessage_swigregister(ApplicationStatusMessage)
|
||||
|
||||
def ApplicationStatusMessage_ClassName():
|
||||
r"""ApplicationStatusMessage_ClassName() -> char const *"""
|
||||
return _client.ApplicationStatusMessage_ClassName()
|
||||
|
||||
def ApplicationStatusMessage_TypeInfo():
|
||||
r"""ApplicationStatusMessage_TypeInfo() -> RTTI"""
|
||||
return _client.ApplicationStatusMessage_TypeInfo()
|
||||
|
||||
def ApplicationStatusMessage_Cast(*args):
|
||||
r"""
|
||||
ApplicationStatusMessage_Cast(BaseObject o) -> ApplicationStatusMessage
|
||||
ApplicationStatusMessage_Cast(Seiscomp::Core::BaseObjectPtr o) -> ApplicationStatusMessage
|
||||
"""
|
||||
return _client.ApplicationStatusMessage_Cast(*args)
|
||||
|
||||
def ApplicationStatusMessage_ConstCast(*args):
|
||||
r"""
|
||||
ApplicationStatusMessage_ConstCast(BaseObject o) -> ApplicationStatusMessage
|
||||
ApplicationStatusMessage_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> ApplicationStatusMessage
|
||||
"""
|
||||
return _client.ApplicationStatusMessage_ConstCast(*args)
|
||||
|
||||
class Notification(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::Notification class."""
|
||||
|
||||
@ -1136,7 +986,6 @@ class Notification(object):
|
||||
|
||||
# Register Notification in _client:
|
||||
_client.Notification_swigregister(Notification)
|
||||
|
||||
class Application(seiscomp.system.SystemApplication):
|
||||
r"""Proxy of C++ Seiscomp::Client::Application class."""
|
||||
|
||||
@ -1499,6 +1348,10 @@ class Application(seiscomp.system.SystemApplication):
|
||||
r"""handleTimeout(Application self)"""
|
||||
return _client.Application_handleTimeout(self)
|
||||
|
||||
def handleSOH(self):
|
||||
r"""handleSOH(Application self)"""
|
||||
return _client.Application_handleSOH(self)
|
||||
|
||||
def handleClose(self):
|
||||
r"""handleClose(Application self) -> bool"""
|
||||
return _client.Application_handleClose(self)
|
||||
@ -1589,11 +1442,6 @@ class Application(seiscomp.system.SystemApplication):
|
||||
|
||||
# Register Application in _client:
|
||||
_client.Application_swigregister(Application)
|
||||
|
||||
def Application_Instance():
|
||||
r"""Application_Instance() -> Application"""
|
||||
return _client.Application_Instance()
|
||||
|
||||
class StreamApplication(Application):
|
||||
r"""Proxy of C++ Seiscomp::Client::StreamApplication class."""
|
||||
|
||||
@ -1634,11 +1482,11 @@ class StreamApplication(Application):
|
||||
return _client.StreamApplication_addStream(self, networkCode, stationCode, locationCode, channelCode)
|
||||
|
||||
def setStartTime(self, arg2):
|
||||
r"""setStartTime(StreamApplication self, Time arg2)"""
|
||||
r"""setStartTime(StreamApplication self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & arg2)"""
|
||||
return _client.StreamApplication_setStartTime(self, arg2)
|
||||
|
||||
def setEndTime(self, arg2):
|
||||
r"""setEndTime(StreamApplication self, Time arg2)"""
|
||||
r"""setEndTime(StreamApplication self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & arg2)"""
|
||||
return _client.StreamApplication_setEndTime(self, arg2)
|
||||
|
||||
def setTimeWindow(self, arg2):
|
||||
@ -1785,6 +1633,10 @@ class StreamApplication(Application):
|
||||
r"""handleTimeout(StreamApplication self)"""
|
||||
return _client.StreamApplication_handleTimeout(self)
|
||||
|
||||
def handleSOH(self):
|
||||
r"""handleSOH(StreamApplication self)"""
|
||||
return _client.StreamApplication_handleSOH(self)
|
||||
|
||||
def handleClose(self):
|
||||
r"""handleClose(StreamApplication self) -> bool"""
|
||||
return _client.StreamApplication_handleClose(self)
|
||||
@ -1823,7 +1675,6 @@ class StreamApplication(Application):
|
||||
|
||||
# Register StreamApplication in _client:
|
||||
_client.StreamApplication_swigregister(StreamApplication)
|
||||
|
||||
class StationLocation(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::StationLocation class."""
|
||||
|
||||
@ -1843,7 +1694,6 @@ class StationLocation(object):
|
||||
|
||||
# Register StationLocation in _client:
|
||||
_client.StationLocation_swigregister(StationLocation)
|
||||
|
||||
class Inventory(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::Inventory class."""
|
||||
|
||||
@ -1929,15 +1779,6 @@ class Inventory(object):
|
||||
|
||||
# Register Inventory in _client:
|
||||
_client.Inventory_swigregister(Inventory)
|
||||
|
||||
def Inventory_Instance():
|
||||
r"""Inventory_Instance() -> Inventory"""
|
||||
return _client.Inventory_Instance()
|
||||
|
||||
def Inventory_Reset():
|
||||
r"""Inventory_Reset()"""
|
||||
return _client.Inventory_Reset()
|
||||
|
||||
class ConfigDB(object):
|
||||
r"""Proxy of C++ Seiscomp::Client::ConfigDB class."""
|
||||
|
||||
@ -1959,7 +1800,7 @@ class ConfigDB(object):
|
||||
|
||||
def load(self, *args):
|
||||
r"""
|
||||
load(ConfigDB self, DatabaseReader reader, Seiscomp::Core::Optional< std::string >::Impl const & moduleName=Unset, Seiscomp::Core::Optional< std::string >::Impl const & networkCode=Unset, Seiscomp::Core::Optional< std::string >::Impl const & stationCode=Unset, Seiscomp::Core::Optional< std::string >::Impl const & setupName=Unset, std::set< std::string,std::less< std::string >,std::allocator< std::string > > const & parameterNames=std::set< std::string >())
|
||||
load(ConfigDB self, DatabaseReader reader, Seiscomp::Core::Optional< std::string > const & moduleName=Unset, Seiscomp::Core::Optional< std::string > const & networkCode=Unset, Seiscomp::Core::Optional< std::string > const & stationCode=Unset, Seiscomp::Core::Optional< std::string > const & setupName=Unset, std::set< std::string,std::less< std::string >,std::allocator< std::string > > const & parameterNames=std::set< std::string >())
|
||||
load(ConfigDB self, char const * xml)
|
||||
"""
|
||||
return _client.ConfigDB_load(self, *args)
|
||||
@ -1972,13 +1813,3 @@ class ConfigDB(object):
|
||||
# Register ConfigDB in _client:
|
||||
_client.ConfigDB_swigregister(ConfigDB)
|
||||
|
||||
def ConfigDB_Instance():
|
||||
r"""ConfigDB_Instance() -> ConfigDB"""
|
||||
return _client.ConfigDB_Instance()
|
||||
|
||||
def ConfigDB_Reset():
|
||||
r"""ConfigDB_Reset()"""
|
||||
return _client.ConfigDB_Reset()
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _config
|
||||
@ -29,10 +26,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _config:
|
||||
_config.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
ERROR = _config.ERROR
|
||||
WARNING = _config.WARNING
|
||||
INFO = _config.INFO
|
||||
@ -149,7 +145,6 @@ class Logger(object):
|
||||
|
||||
# Register Logger in _config:
|
||||
_config.Logger_swigregister(Logger)
|
||||
|
||||
class Exception(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -163,8 +158,6 @@ class Exception(object):
|
||||
|
||||
# Register Exception in _config:
|
||||
_config.Exception_swigregister(Exception)
|
||||
cvar = _config.cvar
|
||||
|
||||
class OptionNotFoundException(Exception):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -175,7 +168,6 @@ class OptionNotFoundException(Exception):
|
||||
|
||||
# Register OptionNotFoundException in _config:
|
||||
_config.OptionNotFoundException_swigregister(OptionNotFoundException)
|
||||
|
||||
class TypeConversionException(Exception):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -186,7 +178,6 @@ class TypeConversionException(Exception):
|
||||
|
||||
# Register TypeConversionException in _config:
|
||||
_config.TypeConversionException_swigregister(TypeConversionException)
|
||||
|
||||
class SyntaxException(Exception):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -197,7 +188,6 @@ class SyntaxException(Exception):
|
||||
|
||||
# Register SyntaxException in _config:
|
||||
_config.SyntaxException_swigregister(SyntaxException)
|
||||
|
||||
class CaseSensitivityException(Exception):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -208,7 +198,6 @@ class CaseSensitivityException(Exception):
|
||||
|
||||
# Register CaseSensitivityException in _config:
|
||||
_config.CaseSensitivityException_swigregister(CaseSensitivityException)
|
||||
|
||||
class Symbol(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -236,7 +225,6 @@ class Symbol(object):
|
||||
|
||||
# Register Symbol in _config:
|
||||
_config.Symbol_swigregister(Symbol)
|
||||
|
||||
class SymbolTable(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -244,9 +232,6 @@ class SymbolTable(object):
|
||||
def __init__(self):
|
||||
_config.SymbolTable_swiginit(self, _config.new_SymbolTable())
|
||||
|
||||
def setCaseSensitivityCheck(self, arg2):
|
||||
return _config.SymbolTable_setCaseSensitivityCheck(self, arg2)
|
||||
|
||||
def setLogger(self, arg2):
|
||||
return _config.SymbolTable_setLogger(self, arg2)
|
||||
|
||||
@ -295,7 +280,6 @@ class SymbolTable(object):
|
||||
|
||||
# Register SymbolTable in _config:
|
||||
_config.SymbolTable_swigregister(SymbolTable)
|
||||
|
||||
class Config(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -304,9 +288,6 @@ class Config(object):
|
||||
_config.Config_swiginit(self, _config.new_Config())
|
||||
__swig_destroy__ = _config.delete_Config
|
||||
|
||||
def setCaseSensitivityCheck(self, arg2):
|
||||
return _config.Config_setCaseSensitivityCheck(self, arg2)
|
||||
|
||||
def readConfig(self, file, stage=-1, raw=False):
|
||||
return _config.Config_readConfig(self, file, stage, raw)
|
||||
|
||||
@ -376,6 +357,9 @@ class Config(object):
|
||||
def setStrings(self, name, values):
|
||||
return _config.Config_setStrings(self, name, values)
|
||||
|
||||
def findSymbols(self, *args):
|
||||
return _config.Config_findSymbols(self, *args)
|
||||
|
||||
def symbolTable(self):
|
||||
return _config.Config_symbolTable(self)
|
||||
|
||||
@ -413,22 +397,6 @@ class Config(object):
|
||||
|
||||
# Register Config in _config:
|
||||
_config.Config_swigregister(Config)
|
||||
|
||||
def Config_Eval(rvalue, result, resolveReferences=True, symtab=None, errmsg=None):
|
||||
return _config.Config_Eval(rvalue, result, resolveReferences, symtab, errmsg)
|
||||
|
||||
def Config_writeValues(os, symbol, multilineLists=False):
|
||||
return _config.Config_writeValues(os, symbol, multilineLists)
|
||||
|
||||
def Config_writeContent(os, symbol, multilineLists=False):
|
||||
return _config.Config_writeContent(os, symbol, multilineLists)
|
||||
|
||||
def Config_writeSymbol(os, symbol, multilineLists=False):
|
||||
return _config.Config_writeSymbol(os, symbol, multilineLists)
|
||||
|
||||
def Config_escapeIdentifier(arg1):
|
||||
return _config.Config_escapeIdentifier(arg1)
|
||||
|
||||
class VectorStr(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -534,7 +502,6 @@ class VectorStr(object):
|
||||
|
||||
# Register VectorStr in _config:
|
||||
_config.VectorStr_swigregister(VectorStr)
|
||||
|
||||
class VectorInt(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -640,7 +607,6 @@ class VectorInt(object):
|
||||
|
||||
# Register VectorInt in _config:
|
||||
_config.VectorInt_swigregister(VectorInt)
|
||||
|
||||
class VectorDouble(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -746,7 +712,6 @@ class VectorDouble(object):
|
||||
|
||||
# Register VectorDouble in _config:
|
||||
_config.VectorDouble_swigregister(VectorDouble)
|
||||
|
||||
class VectorBool(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -853,5 +818,3 @@ class VectorBool(object):
|
||||
# Register VectorBool in _config:
|
||||
_config.VectorBool_swigregister(VectorBool)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
|
||||
@ -10,9 +10,6 @@ import datetime
|
||||
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _core
|
||||
@ -34,10 +31,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -94,7 +91,6 @@ class RTTI(object):
|
||||
|
||||
# Register RTTI in _core:
|
||||
_core.RTTI_swigregister(RTTI)
|
||||
|
||||
class PropertyNotFoundException(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -105,7 +101,6 @@ class PropertyNotFoundException(object):
|
||||
|
||||
# Register PropertyNotFoundException in _core:
|
||||
_core.PropertyNotFoundException_swigregister(PropertyNotFoundException)
|
||||
|
||||
class MetaEnum(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -128,7 +123,6 @@ class MetaEnum(object):
|
||||
|
||||
# Register MetaEnum in _core:
|
||||
_core.MetaEnum_swigregister(MetaEnum)
|
||||
|
||||
class MetaProperty(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -196,7 +190,6 @@ class MetaProperty(object):
|
||||
|
||||
# Register MetaProperty in _core:
|
||||
_core.MetaProperty_swigregister(MetaProperty)
|
||||
|
||||
class MetaObject(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -223,10 +216,6 @@ class MetaObject(object):
|
||||
|
||||
# Register MetaObject in _core:
|
||||
_core.MetaObject_swigregister(MetaObject)
|
||||
|
||||
def MetaObject_Find(className):
|
||||
return _core.MetaObject_Find(className)
|
||||
|
||||
class ValueError(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -254,8 +243,8 @@ class Enumeration(object):
|
||||
def toString(self):
|
||||
return _core.Enumeration_toString(self)
|
||||
|
||||
def fromString(self, str):
|
||||
return _core.Enumeration_fromString(self, str)
|
||||
def fromString(self, sv):
|
||||
return _core.Enumeration_fromString(self, sv)
|
||||
|
||||
def toInt(self):
|
||||
return _core.Enumeration_toInt(self)
|
||||
@ -265,10 +254,6 @@ class Enumeration(object):
|
||||
|
||||
# Register Enumeration in _core:
|
||||
_core.Enumeration_swigregister(Enumeration)
|
||||
|
||||
|
||||
def __lshift__(os, e):
|
||||
return _core.__lshift__(os, e)
|
||||
class GeneralException(Exception):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -286,7 +271,6 @@ class GeneralException(Exception):
|
||||
|
||||
# Register GeneralException in _core:
|
||||
_core.GeneralException_swigregister(GeneralException)
|
||||
|
||||
class MemoryException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -297,7 +281,6 @@ class MemoryException(GeneralException):
|
||||
|
||||
# Register MemoryException in _core:
|
||||
_core.MemoryException_swigregister(MemoryException)
|
||||
|
||||
class StreamException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -308,7 +291,6 @@ class StreamException(GeneralException):
|
||||
|
||||
# Register StreamException in _core:
|
||||
_core.StreamException_swigregister(StreamException)
|
||||
|
||||
class EndOfStreamException(StreamException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -319,7 +301,6 @@ class EndOfStreamException(StreamException):
|
||||
|
||||
# Register EndOfStreamException in _core:
|
||||
_core.EndOfStreamException_swigregister(EndOfStreamException)
|
||||
|
||||
class TypeConversionException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -330,7 +311,6 @@ class TypeConversionException(GeneralException):
|
||||
|
||||
# Register TypeConversionException in _core:
|
||||
_core.TypeConversionException_swigregister(TypeConversionException)
|
||||
|
||||
class OverflowException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -341,7 +321,6 @@ class OverflowException(GeneralException):
|
||||
|
||||
# Register OverflowException in _core:
|
||||
_core.OverflowException_swigregister(OverflowException)
|
||||
|
||||
class UnderflowException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -352,7 +331,6 @@ class UnderflowException(GeneralException):
|
||||
|
||||
# Register UnderflowException in _core:
|
||||
_core.UnderflowException_swigregister(UnderflowException)
|
||||
|
||||
class ValueException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -363,7 +341,6 @@ class ValueException(GeneralException):
|
||||
|
||||
# Register ValueException in _core:
|
||||
_core.ValueException_swigregister(ValueException)
|
||||
|
||||
class TypeException(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -374,7 +351,6 @@ class TypeException(GeneralException):
|
||||
|
||||
# Register TypeException in _core:
|
||||
_core.TypeException_swigregister(TypeException)
|
||||
|
||||
class ClassNotFound(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -385,7 +361,6 @@ class ClassNotFound(GeneralException):
|
||||
|
||||
# Register ClassNotFound in _core:
|
||||
_core.ClassNotFound_swigregister(ClassNotFound)
|
||||
|
||||
class DuplicateClassname(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -396,7 +371,6 @@ class DuplicateClassname(GeneralException):
|
||||
|
||||
# Register DuplicateClassname in _core:
|
||||
_core.DuplicateClassname_swigregister(DuplicateClassname)
|
||||
|
||||
class BaseObject(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -455,25 +429,6 @@ class BaseObject(object):
|
||||
|
||||
# Register BaseObject in _core:
|
||||
_core.BaseObject_swigregister(BaseObject)
|
||||
|
||||
def BaseObject_ClassName():
|
||||
return _core.BaseObject_ClassName()
|
||||
|
||||
def BaseObject_TypeInfo():
|
||||
return _core.BaseObject_TypeInfo()
|
||||
|
||||
def BaseObject_Cast(*args):
|
||||
return _core.BaseObject_Cast(*args)
|
||||
|
||||
def BaseObject_ConstCast(*args):
|
||||
return _core.BaseObject_ConstCast(*args)
|
||||
|
||||
def BaseObject_Meta():
|
||||
return _core.BaseObject_Meta()
|
||||
|
||||
def BaseObject_ObjectCount():
|
||||
return _core.BaseObject_ObjectCount()
|
||||
|
||||
class OperationInterrupted(GeneralException):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -484,7 +439,6 @@ class OperationInterrupted(GeneralException):
|
||||
|
||||
# Register OperationInterrupted in _core:
|
||||
_core.OperationInterrupted_swigregister(OperationInterrupted)
|
||||
|
||||
SC_API_VERSION = _core.SC_API_VERSION
|
||||
class Version(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
@ -537,10 +491,6 @@ class Version(object):
|
||||
|
||||
# Register Version in _core:
|
||||
_core.Version_swigregister(Version)
|
||||
|
||||
def Version_pack(major, minor, patch=0):
|
||||
return _core.Version_pack(major, minor, patch)
|
||||
|
||||
class FrameworkVersion(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -563,7 +513,6 @@ class FrameworkVersion(object):
|
||||
|
||||
# Register FrameworkVersion in _core:
|
||||
_core.FrameworkVersion_swigregister(FrameworkVersion)
|
||||
|
||||
class TimeSpan(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -571,38 +520,65 @@ class TimeSpan(object):
|
||||
def __init__(self, *args):
|
||||
_core.TimeSpan_swiginit(self, _core.new_TimeSpan(*args))
|
||||
|
||||
def __eq__(self, arg2):
|
||||
return _core.TimeSpan___eq__(self, arg2)
|
||||
def __eq__(self, other):
|
||||
return _core.TimeSpan___eq__(self, other)
|
||||
|
||||
def __ne__(self, arg2):
|
||||
return _core.TimeSpan___ne__(self, arg2)
|
||||
def __ne__(self, other):
|
||||
return _core.TimeSpan___ne__(self, other)
|
||||
|
||||
def __lt__(self, arg2):
|
||||
return _core.TimeSpan___lt__(self, arg2)
|
||||
def __le__(self, other):
|
||||
return _core.TimeSpan___le__(self, other)
|
||||
|
||||
def __le__(self, arg2):
|
||||
return _core.TimeSpan___le__(self, arg2)
|
||||
def __lt__(self, other):
|
||||
return _core.TimeSpan___lt__(self, other)
|
||||
|
||||
def __gt__(self, arg2):
|
||||
return _core.TimeSpan___gt__(self, arg2)
|
||||
def __ge__(self, other):
|
||||
return _core.TimeSpan___ge__(self, other)
|
||||
|
||||
def __ge__(self, arg2):
|
||||
return _core.TimeSpan___ge__(self, arg2)
|
||||
def __gt__(self, other):
|
||||
return _core.TimeSpan___gt__(self, other)
|
||||
|
||||
def __add__(self, arg2):
|
||||
return _core.TimeSpan___add__(self, arg2)
|
||||
def __add__(self, other):
|
||||
return _core.TimeSpan___add__(self, other)
|
||||
|
||||
def __sub__(self, arg2):
|
||||
return _core.TimeSpan___sub__(self, arg2)
|
||||
def __sub__(self, other):
|
||||
return _core.TimeSpan___sub__(self, other)
|
||||
|
||||
def __iadd__(self, arg2):
|
||||
return _core.TimeSpan___iadd__(self, arg2)
|
||||
def __mul__(self, *args):
|
||||
return _core.TimeSpan___mul__(self, *args)
|
||||
|
||||
def __isub__(self, arg2):
|
||||
return _core.TimeSpan___isub__(self, arg2)
|
||||
def __truediv__(self, *args):
|
||||
return _core.TimeSpan___truediv__(self, *args)
|
||||
__div__ = __truediv__
|
||||
|
||||
def abs(self):
|
||||
return _core.TimeSpan_abs(self)
|
||||
|
||||
|
||||
def __neg__(self):
|
||||
return _core.TimeSpan___neg__(self)
|
||||
|
||||
def __iadd__(self, other):
|
||||
return _core.TimeSpan___iadd__(self, other)
|
||||
|
||||
def __isub__(self, other):
|
||||
return _core.TimeSpan___isub__(self, other)
|
||||
|
||||
def __imul__(self, *args):
|
||||
return _core.TimeSpan___imul__(self, *args)
|
||||
|
||||
def __itruediv__(self, *args):
|
||||
return _core.TimeSpan___itruediv__(self, *args)
|
||||
__idiv__ = __itruediv__
|
||||
|
||||
|
||||
|
||||
def __nonzero__(self):
|
||||
return _core.TimeSpan___nonzero__(self)
|
||||
__bool__ = __nonzero__
|
||||
|
||||
|
||||
|
||||
def repr(self):
|
||||
return _core.TimeSpan_repr(self)
|
||||
|
||||
def seconds(self):
|
||||
return _core.TimeSpan_seconds(self)
|
||||
@ -610,17 +586,32 @@ class TimeSpan(object):
|
||||
def microseconds(self):
|
||||
return _core.TimeSpan_microseconds(self)
|
||||
|
||||
def length(self):
|
||||
return _core.TimeSpan_length(self)
|
||||
def count(self):
|
||||
return _core.TimeSpan_count(self)
|
||||
|
||||
def set(self, seconds):
|
||||
return _core.TimeSpan_set(self, seconds)
|
||||
def abs(self):
|
||||
return _core.TimeSpan_abs(self)
|
||||
|
||||
def set(self, seconds, usecs=0):
|
||||
return _core.TimeSpan_set(self, seconds, usecs)
|
||||
|
||||
def get(self, days, hours=None, minutes=None, seconds=None):
|
||||
return _core.TimeSpan_get(self, days, hours, minutes, seconds)
|
||||
|
||||
def elapsedTime(self, days, hours=None, minutes=None, seconds=None):
|
||||
return _core.TimeSpan_elapsedTime(self, days, hours, minutes, seconds)
|
||||
|
||||
def setUSecs(self, arg2):
|
||||
return _core.TimeSpan_setUSecs(self, arg2)
|
||||
|
||||
def elapsedTime(self, days, hours=None, minutes=None, seconds=None):
|
||||
return _core.TimeSpan_elapsedTime(self, days, hours, minutes, seconds)
|
||||
def length(self):
|
||||
return _core.TimeSpan_length(self)
|
||||
|
||||
def toString(self):
|
||||
return _core.TimeSpan_toString(self)
|
||||
|
||||
def fromString(self, sv):
|
||||
return _core.TimeSpan_fromString(self, sv)
|
||||
|
||||
def toDouble(self):
|
||||
return _core.TimeSpan_toDouble(self)
|
||||
@ -632,46 +623,136 @@ class TimeSpan(object):
|
||||
|
||||
# Register TimeSpan in _core:
|
||||
_core.TimeSpan_swigregister(TimeSpan)
|
||||
TimeSpan.MinTime = _core.cvar.TimeSpan_MinTime
|
||||
TimeSpan.MaxTime = _core.cvar.TimeSpan_MaxTime
|
||||
TimeSpan.MinSpan = _core.cvar.TimeSpan_MinSpan
|
||||
TimeSpan.MaxSpan = _core.cvar.TimeSpan_MaxSpan
|
||||
TimeSpan.MinSeconds = _core.cvar.TimeSpan_MinSeconds
|
||||
TimeSpan.MaxSeconds = _core.cvar.TimeSpan_MaxSeconds
|
||||
|
||||
class Time(TimeSpan):
|
||||
class Time(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
Null = property(_core.Time_Null_get, _core.Time_Null_set)
|
||||
|
||||
def __init__(self, *args):
|
||||
_core.Time_swiginit(self, _core.new_Time(*args))
|
||||
|
||||
def __eq__(self, other):
|
||||
return _core.Time___eq__(self, other)
|
||||
|
||||
def __ne__(self, other):
|
||||
return _core.Time___ne__(self, other)
|
||||
|
||||
def __lt__(self, other):
|
||||
return _core.Time___lt__(self, other)
|
||||
|
||||
def __le__(self, other):
|
||||
return _core.Time___le__(self, other)
|
||||
|
||||
def __gt__(self, other):
|
||||
return _core.Time___gt__(self, other)
|
||||
|
||||
def __ge__(self, other):
|
||||
return _core.Time___ge__(self, other)
|
||||
|
||||
def __iadd__(self, ts):
|
||||
return _core.Time___iadd__(self, ts)
|
||||
|
||||
def __isub__(self, ts):
|
||||
return _core.Time___isub__(self, ts)
|
||||
|
||||
def __add__(self, ts):
|
||||
return _core.Time___add__(self, ts)
|
||||
|
||||
def __sub__(self, *args):
|
||||
return _core.Time___sub__(self, *args)
|
||||
|
||||
def __nonzero__(self):
|
||||
return _core.Time___nonzero__(self)
|
||||
__bool__ = __nonzero__
|
||||
|
||||
|
||||
|
||||
def __add__(self, arg2):
|
||||
return _core.Time___add__(self, arg2)
|
||||
def repr(self):
|
||||
return _core.Time_repr(self)
|
||||
|
||||
def __sub__(self, *args):
|
||||
return _core.Time___sub__(self, *args)
|
||||
|
||||
def __iadd__(self, arg2):
|
||||
return _core.Time___iadd__(self, arg2)
|
||||
|
||||
def __isub__(self, arg2):
|
||||
return _core.Time___isub__(self, arg2)
|
||||
def valid(self):
|
||||
return _core.Time_valid(self)
|
||||
|
||||
def set(self, year, month, day, hour, min, sec, usec):
|
||||
return _core.Time_set(self, year, month, day, hour, min, sec, usec)
|
||||
|
||||
def set2(self, year, yday, hour, min, sec, usec):
|
||||
return _core.Time_set2(self, year, yday, hour, min, sec, usec)
|
||||
|
||||
def get(self):
|
||||
return _core.Time_get(self)
|
||||
|
||||
def set2(self, year, yday, hour, min, sec, usec):
|
||||
return _core.Time_set2(self, year, yday, hour, min, sec, usec)
|
||||
|
||||
def get2(self):
|
||||
return _core.Time_get2(self)
|
||||
|
||||
def now(self):
|
||||
return _core.Time_now(self)
|
||||
|
||||
def gmt(self):
|
||||
return _core.Time_gmt(self)
|
||||
|
||||
def utc(self):
|
||||
return _core.Time_utc(self)
|
||||
|
||||
def iso(self):
|
||||
return _core.Time_iso(self)
|
||||
|
||||
def toString(self, format):
|
||||
return _core.Time_toString(self, format)
|
||||
|
||||
def toLocalString(self, format):
|
||||
return _core.Time_toLocalString(self, format)
|
||||
|
||||
def toZonedString(self, format, tz):
|
||||
return _core.Time_toZonedString(self, format, tz)
|
||||
|
||||
def fromString(self, *args):
|
||||
return _core.Time_fromString(self, *args)
|
||||
|
||||
@staticmethod
|
||||
def FromString(*args):
|
||||
return _core.Time_FromString(*args)
|
||||
|
||||
@staticmethod
|
||||
def FromYearDay(year, doy):
|
||||
return _core.Time_FromYearDay(year, doy)
|
||||
|
||||
def seconds(self):
|
||||
return _core.Time_seconds(self)
|
||||
|
||||
def epochSeconds(self):
|
||||
return _core.Time_epochSeconds(self)
|
||||
|
||||
def epoch(self):
|
||||
return _core.Time_epoch(self)
|
||||
|
||||
def microseconds(self):
|
||||
return _core.Time_microseconds(self)
|
||||
|
||||
def setUSecs(self, ms):
|
||||
return _core.Time_setUSecs(self, ms)
|
||||
|
||||
@staticmethod
|
||||
def FromEpoch(*args):
|
||||
return _core.Time_FromEpoch(*args)
|
||||
|
||||
@staticmethod
|
||||
def Now():
|
||||
return _core.Time_Now()
|
||||
|
||||
@staticmethod
|
||||
def GMT():
|
||||
return _core.Time_GMT()
|
||||
|
||||
@staticmethod
|
||||
def UTC():
|
||||
return _core.Time_UTC()
|
||||
|
||||
@staticmethod
|
||||
def LocalTime():
|
||||
return _core.Time_LocalTime()
|
||||
@ -680,30 +761,6 @@ class Time(TimeSpan):
|
||||
def LocalTimeZone():
|
||||
return _core.Time_LocalTimeZone()
|
||||
|
||||
@staticmethod
|
||||
def UTC():
|
||||
return _core.Time_UTC()
|
||||
|
||||
@staticmethod
|
||||
def GMT():
|
||||
return _core.Time_GMT()
|
||||
|
||||
@staticmethod
|
||||
def FromYearDay(year, year_day):
|
||||
return _core.Time_FromYearDay(year, year_day)
|
||||
|
||||
def localTimeZoneOffset(self):
|
||||
return _core.Time_localTimeZoneOffset(self)
|
||||
|
||||
def localtime(self):
|
||||
return _core.Time_localtime(self)
|
||||
|
||||
def utc(self):
|
||||
return _core.Time_utc(self)
|
||||
|
||||
def gmt(self):
|
||||
return _core.Time_gmt(self)
|
||||
|
||||
def toLocalTime(self):
|
||||
return _core.Time_toLocalTime(self)
|
||||
|
||||
@ -713,21 +770,11 @@ class Time(TimeSpan):
|
||||
def toGMT(self):
|
||||
return _core.Time_toGMT(self)
|
||||
|
||||
def valid(self):
|
||||
return _core.Time_valid(self)
|
||||
def localTimeZoneOffset(self):
|
||||
return _core.Time_localTimeZoneOffset(self)
|
||||
|
||||
def toString(self, fmt):
|
||||
return _core.Time_toString(self, fmt)
|
||||
|
||||
def iso(self):
|
||||
return _core.Time_iso(self)
|
||||
|
||||
def fromString(self, *args):
|
||||
return _core.Time_fromString(self, *args)
|
||||
|
||||
@staticmethod
|
||||
def FromString(*args):
|
||||
return _core.Time_FromString(*args)
|
||||
def timeZoneOffset(self, tzName):
|
||||
return _core.Time_timeZoneOffset(self, tzName)
|
||||
|
||||
def __str__(self):
|
||||
return self.toString("%Y-%m-%d %H:%M:%S.%f000000")[:23]
|
||||
@ -739,26 +786,12 @@ class Time(TimeSpan):
|
||||
|
||||
# Register Time in _core:
|
||||
_core.Time_swigregister(Time)
|
||||
Time.Null = _core.cvar.Time_Null
|
||||
Time.MinTime = _core.cvar.Time_MinTime
|
||||
Time.MaxTime = _core.cvar.Time_MaxTime
|
||||
|
||||
def Time_LocalTime():
|
||||
return _core.Time_LocalTime()
|
||||
|
||||
def Time_LocalTimeZone():
|
||||
return _core.Time_LocalTimeZone()
|
||||
|
||||
def Time_UTC():
|
||||
return _core.Time_UTC()
|
||||
|
||||
def Time_GMT():
|
||||
return _core.Time_GMT()
|
||||
|
||||
def Time_FromYearDay(year, year_day):
|
||||
return _core.Time_FromYearDay(year, year_day)
|
||||
|
||||
def Time_FromString(*args):
|
||||
return _core.Time_FromString(*args)
|
||||
|
||||
def __lshift__(*args):
|
||||
return _core.__lshift__(*args)
|
||||
class GenericArchive(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -857,10 +890,6 @@ class GenericArchive(object):
|
||||
|
||||
# Register GenericArchive in _core:
|
||||
_core.GenericArchive_swigregister(GenericArchive)
|
||||
|
||||
def GenericArchive_PackVersion(major, minor):
|
||||
return _core.GenericArchive_PackVersion(major, minor)
|
||||
|
||||
class Array(BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -961,19 +990,6 @@ class Array(BaseObject):
|
||||
|
||||
# Register Array in _core:
|
||||
_core.Array_swigregister(Array)
|
||||
|
||||
def Array_ClassName():
|
||||
return _core.Array_ClassName()
|
||||
|
||||
def Array_TypeInfo():
|
||||
return _core.Array_TypeInfo()
|
||||
|
||||
def Array_Cast(*args):
|
||||
return _core.Array_Cast(*args)
|
||||
|
||||
def Array_ConstCast(*args):
|
||||
return _core.Array_ConstCast(*args)
|
||||
|
||||
class BitSet(BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1087,19 +1103,6 @@ class BitSet(BaseObject):
|
||||
|
||||
# Register BitSet in _core:
|
||||
_core.BitSet_swigregister(BitSet)
|
||||
|
||||
def BitSet_ClassName():
|
||||
return _core.BitSet_ClassName()
|
||||
|
||||
def BitSet_TypeInfo():
|
||||
return _core.BitSet_TypeInfo()
|
||||
|
||||
def BitSet_Cast(*args):
|
||||
return _core.BitSet_Cast(*args)
|
||||
|
||||
def BitSet_ConstCast(*args):
|
||||
return _core.BitSet_ConstCast(*args)
|
||||
|
||||
class Record(BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -1236,19 +1239,6 @@ class Record(BaseObject):
|
||||
|
||||
# Register Record in _core:
|
||||
_core.Record_swigregister(Record)
|
||||
|
||||
def Record_ClassName():
|
||||
return _core.Record_ClassName()
|
||||
|
||||
def Record_TypeInfo():
|
||||
return _core.Record_TypeInfo()
|
||||
|
||||
def Record_Cast(*args):
|
||||
return _core.Record_Cast(*args)
|
||||
|
||||
def Record_ConstCast(*args):
|
||||
return _core.Record_ConstCast(*args)
|
||||
|
||||
ZSS = _core.ZSS
|
||||
ZDS = _core.ZDS
|
||||
ZDD = _core.ZDD
|
||||
@ -1274,10 +1264,6 @@ class EGreensFunctionComponentNames(object):
|
||||
|
||||
# Register EGreensFunctionComponentNames in _core:
|
||||
_core.EGreensFunctionComponentNames_swigregister(EGreensFunctionComponentNames)
|
||||
|
||||
def EGreensFunctionComponentNames_name(i):
|
||||
return _core.EGreensFunctionComponentNames_name(i)
|
||||
|
||||
class GreensFunction(BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1358,19 +1344,6 @@ class GreensFunction(BaseObject):
|
||||
|
||||
# Register GreensFunction in _core:
|
||||
_core.GreensFunction_swigregister(GreensFunction)
|
||||
|
||||
def GreensFunction_ClassName():
|
||||
return _core.GreensFunction_ClassName()
|
||||
|
||||
def GreensFunction_TypeInfo():
|
||||
return _core.GreensFunction_TypeInfo()
|
||||
|
||||
def GreensFunction_Cast(*args):
|
||||
return _core.GreensFunction_Cast(*args)
|
||||
|
||||
def GreensFunction_ConstCast(*args):
|
||||
return _core.GreensFunction_ConstCast(*args)
|
||||
|
||||
class GenericRecord(Record):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1439,19 +1412,6 @@ class GenericRecord(Record):
|
||||
|
||||
# Register GenericRecord in _core:
|
||||
_core.GenericRecord_swigregister(GenericRecord)
|
||||
|
||||
def GenericRecord_ClassName():
|
||||
return _core.GenericRecord_ClassName()
|
||||
|
||||
def GenericRecord_TypeInfo():
|
||||
return _core.GenericRecord_TypeInfo()
|
||||
|
||||
def GenericRecord_Cast(*args):
|
||||
return _core.GenericRecord_Cast(*args)
|
||||
|
||||
def GenericRecord_ConstCast(*args):
|
||||
return _core.GenericRecord_ConstCast(*args)
|
||||
|
||||
class MessageIterator(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1484,7 +1444,6 @@ class MessageIterator(object):
|
||||
|
||||
# Register MessageIterator in _core:
|
||||
_core.MessageIterator_swigregister(MessageIterator)
|
||||
|
||||
class Message(BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -1536,19 +1495,6 @@ class Message(BaseObject):
|
||||
|
||||
# Register Message in _core:
|
||||
_core.Message_swigregister(Message)
|
||||
|
||||
def Message_ClassName():
|
||||
return _core.Message_ClassName()
|
||||
|
||||
def Message_TypeInfo():
|
||||
return _core.Message_TypeInfo()
|
||||
|
||||
def Message_Cast(*args):
|
||||
return _core.Message_Cast(*args)
|
||||
|
||||
def Message_ConstCast(*args):
|
||||
return _core.Message_ConstCast(*args)
|
||||
|
||||
class DataMessageBase(Message):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1583,7 +1529,6 @@ class DataMessageBase(Message):
|
||||
|
||||
# Register DataMessageBase in _core:
|
||||
_core.DataMessageBase_swigregister(DataMessageBase)
|
||||
|
||||
class DataMessage(DataMessageBase):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1616,19 +1561,6 @@ class DataMessage(DataMessageBase):
|
||||
|
||||
# Register DataMessage in _core:
|
||||
_core.DataMessage_swigregister(DataMessage)
|
||||
|
||||
def DataMessage_ClassName():
|
||||
return _core.DataMessage_ClassName()
|
||||
|
||||
def DataMessage_TypeInfo():
|
||||
return _core.DataMessage_TypeInfo()
|
||||
|
||||
def DataMessage_Cast(*args):
|
||||
return _core.DataMessage_Cast(*args)
|
||||
|
||||
def DataMessage_ConstCast(*args):
|
||||
return _core.DataMessage_ConstCast(*args)
|
||||
|
||||
class CharArrayT(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1716,19 +1648,6 @@ class CharArrayT(Array):
|
||||
|
||||
# Register CharArrayT in _core:
|
||||
_core.CharArrayT_swigregister(CharArrayT)
|
||||
|
||||
def CharArrayT_ClassName():
|
||||
return _core.CharArrayT_ClassName()
|
||||
|
||||
def CharArrayT_TypeInfo():
|
||||
return _core.CharArrayT_TypeInfo()
|
||||
|
||||
def CharArrayT_Cast(*args):
|
||||
return _core.CharArrayT_Cast(*args)
|
||||
|
||||
def CharArrayT_ConstCast(*args):
|
||||
return _core.CharArrayT_ConstCast(*args)
|
||||
|
||||
class IntArrayT(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1816,19 +1735,6 @@ class IntArrayT(Array):
|
||||
|
||||
# Register IntArrayT in _core:
|
||||
_core.IntArrayT_swigregister(IntArrayT)
|
||||
|
||||
def IntArrayT_ClassName():
|
||||
return _core.IntArrayT_ClassName()
|
||||
|
||||
def IntArrayT_TypeInfo():
|
||||
return _core.IntArrayT_TypeInfo()
|
||||
|
||||
def IntArrayT_Cast(*args):
|
||||
return _core.IntArrayT_Cast(*args)
|
||||
|
||||
def IntArrayT_ConstCast(*args):
|
||||
return _core.IntArrayT_ConstCast(*args)
|
||||
|
||||
class FloatArrayT(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1916,19 +1822,6 @@ class FloatArrayT(Array):
|
||||
|
||||
# Register FloatArrayT in _core:
|
||||
_core.FloatArrayT_swigregister(FloatArrayT)
|
||||
|
||||
def FloatArrayT_ClassName():
|
||||
return _core.FloatArrayT_ClassName()
|
||||
|
||||
def FloatArrayT_TypeInfo():
|
||||
return _core.FloatArrayT_TypeInfo()
|
||||
|
||||
def FloatArrayT_Cast(*args):
|
||||
return _core.FloatArrayT_Cast(*args)
|
||||
|
||||
def FloatArrayT_ConstCast(*args):
|
||||
return _core.FloatArrayT_ConstCast(*args)
|
||||
|
||||
class DoubleArrayT(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2016,19 +1909,6 @@ class DoubleArrayT(Array):
|
||||
|
||||
# Register DoubleArrayT in _core:
|
||||
_core.DoubleArrayT_swigregister(DoubleArrayT)
|
||||
|
||||
def DoubleArrayT_ClassName():
|
||||
return _core.DoubleArrayT_ClassName()
|
||||
|
||||
def DoubleArrayT_TypeInfo():
|
||||
return _core.DoubleArrayT_TypeInfo()
|
||||
|
||||
def DoubleArrayT_Cast(*args):
|
||||
return _core.DoubleArrayT_Cast(*args)
|
||||
|
||||
def DoubleArrayT_ConstCast(*args):
|
||||
return _core.DoubleArrayT_ConstCast(*args)
|
||||
|
||||
class ComplexFloatArray(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2116,19 +1996,6 @@ class ComplexFloatArray(Array):
|
||||
|
||||
# Register ComplexFloatArray in _core:
|
||||
_core.ComplexFloatArray_swigregister(ComplexFloatArray)
|
||||
|
||||
def ComplexFloatArray_ClassName():
|
||||
return _core.ComplexFloatArray_ClassName()
|
||||
|
||||
def ComplexFloatArray_TypeInfo():
|
||||
return _core.ComplexFloatArray_TypeInfo()
|
||||
|
||||
def ComplexFloatArray_Cast(*args):
|
||||
return _core.ComplexFloatArray_Cast(*args)
|
||||
|
||||
def ComplexFloatArray_ConstCast(*args):
|
||||
return _core.ComplexFloatArray_ConstCast(*args)
|
||||
|
||||
class ComplexDoubleArray(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2216,19 +2083,6 @@ class ComplexDoubleArray(Array):
|
||||
|
||||
# Register ComplexDoubleArray in _core:
|
||||
_core.ComplexDoubleArray_swigregister(ComplexDoubleArray)
|
||||
|
||||
def ComplexDoubleArray_ClassName():
|
||||
return _core.ComplexDoubleArray_ClassName()
|
||||
|
||||
def ComplexDoubleArray_TypeInfo():
|
||||
return _core.ComplexDoubleArray_TypeInfo()
|
||||
|
||||
def ComplexDoubleArray_Cast(*args):
|
||||
return _core.ComplexDoubleArray_Cast(*args)
|
||||
|
||||
def ComplexDoubleArray_ConstCast(*args):
|
||||
return _core.ComplexDoubleArray_ConstCast(*args)
|
||||
|
||||
class DateTimeArray(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2316,19 +2170,6 @@ class DateTimeArray(Array):
|
||||
|
||||
# Register DateTimeArray in _core:
|
||||
_core.DateTimeArray_swigregister(DateTimeArray)
|
||||
|
||||
def DateTimeArray_ClassName():
|
||||
return _core.DateTimeArray_ClassName()
|
||||
|
||||
def DateTimeArray_TypeInfo():
|
||||
return _core.DateTimeArray_TypeInfo()
|
||||
|
||||
def DateTimeArray_Cast(*args):
|
||||
return _core.DateTimeArray_Cast(*args)
|
||||
|
||||
def DateTimeArray_ConstCast(*args):
|
||||
return _core.DateTimeArray_ConstCast(*args)
|
||||
|
||||
class StringArray(Array):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2416,19 +2257,6 @@ class StringArray(Array):
|
||||
|
||||
# Register StringArray in _core:
|
||||
_core.StringArray_swigregister(StringArray)
|
||||
|
||||
def StringArray_ClassName():
|
||||
return _core.StringArray_ClassName()
|
||||
|
||||
def StringArray_TypeInfo():
|
||||
return _core.StringArray_TypeInfo()
|
||||
|
||||
def StringArray_Cast(*args):
|
||||
return _core.StringArray_Cast(*args)
|
||||
|
||||
def StringArray_ConstCast(*args):
|
||||
return _core.StringArray_ConstCast(*args)
|
||||
|
||||
class CharArray(CharArrayT):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2500,19 +2328,6 @@ class CharArray(CharArrayT):
|
||||
|
||||
# Register CharArray in _core:
|
||||
_core.CharArray_swigregister(CharArray)
|
||||
|
||||
def CharArray_ClassName():
|
||||
return _core.CharArray_ClassName()
|
||||
|
||||
def CharArray_TypeInfo():
|
||||
return _core.CharArray_TypeInfo()
|
||||
|
||||
def CharArray_Cast(*args):
|
||||
return _core.CharArray_Cast(*args)
|
||||
|
||||
def CharArray_ConstCast(*args):
|
||||
return _core.CharArray_ConstCast(*args)
|
||||
|
||||
class IntArray(IntArrayT):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2584,19 +2399,6 @@ class IntArray(IntArrayT):
|
||||
|
||||
# Register IntArray in _core:
|
||||
_core.IntArray_swigregister(IntArray)
|
||||
|
||||
def IntArray_ClassName():
|
||||
return _core.IntArray_ClassName()
|
||||
|
||||
def IntArray_TypeInfo():
|
||||
return _core.IntArray_TypeInfo()
|
||||
|
||||
def IntArray_Cast(*args):
|
||||
return _core.IntArray_Cast(*args)
|
||||
|
||||
def IntArray_ConstCast(*args):
|
||||
return _core.IntArray_ConstCast(*args)
|
||||
|
||||
class FloatArray(FloatArrayT):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2668,19 +2470,6 @@ class FloatArray(FloatArrayT):
|
||||
|
||||
# Register FloatArray in _core:
|
||||
_core.FloatArray_swigregister(FloatArray)
|
||||
|
||||
def FloatArray_ClassName():
|
||||
return _core.FloatArray_ClassName()
|
||||
|
||||
def FloatArray_TypeInfo():
|
||||
return _core.FloatArray_TypeInfo()
|
||||
|
||||
def FloatArray_Cast(*args):
|
||||
return _core.FloatArray_Cast(*args)
|
||||
|
||||
def FloatArray_ConstCast(*args):
|
||||
return _core.FloatArray_ConstCast(*args)
|
||||
|
||||
class DoubleArray(DoubleArrayT):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2753,17 +2542,3 @@ class DoubleArray(DoubleArrayT):
|
||||
# Register DoubleArray in _core:
|
||||
_core.DoubleArray_swigregister(DoubleArray)
|
||||
|
||||
def DoubleArray_ClassName():
|
||||
return _core.DoubleArray_ClassName()
|
||||
|
||||
def DoubleArray_TypeInfo():
|
||||
return _core.DoubleArray_TypeInfo()
|
||||
|
||||
def DoubleArray_Cast(*args):
|
||||
return _core.DoubleArray_Cast(*args)
|
||||
|
||||
def DoubleArray_ConstCast(*args):
|
||||
return _core.DoubleArray_ConstCast(*args)
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
lib/python/seiscomp/datamodel/_strongmotion.so
Normal file
BIN
lib/python/seiscomp/datamodel/_strongmotion.so
Normal file
Binary file not shown.
2447
lib/python/seiscomp/datamodel/strongmotion.py
Normal file
2447
lib/python/seiscomp/datamodel/strongmotion.py
Normal file
File diff suppressed because it is too large
Load Diff
@ -12,8 +12,6 @@
|
||||
# Email: herrnkind@gempa.de
|
||||
###############################################################################
|
||||
|
||||
from functools import cmp_to_key
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
from twisted.cred import portal
|
||||
@ -33,7 +31,7 @@ from . import utils
|
||||
|
||||
|
||||
DBMaxUInt = 18446744073709551615 # 2^64 - 1
|
||||
VERSION = "1.0.3"
|
||||
VERSION = "1.0.4"
|
||||
|
||||
|
||||
###############################################################################
|
||||
@ -806,7 +804,7 @@ class FDSNAvailabilityExtent(_Availability):
|
||||
elif ro.orderBy == ro.VOrderByUpdate:
|
||||
lines.sort(
|
||||
key=lambda x: (
|
||||
x[1].updated().seconds(),
|
||||
x[1].updated().epoch(),
|
||||
x[0].waveformID().networkCode(),
|
||||
x[0].waveformID().stationCode(),
|
||||
x[0].waveformID().locationCode(),
|
||||
@ -821,7 +819,7 @@ class FDSNAvailabilityExtent(_Availability):
|
||||
elif ro.orderBy == ro.VOrderByUpdateDesc:
|
||||
lines.sort(
|
||||
key=lambda x: (
|
||||
-x[1].updated().seconds(),
|
||||
-x[1].updated().epoch(),
|
||||
x[0].waveformID().networkCode(),
|
||||
x[0].waveformID().stationCode(),
|
||||
x[0].waveformID().locationCode(),
|
||||
@ -1349,19 +1347,21 @@ class FDSNAvailabilityQuery(_Availability):
|
||||
if ro.time.start.microseconds() == 0:
|
||||
q += f"AND {_T('end')} >= '{db.timeToString(ro.time.start)}' "
|
||||
else:
|
||||
startTimeStr = db.timeToString(ro.time.start)
|
||||
q += (
|
||||
"AND ({0} > '{1}' OR ("
|
||||
f"{_T('end')} = '{db.timeToString(ro.time.start)}' AND "
|
||||
f"AND ({_T('end')} > '{startTimeStr}' OR ("
|
||||
f"{_T('end')} = '{startTimeStr}' AND "
|
||||
f"end_ms >= {ro.time.start.microseconds()})) "
|
||||
)
|
||||
if ro.time.end is not None:
|
||||
if ro.time.end.microseconds() == 0:
|
||||
q += f"AND {_T('start')} < '{db.timeToString(ro.time.end)}' "
|
||||
else:
|
||||
endTimeStr = db.timeToString(ro.time.end)
|
||||
q += (
|
||||
"AND ({0} < '{1}' OR ("
|
||||
f"{_T('start')} = '{db.timeToString(ro.time.end)}' AND "
|
||||
"start_ms < {ro.time.end.microseconds()})) "
|
||||
f"AND ({_T('start')} < '{endTimeStr}' OR ("
|
||||
f"{_T('start')} = '{endTimeStr}' AND "
|
||||
f"start_ms < {ro.time.end.microseconds()})) "
|
||||
)
|
||||
if ro.quality:
|
||||
qualities = "', '".join(ro.quality)
|
||||
|
||||
201
lib/python/seiscomp/fdsnws/jwt.py
Normal file
201
lib/python/seiscomp/fdsnws/jwt.py
Normal file
@ -0,0 +1,201 @@
|
||||
################################################################################
|
||||
# Copyright (C) 2025 GFZ Helmholtz Centre for Geosciences
|
||||
#
|
||||
# JWT-based authentication
|
||||
################################################################################
|
||||
|
||||
import json
|
||||
import jwt
|
||||
import time
|
||||
from twisted.cred.checkers import ICredentialsChecker
|
||||
from twisted.cred.credentials import ICredentials, IAnonymous
|
||||
from twisted.cred.error import LoginFailed
|
||||
from twisted.cred.portal import IRealm, Portal
|
||||
from twisted.web.guard import HTTPAuthSessionWrapper
|
||||
from twisted.web.iweb import ICredentialFactory
|
||||
from twisted.web.resource import IResource
|
||||
from zope.interface import implementer
|
||||
from urllib.request import urlopen
|
||||
from seiscomp import logging
|
||||
|
||||
|
||||
class IBearerToken(ICredentials):
|
||||
"""
|
||||
IBearerToken credentials encapsulate a valid bearer token.
|
||||
|
||||
Parameters:
|
||||
token The bearer token str
|
||||
payload The decoded and valid token payload
|
||||
"""
|
||||
|
||||
|
||||
@implementer(IBearerToken)
|
||||
class JSONWebToken(object):
|
||||
"""The BearerToken credential object that will be passed to a Checker"""
|
||||
|
||||
def __init__(self, token, payload):
|
||||
self.token = token
|
||||
self.payload = payload
|
||||
|
||||
|
||||
@implementer(ICredentialFactory)
|
||||
class _CredentialFactory(object):
|
||||
|
||||
scheme = b"bearer"
|
||||
|
||||
def __init__(self, issuers, audience, algorithms, update_min, update_max):
|
||||
"""
|
||||
issuers list. List of valid issuer URLs
|
||||
audience list. List of valid audiences
|
||||
algorithms list. List of algorithms to check
|
||||
"""
|
||||
self.__issuers = issuers
|
||||
self.__audience = audience
|
||||
self.__algorithms = algorithms
|
||||
self.__update_min = update_min
|
||||
self.__update_max = update_max
|
||||
self.__keys = {}
|
||||
|
||||
for iss in issuers:
|
||||
self.__keys[iss] = (0, {})
|
||||
|
||||
def __update_keys(self, iss):
|
||||
isscfg = json.loads(urlopen(iss.rstrip('/') + '/.well-known/openid-configuration').read())
|
||||
aux = json.loads(urlopen(isscfg["jwks_uri"]).read())
|
||||
keys = {}
|
||||
|
||||
for k in aux['keys']:
|
||||
logging.notice(f"received JWT signing key {k['kid']} from issuer {iss}")
|
||||
keys[k['kid']] = jwt.PyJWK.from_dict(k)
|
||||
|
||||
self.__keys[iss] = (time.time(), keys)
|
||||
return keys
|
||||
|
||||
def __get_signing_key_from_jwt(self, tok):
|
||||
rawtoken = jwt.api_jwt.decode_complete(tok, options={"verify_signature": False})
|
||||
iss = rawtoken["payload"]["iss"]
|
||||
|
||||
try:
|
||||
t, keys = self.__keys[iss]
|
||||
|
||||
except KeyError:
|
||||
raise Exception("No matching keys")
|
||||
|
||||
kid = rawtoken["header"]["kid"]
|
||||
|
||||
if t < time.time() - self.__update_max or \
|
||||
(kid not in keys and t < time.time() - self.__update_min):
|
||||
keys = self.__update_keys(iss)
|
||||
|
||||
try:
|
||||
return keys[kid]
|
||||
|
||||
except KeyError:
|
||||
raise Exception("No matching keys")
|
||||
|
||||
@staticmethod
|
||||
def getChallenge(request):
|
||||
"""
|
||||
Generate the challenge for use in the WWW-Authenticate header
|
||||
|
||||
@param request: The L{twisted.web.http.Request}
|
||||
|
||||
@return: The C{dict} that can be used to generate a WWW-Authenticate
|
||||
header.
|
||||
"""
|
||||
if hasattr(request, "_jwt_error"):
|
||||
return {"error": "invalid_token", "error_description": request._jwt_error}
|
||||
|
||||
return {}
|
||||
|
||||
def decode(self, response, request):
|
||||
"""Returns JSONWebToken (Credentials)
|
||||
|
||||
Create a JSONWebToken object from the given authentication_str.
|
||||
|
||||
response str. The bearer str minus the scheme
|
||||
request obj. The request being processed
|
||||
"""
|
||||
try:
|
||||
signing_key = self.__get_signing_key_from_jwt(response)
|
||||
payload = jwt.decode(
|
||||
response,
|
||||
signing_key.key,
|
||||
audience=self.__audience,
|
||||
algorithms=self.__algorithms,
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
request._jwt_error = str(e)
|
||||
raise LoginFailed(request._jwt_error)
|
||||
|
||||
if not payload:
|
||||
request._jwt_error = "No matching keys"
|
||||
raise LoginFailed(request._jwt_error)
|
||||
|
||||
# compatibility with legacy EIDA token
|
||||
if "email" in payload and not "mail" in payload:
|
||||
payload["mail"] = payload["email"]
|
||||
|
||||
payload["blacklisted"] = False
|
||||
|
||||
return JSONWebToken(token=response, payload=payload)
|
||||
|
||||
|
||||
@implementer(ICredentialsChecker)
|
||||
class _CredentialsChecker(object):
|
||||
|
||||
credentialInterfaces = [IBearerToken, IAnonymous]
|
||||
|
||||
def requestAvatarId(self, credentials):
|
||||
"""
|
||||
Portal will call this method if a BearerToken credential is provided.
|
||||
|
||||
Check the given credentials and return a suitable user identifier if
|
||||
they are valid.
|
||||
|
||||
credentials JSONWebToken. A IBearerToken object containing a decoded token
|
||||
"""
|
||||
if IBearerToken.providedBy(credentials):
|
||||
# Avatar ID is the full token payload
|
||||
return credentials.payload
|
||||
|
||||
if IAnonymous.providedBy(credentials):
|
||||
# Anonymous user
|
||||
return None
|
||||
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
@implementer(IRealm)
|
||||
class _Realm(object):
|
||||
# ---------------------------------------------------------------------------
|
||||
def __init__(self, service, args, kwargs):
|
||||
self.__service = service
|
||||
self.__args = args
|
||||
self.__kwargs = kwargs
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def requestAvatar(self, avatarId, mind, *interfaces):
|
||||
if IResource in interfaces:
|
||||
return (
|
||||
IResource,
|
||||
self.__service(
|
||||
*self.__args,
|
||||
**self.__kwargs,
|
||||
user=avatarId,
|
||||
),
|
||||
lambda: None,
|
||||
)
|
||||
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
class JWT(object):
|
||||
def __init__(self, issuers, audience, algorithms, update_min, update_max):
|
||||
self.__cf = _CredentialFactory(issuers, audience, algorithms, update_min, update_max)
|
||||
|
||||
def getAuthSessionWrapper(self, service, *args, **kwargs):
|
||||
realm = _Realm(service, args, kwargs)
|
||||
portal = Portal(realm, [_CredentialsChecker()])
|
||||
return HTTPAuthSessionWrapper(portal, [self.__cf])
|
||||
@ -52,8 +52,10 @@ class Tracker:
|
||||
self.__data["userLocation"]["country"] = geoip.country_code_by_addr(userIP)
|
||||
|
||||
if (
|
||||
userName and userName.lower().endswith("@gfz-potsdam.de")
|
||||
) or userIP.startswith("139.17."):
|
||||
(userName and userName.lower().endswith("@gfz-potsdam.de"))
|
||||
or (userName and userName.lower().endswith("@gfz.de"))
|
||||
or userIP.startswith("139.17.")
|
||||
):
|
||||
self.__data["userLocation"]["institution"] = "GFZ"
|
||||
|
||||
# pylint: disable=W0613
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
"""Codes for working with geo features (e.g. polygons)"""
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _geo
|
||||
@ -31,10 +28,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _geo:
|
||||
_geo.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
import seiscomp.math
|
||||
import seiscomp.core
|
||||
class GeoCoordinate(object):
|
||||
@ -194,27 +190,6 @@ class GeoCoordinate(object):
|
||||
# Register GeoCoordinate in _geo:
|
||||
_geo.GeoCoordinate_swigregister(GeoCoordinate)
|
||||
|
||||
def GeoCoordinate_width(lon0, lon1):
|
||||
r"""GeoCoordinate_width(Seiscomp::Geo::GeoCoordinate::ValueType lon0, Seiscomp::Geo::GeoCoordinate::ValueType lon1) -> Seiscomp::Geo::GeoCoordinate::ValueType"""
|
||||
return _geo.GeoCoordinate_width(lon0, lon1)
|
||||
|
||||
def GeoCoordinate_normalizeLat(lat):
|
||||
r"""GeoCoordinate_normalizeLat(Seiscomp::Geo::GeoCoordinate::ValueType lat) -> Seiscomp::Geo::GeoCoordinate::ValueType"""
|
||||
return _geo.GeoCoordinate_normalizeLat(lat)
|
||||
|
||||
def GeoCoordinate_normalizeLon(lon):
|
||||
r"""GeoCoordinate_normalizeLon(Seiscomp::Geo::GeoCoordinate::ValueType lon) -> Seiscomp::Geo::GeoCoordinate::ValueType"""
|
||||
return _geo.GeoCoordinate_normalizeLon(lon)
|
||||
|
||||
def GeoCoordinate_normalizeLatLon(lat, lon):
|
||||
r"""GeoCoordinate_normalizeLatLon(Seiscomp::Geo::GeoCoordinate::ValueType & lat, Seiscomp::Geo::GeoCoordinate::ValueType & lon)"""
|
||||
return _geo.GeoCoordinate_normalizeLatLon(lat, lon)
|
||||
|
||||
def GeoCoordinate_distanceLon(lon0, lon1):
|
||||
r"""GeoCoordinate_distanceLon(Seiscomp::Geo::GeoCoordinate::ValueType lon0, Seiscomp::Geo::GeoCoordinate::ValueType lon1) -> Seiscomp::Geo::GeoCoordinate::ValueType"""
|
||||
return _geo.GeoCoordinate_distanceLon(lon0, lon1)
|
||||
|
||||
|
||||
def contains(*args):
|
||||
r"""
|
||||
contains(GeoCoordinate v, GeoCoordinate polygon, size_t sides) -> bool
|
||||
@ -239,7 +214,6 @@ class formatted_lat(object):
|
||||
|
||||
# Register formatted_lat in _geo:
|
||||
_geo.formatted_lat_swigregister(formatted_lat)
|
||||
|
||||
class formatted_lon(object):
|
||||
r"""Proxy of C++ Seiscomp::Geo::formatted_lon class."""
|
||||
|
||||
@ -254,7 +228,6 @@ class formatted_lon(object):
|
||||
|
||||
# Register formatted_lon in _geo:
|
||||
_geo.formatted_lon_swigregister(formatted_lon)
|
||||
|
||||
class GeoBoundingBox(object):
|
||||
r"""Proxy of C++ Seiscomp::Geo::GeoBoundingBox class."""
|
||||
|
||||
@ -357,24 +330,8 @@ class GeoBoundingBox(object):
|
||||
|
||||
# Register GeoBoundingBox in _geo:
|
||||
_geo.GeoBoundingBox_swigregister(GeoBoundingBox)
|
||||
|
||||
def GeoBoundingBox_crossesDateLine(*args):
|
||||
r"""
|
||||
GeoBoundingBox_crossesDateLine() -> bool
|
||||
GeoBoundingBox_crossesDateLine(Seiscomp::Geo::GeoBoundingBox::ValueType east, Seiscomp::Geo::GeoBoundingBox::ValueType west) -> bool
|
||||
"""
|
||||
return _geo.GeoBoundingBox_crossesDateLine(*args)
|
||||
cvar = _geo.cvar
|
||||
|
||||
|
||||
def __lshift__(*args):
|
||||
r"""
|
||||
__lshift__(std::ostream & os, GeoCoordinate arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, formatted_lat arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, formatted_lon arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, GeoBoundingBox box) -> std::ostream &
|
||||
"""
|
||||
return _geo.__lshift__(*args)
|
||||
class Category(object):
|
||||
r"""Proxy of C++ Seiscomp::Geo::Category class."""
|
||||
|
||||
@ -393,7 +350,6 @@ class Category(object):
|
||||
|
||||
# Register Category in _geo:
|
||||
_geo.Category_swigregister(Category)
|
||||
|
||||
class GeoFeature(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Geo::GeoFeature class."""
|
||||
|
||||
@ -403,12 +359,20 @@ class GeoFeature(seiscomp.core.BaseObject):
|
||||
def __init__(self, *args):
|
||||
r"""
|
||||
__init__(GeoFeature self, Category category=None, unsigned int rank=1) -> GeoFeature
|
||||
__init__(GeoFeature self, std::string const & name, Category category, unsigned int rank) -> GeoFeature
|
||||
__init__(GeoFeature self, std::string const & name, Category category, unsigned int rank, Seiscomp::Geo::GeoFeature::Attributes const & attributes) -> GeoFeature
|
||||
__init__(GeoFeature self, std::string name, Category category, unsigned int rank) -> GeoFeature
|
||||
__init__(GeoFeature self, std::string name, Category category, unsigned int rank, Seiscomp::Geo::GeoFeature::Attributes attributes) -> GeoFeature
|
||||
"""
|
||||
_geo.GeoFeature_swiginit(self, _geo.new_GeoFeature(*args))
|
||||
__swig_destroy__ = _geo.delete_GeoFeature
|
||||
|
||||
def __eq__(self, other):
|
||||
r"""__eq__(GeoFeature self, GeoFeature other) -> bool"""
|
||||
return _geo.GeoFeature___eq__(self, other)
|
||||
|
||||
def __ne__(self, other):
|
||||
r"""__ne__(GeoFeature self, GeoFeature other) -> bool"""
|
||||
return _geo.GeoFeature___ne__(self, other)
|
||||
|
||||
def setName(self, name):
|
||||
r"""setName(GeoFeature self, std::string const & name)"""
|
||||
return _geo.GeoFeature_setName(self, name)
|
||||
@ -498,14 +462,6 @@ class GeoFeature(seiscomp.core.BaseObject):
|
||||
|
||||
# Register GeoFeature in _geo:
|
||||
_geo.GeoFeature_swigregister(GeoFeature)
|
||||
|
||||
def GeoFeature_area(*args):
|
||||
r"""
|
||||
GeoFeature_area() -> double
|
||||
GeoFeature_area(GeoCoordinate polygon, size_t sides) -> double
|
||||
"""
|
||||
return _geo.GeoFeature_area(*args)
|
||||
|
||||
class GeoFeatureSetObserver(object):
|
||||
r"""Proxy of C++ Seiscomp::Geo::GeoFeatureSetObserver class."""
|
||||
|
||||
@ -522,7 +478,6 @@ class GeoFeatureSetObserver(object):
|
||||
|
||||
# Register GeoFeatureSetObserver in _geo:
|
||||
_geo.GeoFeatureSetObserver_swigregister(GeoFeatureSetObserver)
|
||||
|
||||
class GeoFeatureSet(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Geo::GeoFeatureSet class."""
|
||||
|
||||
@ -542,6 +497,14 @@ class GeoFeatureSet(seiscomp.core.BaseObject):
|
||||
r"""unregisterObserver(GeoFeatureSet self, GeoFeatureSetObserver arg2) -> bool"""
|
||||
return _geo.GeoFeatureSet_unregisterObserver(self, arg2)
|
||||
|
||||
def __eq__(self, other):
|
||||
r"""__eq__(GeoFeatureSet self, GeoFeatureSet other) -> bool"""
|
||||
return _geo.GeoFeatureSet___eq__(self, other)
|
||||
|
||||
def __ne__(self, other):
|
||||
r"""__ne__(GeoFeatureSet self, GeoFeatureSet other) -> bool"""
|
||||
return _geo.GeoFeatureSet___ne__(self, other)
|
||||
|
||||
def clear(self):
|
||||
r"""clear(GeoFeatureSet self)"""
|
||||
return _geo.GeoFeatureSet_clear(self)
|
||||
@ -581,6 +544,16 @@ class GeoFeatureSet(seiscomp.core.BaseObject):
|
||||
# Register GeoFeatureSet in _geo:
|
||||
_geo.GeoFeatureSet_swigregister(GeoFeatureSet)
|
||||
|
||||
def __lshift__(*args):
|
||||
r"""
|
||||
__lshift__(std::ostream & os, GeoCoordinate arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, formatted_lat arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, formatted_lon arg2) -> std::ostream
|
||||
__lshift__(std::ostream & os, GeoBoundingBox box) -> std::ostream
|
||||
__lshift__(std::ostream & os, GeoFeature gf) -> std::ostream
|
||||
__lshift__(std::ostream & os, GeoFeatureSet gfs) -> std::ostream &
|
||||
"""
|
||||
return _geo.__lshift__(*args)
|
||||
class GeoFeatureSetSingleton(object):
|
||||
r"""Proxy of C++ Seiscomp::Geo::GeoFeatureSetSingleton class."""
|
||||
|
||||
@ -598,11 +571,6 @@ class GeoFeatureSetSingleton(object):
|
||||
|
||||
# Register GeoFeatureSetSingleton in _geo:
|
||||
_geo.GeoFeatureSetSingleton_swigregister(GeoFeatureSetSingleton)
|
||||
|
||||
def GeoFeatureSetSingleton_getInstance():
|
||||
r"""GeoFeatureSetSingleton_getInstance() -> GeoFeatureSet"""
|
||||
return _geo.GeoFeatureSetSingleton_getInstance()
|
||||
|
||||
class Categories(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Geo::Category * > class."""
|
||||
|
||||
@ -645,21 +613,21 @@ class Categories(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(Categories self, std::vector< Seiscomp::Geo::Category * >::difference_type i)
|
||||
__delitem__(Categories self, PySliceObject * slice)
|
||||
__delitem__(Categories self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _geo.Categories___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(Categories self, PySliceObject * slice) -> Categories
|
||||
__getitem__(Categories self, SWIGPY_SLICEOBJECT * slice) -> Categories
|
||||
__getitem__(Categories self, std::vector< Seiscomp::Geo::Category * >::difference_type i) -> Category
|
||||
"""
|
||||
return _geo.Categories___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(Categories self, PySliceObject * slice, Categories v)
|
||||
__setitem__(Categories self, PySliceObject * slice)
|
||||
__setitem__(Categories self, SWIGPY_SLICEOBJECT * slice, Categories v)
|
||||
__setitem__(Categories self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(Categories self, std::vector< Seiscomp::Geo::Category * >::difference_type i, Category x)
|
||||
"""
|
||||
return _geo.Categories___setitem__(self, *args)
|
||||
@ -769,7 +737,6 @@ class Categories(object):
|
||||
|
||||
# Register Categories in _geo:
|
||||
_geo.Categories_swigregister(Categories)
|
||||
|
||||
class GeoFeatures(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Geo::GeoFeature * > class."""
|
||||
|
||||
@ -812,21 +779,21 @@ class GeoFeatures(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(GeoFeatures self, std::vector< Seiscomp::Geo::GeoFeature * >::difference_type i)
|
||||
__delitem__(GeoFeatures self, PySliceObject * slice)
|
||||
__delitem__(GeoFeatures self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _geo.GeoFeatures___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(GeoFeatures self, PySliceObject * slice) -> GeoFeatures
|
||||
__getitem__(GeoFeatures self, SWIGPY_SLICEOBJECT * slice) -> GeoFeatures
|
||||
__getitem__(GeoFeatures self, std::vector< Seiscomp::Geo::GeoFeature * >::difference_type i) -> GeoFeature
|
||||
"""
|
||||
return _geo.GeoFeatures___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(GeoFeatures self, PySliceObject * slice, GeoFeatures v)
|
||||
__setitem__(GeoFeatures self, PySliceObject * slice)
|
||||
__setitem__(GeoFeatures self, SWIGPY_SLICEOBJECT * slice, GeoFeatures v)
|
||||
__setitem__(GeoFeatures self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(GeoFeatures self, std::vector< Seiscomp::Geo::GeoFeature * >::difference_type i, GeoFeature x)
|
||||
"""
|
||||
return _geo.GeoFeatures___setitem__(self, *args)
|
||||
@ -936,7 +903,6 @@ class GeoFeatures(object):
|
||||
|
||||
# Register GeoFeatures in _geo:
|
||||
_geo.GeoFeatures_swigregister(GeoFeatures)
|
||||
|
||||
class Vertices(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Geo::GeoCoordinate > class."""
|
||||
|
||||
@ -979,21 +945,21 @@ class Vertices(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(Vertices self, std::vector< Seiscomp::Geo::GeoCoordinate >::difference_type i)
|
||||
__delitem__(Vertices self, PySliceObject * slice)
|
||||
__delitem__(Vertices self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _geo.Vertices___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(Vertices self, PySliceObject * slice) -> Vertices
|
||||
__getitem__(Vertices self, SWIGPY_SLICEOBJECT * slice) -> Vertices
|
||||
__getitem__(Vertices self, std::vector< Seiscomp::Geo::GeoCoordinate >::difference_type i) -> GeoCoordinate
|
||||
"""
|
||||
return _geo.Vertices___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(Vertices self, PySliceObject * slice, Vertices v)
|
||||
__setitem__(Vertices self, PySliceObject * slice)
|
||||
__setitem__(Vertices self, SWIGPY_SLICEOBJECT * slice, Vertices v)
|
||||
__setitem__(Vertices self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(Vertices self, std::vector< Seiscomp::Geo::GeoCoordinate >::difference_type i, GeoCoordinate x)
|
||||
"""
|
||||
return _geo.Vertices___setitem__(self, *args)
|
||||
@ -1103,7 +1069,6 @@ class Vertices(object):
|
||||
|
||||
# Register Vertices in _geo:
|
||||
_geo.Vertices_swigregister(Vertices)
|
||||
|
||||
class Indexes(object):
|
||||
r"""Proxy of C++ std::vector< size_t > class."""
|
||||
|
||||
@ -1146,21 +1111,21 @@ class Indexes(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(Indexes self, std::vector< size_t >::difference_type i)
|
||||
__delitem__(Indexes self, PySliceObject * slice)
|
||||
__delitem__(Indexes self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _geo.Indexes___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(Indexes self, PySliceObject * slice) -> Indexes
|
||||
__getitem__(Indexes self, SWIGPY_SLICEOBJECT * slice) -> Indexes
|
||||
__getitem__(Indexes self, std::vector< size_t >::difference_type i) -> std::vector< size_t >::value_type const &
|
||||
"""
|
||||
return _geo.Indexes___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(Indexes self, PySliceObject * slice, Indexes v)
|
||||
__setitem__(Indexes self, PySliceObject * slice)
|
||||
__setitem__(Indexes self, SWIGPY_SLICEOBJECT * slice, Indexes v)
|
||||
__setitem__(Indexes self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(Indexes self, std::vector< size_t >::difference_type i, std::vector< size_t >::value_type const & x)
|
||||
"""
|
||||
return _geo.Indexes___setitem__(self, *args)
|
||||
@ -1271,5 +1236,3 @@ class Indexes(object):
|
||||
# Register Indexes in _geo:
|
||||
_geo.Indexes_swigregister(Indexes)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _io
|
||||
@ -29,10 +26,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _io:
|
||||
_io.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
class ios_base(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -208,12 +204,6 @@ ios_base.beg = _io.cvar.ios_base_beg
|
||||
ios_base.cur = _io.cvar.ios_base_cur
|
||||
ios_base.end = _io.cvar.ios_base_end
|
||||
|
||||
def ios_base_sync_with_stdio(__sync=True):
|
||||
return _io.ios_base_sync_with_stdio(__sync)
|
||||
|
||||
def ios_base_xalloc():
|
||||
return _io.ios_base_xalloc()
|
||||
|
||||
class ios(ios_base):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -269,7 +259,6 @@ class ios(ios_base):
|
||||
|
||||
# Register ios in _io:
|
||||
_io.ios_swigregister(ios)
|
||||
|
||||
import seiscomp.math
|
||||
import seiscomp.core
|
||||
class DatabaseInterface(seiscomp.core.BaseObject):
|
||||
@ -314,6 +303,22 @@ class DatabaseInterface(seiscomp.core.BaseObject):
|
||||
ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> DatabaseInterface
|
||||
"""
|
||||
return _io.DatabaseInterface_ConstCast(*args)
|
||||
MySQL = _io.DatabaseInterface_MySQL
|
||||
|
||||
PostgreSQL = _io.DatabaseInterface_PostgreSQL
|
||||
|
||||
SQLite3 = _io.DatabaseInterface_SQLite3
|
||||
|
||||
MSSQL = _io.DatabaseInterface_MSSQL
|
||||
|
||||
Oracle = _io.DatabaseInterface_Oracle
|
||||
|
||||
ODBC = _io.DatabaseInterface_ODBC
|
||||
|
||||
Unknown = _io.DatabaseInterface_Unknown
|
||||
|
||||
EBackendQuantity = _io.DatabaseInterface_EBackendQuantity
|
||||
|
||||
__swig_destroy__ = _io.delete_DatabaseInterface
|
||||
|
||||
@staticmethod
|
||||
@ -326,6 +331,10 @@ class DatabaseInterface(seiscomp.core.BaseObject):
|
||||
r"""Open(char const * uri) -> DatabaseInterface"""
|
||||
return _io.DatabaseInterface_Open(uri)
|
||||
|
||||
def backend(self):
|
||||
r"""backend(DatabaseInterface self) -> Seiscomp::IO::DatabaseInterface::Backend"""
|
||||
return _io.DatabaseInterface_backend(self)
|
||||
|
||||
def connect(self, connection):
|
||||
r"""connect(DatabaseInterface self, char const * connection) -> bool"""
|
||||
return _io.DatabaseInterface_connect(self, connection)
|
||||
@ -424,38 +433,8 @@ class DatabaseInterface(seiscomp.core.BaseObject):
|
||||
|
||||
# Register DatabaseInterface in _io:
|
||||
_io.DatabaseInterface_swigregister(DatabaseInterface)
|
||||
|
||||
def DatabaseInterface_ClassName():
|
||||
r"""DatabaseInterface_ClassName() -> char const *"""
|
||||
return _io.DatabaseInterface_ClassName()
|
||||
|
||||
def DatabaseInterface_TypeInfo():
|
||||
r"""DatabaseInterface_TypeInfo() -> RTTI"""
|
||||
return _io.DatabaseInterface_TypeInfo()
|
||||
|
||||
def DatabaseInterface_Cast(*args):
|
||||
r"""
|
||||
DatabaseInterface_Cast(BaseObject o) -> DatabaseInterface
|
||||
DatabaseInterface_Cast(Seiscomp::Core::BaseObjectPtr o) -> DatabaseInterface
|
||||
"""
|
||||
return _io.DatabaseInterface_Cast(*args)
|
||||
|
||||
def DatabaseInterface_ConstCast(*args):
|
||||
r"""
|
||||
DatabaseInterface_ConstCast(BaseObject o) -> DatabaseInterface
|
||||
DatabaseInterface_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> DatabaseInterface
|
||||
"""
|
||||
return _io.DatabaseInterface_ConstCast(*args)
|
||||
DatabaseInterface.INVALID_OID = _io.cvar.DatabaseInterface_INVALID_OID
|
||||
|
||||
def DatabaseInterface_Create(service):
|
||||
r"""DatabaseInterface_Create(char const * service) -> DatabaseInterface"""
|
||||
return _io.DatabaseInterface_Create(service)
|
||||
|
||||
def DatabaseInterface_Open(uri):
|
||||
r"""DatabaseInterface_Open(char const * uri) -> DatabaseInterface"""
|
||||
return _io.DatabaseInterface_Open(uri)
|
||||
|
||||
class GFSource(seiscomp.math.CoordD):
|
||||
r"""Proxy of C++ Seiscomp::IO::GFSource class."""
|
||||
|
||||
@ -470,7 +449,6 @@ class GFSource(seiscomp.math.CoordD):
|
||||
|
||||
# Register GFSource in _io:
|
||||
_io.GFSource_swigregister(GFSource)
|
||||
|
||||
class GFReceiver(seiscomp.math.CoordD):
|
||||
r"""Proxy of C++ Seiscomp::IO::GFReceiver class."""
|
||||
|
||||
@ -485,7 +463,6 @@ class GFReceiver(seiscomp.math.CoordD):
|
||||
|
||||
# Register GFReceiver in _io:
|
||||
_io.GFReceiver_swigregister(GFReceiver)
|
||||
|
||||
class GFArchive(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::IO::GFArchive class."""
|
||||
|
||||
@ -562,7 +539,7 @@ class GFArchive(seiscomp.core.BaseObject):
|
||||
return _io.GFArchive_get(self)
|
||||
|
||||
def getTravelTime(self, phase, model, source, receiver):
|
||||
r"""getTravelTime(GFArchive self, string phase, string model, GFSource source, GFReceiver receiver) -> Seiscomp::Core::Optional< double >::Impl"""
|
||||
r"""getTravelTime(GFArchive self, string phase, string model, GFSource source, GFReceiver receiver) -> Seiscomp::Core::Optional< double >"""
|
||||
return _io.GFArchive_getTravelTime(self, phase, model, source, receiver)
|
||||
|
||||
def hasLocalTravelTimes(self):
|
||||
@ -581,37 +558,6 @@ class GFArchive(seiscomp.core.BaseObject):
|
||||
|
||||
# Register GFArchive in _io:
|
||||
_io.GFArchive_swigregister(GFArchive)
|
||||
|
||||
def GFArchive_ClassName():
|
||||
r"""GFArchive_ClassName() -> char const *"""
|
||||
return _io.GFArchive_ClassName()
|
||||
|
||||
def GFArchive_TypeInfo():
|
||||
r"""GFArchive_TypeInfo() -> RTTI"""
|
||||
return _io.GFArchive_TypeInfo()
|
||||
|
||||
def GFArchive_Cast(*args):
|
||||
r"""
|
||||
GFArchive_Cast(BaseObject o) -> GFArchive
|
||||
GFArchive_Cast(Seiscomp::Core::BaseObjectPtr o) -> GFArchive
|
||||
"""
|
||||
return _io.GFArchive_Cast(*args)
|
||||
|
||||
def GFArchive_ConstCast(*args):
|
||||
r"""
|
||||
GFArchive_ConstCast(BaseObject o) -> GFArchive
|
||||
GFArchive_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> GFArchive
|
||||
"""
|
||||
return _io.GFArchive_ConstCast(*args)
|
||||
|
||||
def GFArchive_Create(service):
|
||||
r"""GFArchive_Create(char const * service) -> GFArchive"""
|
||||
return _io.GFArchive_Create(service)
|
||||
|
||||
def GFArchive_Open(url):
|
||||
r"""GFArchive_Open(char const * url) -> GFArchive"""
|
||||
return _io.GFArchive_Open(url)
|
||||
|
||||
class RecordStream(object):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordStream class."""
|
||||
|
||||
@ -667,16 +613,16 @@ class RecordStream(object):
|
||||
def addStream(self, *args):
|
||||
r"""
|
||||
addStream(RecordStream self, string networkCode, string stationCode, string locationCode, string channelCode) -> bool
|
||||
addStream(RecordStream self, string networkCode, string stationCode, string locationCode, string channelCode, Time startTime, Time endTime) -> bool
|
||||
addStream(RecordStream self, string networkCode, string stationCode, string locationCode, string channelCode, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool
|
||||
"""
|
||||
return _io.RecordStream_addStream(self, *args)
|
||||
|
||||
def setStartTime(self, startTime):
|
||||
r"""setStartTime(RecordStream self, Time startTime) -> bool"""
|
||||
r"""setStartTime(RecordStream self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime) -> bool"""
|
||||
return _io.RecordStream_setStartTime(self, startTime)
|
||||
|
||||
def setEndTime(self, endTime):
|
||||
r"""setEndTime(RecordStream self, Time endTime) -> bool"""
|
||||
r"""setEndTime(RecordStream self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool"""
|
||||
return _io.RecordStream_setEndTime(self, endTime)
|
||||
|
||||
def setTimeWindow(self, timeWindow):
|
||||
@ -715,37 +661,6 @@ class RecordStream(object):
|
||||
|
||||
# Register RecordStream in _io:
|
||||
_io.RecordStream_swigregister(RecordStream)
|
||||
|
||||
def RecordStream_ClassName():
|
||||
r"""RecordStream_ClassName() -> char const *"""
|
||||
return _io.RecordStream_ClassName()
|
||||
|
||||
def RecordStream_TypeInfo():
|
||||
r"""RecordStream_TypeInfo() -> RTTI"""
|
||||
return _io.RecordStream_TypeInfo()
|
||||
|
||||
def RecordStream_Cast(*args):
|
||||
r"""
|
||||
RecordStream_Cast(BaseObject o) -> RecordStream
|
||||
RecordStream_Cast(Seiscomp::Core::BaseObjectPtr o) -> RecordStream
|
||||
"""
|
||||
return _io.RecordStream_Cast(*args)
|
||||
|
||||
def RecordStream_ConstCast(*args):
|
||||
r"""
|
||||
RecordStream_ConstCast(BaseObject o) -> RecordStream
|
||||
RecordStream_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> RecordStream
|
||||
"""
|
||||
return _io.RecordStream_ConstCast(*args)
|
||||
|
||||
def RecordStream_Create(service):
|
||||
r"""RecordStream_Create(char const * service) -> RecordStream"""
|
||||
return _io.RecordStream_Create(service)
|
||||
|
||||
def RecordStream_Open(url):
|
||||
r"""RecordStream_Open(char const * url) -> RecordStream"""
|
||||
return _io.RecordStream_Open(url)
|
||||
|
||||
class RecordIterator(object):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordIterator class."""
|
||||
|
||||
@ -782,7 +697,6 @@ class RecordIterator(object):
|
||||
|
||||
# Register RecordIterator in _io:
|
||||
_io.RecordIterator_swigregister(RecordIterator)
|
||||
|
||||
class RecordInput(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordInput class."""
|
||||
|
||||
@ -826,7 +740,6 @@ class RecordInput(seiscomp.core.BaseObject):
|
||||
|
||||
# Register RecordInput in _io:
|
||||
_io.RecordInput_swigregister(RecordInput)
|
||||
|
||||
class RecordFilterInterface(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordFilterInterface class."""
|
||||
|
||||
@ -855,7 +768,6 @@ class RecordFilterInterface(seiscomp.core.BaseObject):
|
||||
|
||||
# Register RecordFilterInterface in _io:
|
||||
_io.RecordFilterInterface_swigregister(RecordFilterInterface)
|
||||
|
||||
class PipeFilter(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::PipeFilter class."""
|
||||
|
||||
@ -885,7 +797,6 @@ class PipeFilter(RecordFilterInterface):
|
||||
|
||||
# Register PipeFilter in _io:
|
||||
_io.PipeFilter_swigregister(PipeFilter)
|
||||
|
||||
class Cropper(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::Cropper class."""
|
||||
|
||||
@ -927,7 +838,6 @@ class Cropper(RecordFilterInterface):
|
||||
|
||||
# Register Cropper in _io:
|
||||
_io.Cropper_swigregister(Cropper)
|
||||
|
||||
class RecordDemuxFilter(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordDemuxFilter class."""
|
||||
|
||||
@ -961,7 +871,61 @@ class RecordDemuxFilter(RecordFilterInterface):
|
||||
|
||||
# Register RecordDemuxFilter in _io:
|
||||
_io.RecordDemuxFilter_swigregister(RecordDemuxFilter)
|
||||
class MSeedEncoder(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::MSeedEncoder class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def __init__(self):
|
||||
r"""__init__(MSeedEncoder self) -> MSeedEncoder"""
|
||||
_io.MSeedEncoder_swiginit(self, _io.new_MSeedEncoder())
|
||||
|
||||
def setRecordSize(self, size):
|
||||
r"""setRecordSize(MSeedEncoder self, int size) -> bool"""
|
||||
return _io.MSeedEncoder_setRecordSize(self, size)
|
||||
|
||||
def setIdentity(self):
|
||||
r"""setIdentity(MSeedEncoder self)"""
|
||||
return _io.MSeedEncoder_setIdentity(self)
|
||||
|
||||
def setSteim1(self):
|
||||
r"""setSteim1(MSeedEncoder self)"""
|
||||
return _io.MSeedEncoder_setSteim1(self)
|
||||
|
||||
def setSteim2(self):
|
||||
r"""setSteim2(MSeedEncoder self)"""
|
||||
return _io.MSeedEncoder_setSteim2(self)
|
||||
|
||||
def allowFloatingPointCompression(self, f):
|
||||
r"""allowFloatingPointCompression(MSeedEncoder self, bool f)"""
|
||||
return _io.MSeedEncoder_allowFloatingPointCompression(self, f)
|
||||
|
||||
def feed(self, rec):
|
||||
r"""feed(MSeedEncoder self, Record rec) -> Record"""
|
||||
return _io.MSeedEncoder_feed(self, rec)
|
||||
|
||||
def flush(self):
|
||||
r"""flush(MSeedEncoder self) -> Record"""
|
||||
return _io.MSeedEncoder_flush(self)
|
||||
|
||||
def reset(self):
|
||||
r"""reset(MSeedEncoder self)"""
|
||||
return _io.MSeedEncoder_reset(self)
|
||||
|
||||
def clone(self):
|
||||
r"""clone(MSeedEncoder self) -> RecordFilterInterface"""
|
||||
return _io.MSeedEncoder_clone(self)
|
||||
Identity = _io.MSeedEncoder_Identity
|
||||
|
||||
Steim1 = _io.MSeedEncoder_Steim1
|
||||
|
||||
Steim2 = _io.MSeedEncoder_Steim2
|
||||
|
||||
__swig_destroy__ = _io.delete_MSeedEncoder
|
||||
|
||||
# Register MSeedEncoder in _io:
|
||||
_io.MSeedEncoder_swigregister(MSeedEncoder)
|
||||
class RecordResamplerBase(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordResamplerBase class."""
|
||||
|
||||
@ -981,7 +945,6 @@ class RecordResamplerBase(RecordFilterInterface):
|
||||
|
||||
# Register RecordResamplerBase in _io:
|
||||
_io.RecordResamplerBase_swigregister(RecordResamplerBase)
|
||||
|
||||
class RecordStreamException(seiscomp.core.StreamException):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordStreamException class."""
|
||||
|
||||
@ -998,7 +961,6 @@ class RecordStreamException(seiscomp.core.StreamException):
|
||||
|
||||
# Register RecordStreamException in _io:
|
||||
_io.RecordStreamException_swigregister(RecordStreamException)
|
||||
|
||||
class RecordStreamTimeout(RecordStreamException):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordStreamTimeout class."""
|
||||
|
||||
@ -1015,7 +977,6 @@ class RecordStreamTimeout(RecordStreamException):
|
||||
|
||||
# Register RecordStreamTimeout in _io:
|
||||
_io.RecordStreamTimeout_swigregister(RecordStreamTimeout)
|
||||
|
||||
class Importer(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::IO::Importer class."""
|
||||
|
||||
@ -1078,33 +1039,6 @@ class Importer(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Importer in _io:
|
||||
_io.Importer_swigregister(Importer)
|
||||
|
||||
def Importer_ClassName():
|
||||
r"""Importer_ClassName() -> char const *"""
|
||||
return _io.Importer_ClassName()
|
||||
|
||||
def Importer_TypeInfo():
|
||||
r"""Importer_TypeInfo() -> RTTI"""
|
||||
return _io.Importer_TypeInfo()
|
||||
|
||||
def Importer_Cast(*args):
|
||||
r"""
|
||||
Importer_Cast(BaseObject o) -> Importer
|
||||
Importer_Cast(Seiscomp::Core::BaseObjectPtr o) -> Importer
|
||||
"""
|
||||
return _io.Importer_Cast(*args)
|
||||
|
||||
def Importer_ConstCast(*args):
|
||||
r"""
|
||||
Importer_ConstCast(BaseObject o) -> Importer
|
||||
Importer_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> Importer
|
||||
"""
|
||||
return _io.Importer_ConstCast(*args)
|
||||
|
||||
def Importer_Create(type):
|
||||
r"""Importer_Create(char const * type) -> Importer"""
|
||||
return _io.Importer_Create(type)
|
||||
|
||||
class ExportSink(object):
|
||||
r"""Proxy of C++ Seiscomp::IO::ExportSink class."""
|
||||
|
||||
@ -1130,7 +1064,6 @@ class ExportSink(object):
|
||||
|
||||
# Register ExportSink in _io:
|
||||
_io.ExportSink_swigregister(ExportSink)
|
||||
|
||||
class Exporter(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::IO::Exporter class."""
|
||||
|
||||
@ -1201,33 +1134,6 @@ class Exporter(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Exporter in _io:
|
||||
_io.Exporter_swigregister(Exporter)
|
||||
|
||||
def Exporter_ClassName():
|
||||
r"""Exporter_ClassName() -> char const *"""
|
||||
return _io.Exporter_ClassName()
|
||||
|
||||
def Exporter_TypeInfo():
|
||||
r"""Exporter_TypeInfo() -> RTTI"""
|
||||
return _io.Exporter_TypeInfo()
|
||||
|
||||
def Exporter_Cast(*args):
|
||||
r"""
|
||||
Exporter_Cast(BaseObject o) -> Exporter
|
||||
Exporter_Cast(Seiscomp::Core::BaseObjectPtr o) -> Exporter
|
||||
"""
|
||||
return _io.Exporter_Cast(*args)
|
||||
|
||||
def Exporter_ConstCast(*args):
|
||||
r"""
|
||||
Exporter_ConstCast(BaseObject o) -> Exporter
|
||||
Exporter_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> Exporter
|
||||
"""
|
||||
return _io.Exporter_ConstCast(*args)
|
||||
|
||||
def Exporter_Create(type):
|
||||
r"""Exporter_Create(char const * type) -> Exporter"""
|
||||
return _io.Exporter_Create(type)
|
||||
|
||||
class XMLArchive(seiscomp.core.GenericArchive):
|
||||
r"""Proxy of C++ Seiscomp::IO::XMLArchive class."""
|
||||
|
||||
@ -1292,6 +1198,10 @@ class XMLArchive(seiscomp.core.GenericArchive):
|
||||
r"""setRootNamespace(XMLArchive self, string name, string uri)"""
|
||||
return _io.XMLArchive_setRootNamespace(self, name, uri)
|
||||
|
||||
def setListDelimiter(self, delimiter):
|
||||
r"""setListDelimiter(XMLArchive self, char delimiter)"""
|
||||
return _io.XMLArchive_setListDelimiter(self, delimiter)
|
||||
|
||||
def read(self, *args):
|
||||
r"""
|
||||
read(XMLArchive self, std::int8_t & value)
|
||||
@ -1346,7 +1256,6 @@ class XMLArchive(seiscomp.core.GenericArchive):
|
||||
|
||||
# Register XMLArchive in _io:
|
||||
_io.XMLArchive_swigregister(XMLArchive)
|
||||
|
||||
class BinaryArchive(seiscomp.core.GenericArchive):
|
||||
r"""Proxy of C++ Seiscomp::IO::BinaryArchive class."""
|
||||
|
||||
@ -1433,7 +1342,6 @@ class BinaryArchive(seiscomp.core.GenericArchive):
|
||||
|
||||
# Register BinaryArchive in _io:
|
||||
_io.BinaryArchive_swigregister(BinaryArchive)
|
||||
|
||||
class VBinaryArchive(BinaryArchive):
|
||||
r"""Proxy of C++ Seiscomp::IO::VBinaryArchive class."""
|
||||
|
||||
@ -1476,7 +1384,6 @@ class VBinaryArchive(BinaryArchive):
|
||||
|
||||
# Register VBinaryArchive in _io:
|
||||
_io.VBinaryArchive_swigregister(VBinaryArchive)
|
||||
|
||||
class LibmseedException(seiscomp.core.StreamException):
|
||||
r"""Proxy of C++ Seiscomp::IO::LibmseedException class."""
|
||||
|
||||
@ -1493,7 +1400,6 @@ class LibmseedException(seiscomp.core.StreamException):
|
||||
|
||||
# Register LibmseedException in _io:
|
||||
_io.LibmseedException_swigregister(LibmseedException)
|
||||
|
||||
class MSeedRecord(seiscomp.core.Record):
|
||||
r"""Proxy of C++ Seiscomp::IO::MSeedRecord class."""
|
||||
|
||||
@ -1662,29 +1568,6 @@ class MSeedRecord(seiscomp.core.Record):
|
||||
|
||||
# Register MSeedRecord in _io:
|
||||
_io.MSeedRecord_swigregister(MSeedRecord)
|
||||
|
||||
def MSeedRecord_ClassName():
|
||||
r"""MSeedRecord_ClassName() -> char const *"""
|
||||
return _io.MSeedRecord_ClassName()
|
||||
|
||||
def MSeedRecord_TypeInfo():
|
||||
r"""MSeedRecord_TypeInfo() -> RTTI"""
|
||||
return _io.MSeedRecord_TypeInfo()
|
||||
|
||||
def MSeedRecord_Cast(*args):
|
||||
r"""
|
||||
MSeedRecord_Cast(BaseObject o) -> MSeedRecord
|
||||
MSeedRecord_Cast(Seiscomp::Core::BaseObjectPtr o) -> MSeedRecord
|
||||
"""
|
||||
return _io.MSeedRecord_Cast(*args)
|
||||
|
||||
def MSeedRecord_ConstCast(*args):
|
||||
r"""
|
||||
MSeedRecord_ConstCast(BaseObject o) -> MSeedRecord
|
||||
MSeedRecord_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> MSeedRecord
|
||||
"""
|
||||
return _io.MSeedRecord_ConstCast(*args)
|
||||
|
||||
class FileRecordStream(RecordStream):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::File class."""
|
||||
|
||||
@ -1713,16 +1596,16 @@ class FileRecordStream(RecordStream):
|
||||
def addStream(self, *args):
|
||||
r"""
|
||||
addStream(FileRecordStream self, string networkCode, string stationCode, string locationCode, string channelCode) -> bool
|
||||
addStream(FileRecordStream self, string networkCode, string stationCode, string locationCode, string channelCode, Time startTime, Time endTime) -> bool
|
||||
addStream(FileRecordStream self, string networkCode, string stationCode, string locationCode, string channelCode, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool
|
||||
"""
|
||||
return _io.FileRecordStream_addStream(self, *args)
|
||||
|
||||
def setStartTime(self, startTime):
|
||||
r"""setStartTime(FileRecordStream self, Time startTime) -> bool"""
|
||||
r"""setStartTime(FileRecordStream self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime) -> bool"""
|
||||
return _io.FileRecordStream_setStartTime(self, startTime)
|
||||
|
||||
def setEndTime(self, endTime):
|
||||
r"""setEndTime(FileRecordStream self, Time endTime) -> bool"""
|
||||
r"""setEndTime(FileRecordStream self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool"""
|
||||
return _io.FileRecordStream_setEndTime(self, endTime)
|
||||
|
||||
def close(self):
|
||||
@ -1754,7 +1637,6 @@ class FileRecordStream(RecordStream):
|
||||
|
||||
# Register FileRecordStream in _io:
|
||||
_io.FileRecordStream_swigregister(FileRecordStream)
|
||||
|
||||
class SeedlinkException(RecordStreamException):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::SeedlinkException class."""
|
||||
|
||||
@ -1771,7 +1653,6 @@ class SeedlinkException(RecordStreamException):
|
||||
|
||||
# Register SeedlinkException in _io:
|
||||
_io.SeedlinkException_swigregister(SeedlinkException)
|
||||
|
||||
class SeedlinkCommandException(SeedlinkException):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::SeedlinkCommandException class."""
|
||||
|
||||
@ -1788,7 +1669,6 @@ class SeedlinkCommandException(SeedlinkException):
|
||||
|
||||
# Register SeedlinkCommandException in _io:
|
||||
_io.SeedlinkCommandException_swigregister(SeedlinkCommandException)
|
||||
|
||||
class SLStreamIdx(object):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::SLStreamIdx class."""
|
||||
|
||||
@ -1799,7 +1679,7 @@ class SLStreamIdx(object):
|
||||
r"""
|
||||
__init__(SLStreamIdx self) -> SLStreamIdx
|
||||
__init__(SLStreamIdx self, string net, string sta, string loc, string cha) -> SLStreamIdx
|
||||
__init__(SLStreamIdx self, string net, string sta, string loc, string cha, Time stime, Time etime) -> SLStreamIdx
|
||||
__init__(SLStreamIdx self, string net, string sta, string loc, string cha, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & stime, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & etime) -> SLStreamIdx
|
||||
"""
|
||||
_io.SLStreamIdx_swiginit(self, _io.new_SLStreamIdx(*args))
|
||||
|
||||
@ -1832,25 +1712,24 @@ class SLStreamIdx(object):
|
||||
return _io.SLStreamIdx_selector(self)
|
||||
|
||||
def startTime(self):
|
||||
r"""startTime(SLStreamIdx self) -> Time"""
|
||||
r"""startTime(SLStreamIdx self) -> Seiscomp::Core::Optional< Seiscomp::Core::Time > const &"""
|
||||
return _io.SLStreamIdx_startTime(self)
|
||||
|
||||
def endTime(self):
|
||||
r"""endTime(SLStreamIdx self) -> Time"""
|
||||
r"""endTime(SLStreamIdx self) -> Seiscomp::Core::Optional< Seiscomp::Core::Time > const &"""
|
||||
return _io.SLStreamIdx_endTime(self)
|
||||
|
||||
def timestamp(self):
|
||||
r"""timestamp(SLStreamIdx self) -> Time"""
|
||||
r"""timestamp(SLStreamIdx self) -> Seiscomp::Core::Optional< Seiscomp::Core::Time > const &"""
|
||||
return _io.SLStreamIdx_timestamp(self)
|
||||
|
||||
def setTimestamp(self, rectime):
|
||||
r"""setTimestamp(SLStreamIdx self, Time rectime)"""
|
||||
r"""setTimestamp(SLStreamIdx self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & rectime)"""
|
||||
return _io.SLStreamIdx_setTimestamp(self, rectime)
|
||||
__swig_destroy__ = _io.delete_SLStreamIdx
|
||||
|
||||
# Register SLStreamIdx in _io:
|
||||
_io.SLStreamIdx_swigregister(SLStreamIdx)
|
||||
|
||||
class SLConnection(RecordStream):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::SLConnection class."""
|
||||
|
||||
@ -1910,16 +1789,16 @@ class SLConnection(RecordStream):
|
||||
def addStream(self, *args):
|
||||
r"""
|
||||
addStream(SLConnection self, string networkCode, string stationCode, string locationCode, string channelCode) -> bool
|
||||
addStream(SLConnection self, string networkCode, string stationCode, string locationCode, string channelCode, Time startTime, Time endTime) -> bool
|
||||
addStream(SLConnection self, string networkCode, string stationCode, string locationCode, string channelCode, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool
|
||||
"""
|
||||
return _io.SLConnection_addStream(self, *args)
|
||||
|
||||
def setStartTime(self, startTime):
|
||||
r"""setStartTime(SLConnection self, Time startTime) -> bool"""
|
||||
r"""setStartTime(SLConnection self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime) -> bool"""
|
||||
return _io.SLConnection_setStartTime(self, startTime)
|
||||
|
||||
def setEndTime(self, endTime):
|
||||
r"""setEndTime(SLConnection self, Time endTime) -> bool"""
|
||||
r"""setEndTime(SLConnection self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool"""
|
||||
return _io.SLConnection_setEndTime(self, endTime)
|
||||
|
||||
def setTimeout(self, seconds):
|
||||
@ -1930,197 +1809,8 @@ class SLConnection(RecordStream):
|
||||
r"""close(SLConnection self)"""
|
||||
return _io.SLConnection_close(self)
|
||||
|
||||
def next(self):
|
||||
r"""next(SLConnection self) -> Record"""
|
||||
return _io.SLConnection_next(self)
|
||||
|
||||
def clear(self):
|
||||
r"""clear(SLConnection self) -> bool"""
|
||||
return _io.SLConnection_clear(self)
|
||||
|
||||
def reconnect(self):
|
||||
r"""reconnect(SLConnection self) -> bool"""
|
||||
return _io.SLConnection_reconnect(self)
|
||||
|
||||
# Register SLConnection in _io:
|
||||
_io.SLConnection_swigregister(SLConnection)
|
||||
|
||||
def SLConnection_ClassName():
|
||||
r"""SLConnection_ClassName() -> char const *"""
|
||||
return _io.SLConnection_ClassName()
|
||||
|
||||
def SLConnection_TypeInfo():
|
||||
r"""SLConnection_TypeInfo() -> RTTI"""
|
||||
return _io.SLConnection_TypeInfo()
|
||||
|
||||
def SLConnection_Cast(*args):
|
||||
r"""
|
||||
SLConnection_Cast(BaseObject o) -> SLConnection
|
||||
SLConnection_Cast(Seiscomp::Core::BaseObjectPtr o) -> SLConnection
|
||||
"""
|
||||
return _io.SLConnection_Cast(*args)
|
||||
|
||||
def SLConnection_ConstCast(*args):
|
||||
r"""
|
||||
SLConnection_ConstCast(BaseObject o) -> SLConnection
|
||||
SLConnection_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> SLConnection
|
||||
"""
|
||||
return _io.SLConnection_ConstCast(*args)
|
||||
|
||||
class ArclinkException(RecordStreamException):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::Arclink::_private::ArclinkException class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def __init__(self, *args):
|
||||
r"""
|
||||
__init__(ArclinkException self) -> ArclinkException
|
||||
__init__(ArclinkException self, string what) -> ArclinkException
|
||||
"""
|
||||
_io.ArclinkException_swiginit(self, _io.new_ArclinkException(*args))
|
||||
__swig_destroy__ = _io.delete_ArclinkException
|
||||
|
||||
# Register ArclinkException in _io:
|
||||
_io.ArclinkException_swigregister(ArclinkException)
|
||||
|
||||
class ArclinkCommandException(ArclinkException):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::Arclink::_private::ArclinkCommandException class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def __init__(self, *args):
|
||||
r"""
|
||||
__init__(ArclinkCommandException self) -> ArclinkCommandException
|
||||
__init__(ArclinkCommandException self, string what) -> ArclinkCommandException
|
||||
"""
|
||||
_io.ArclinkCommandException_swiginit(self, _io.new_ArclinkCommandException(*args))
|
||||
__swig_destroy__ = _io.delete_ArclinkCommandException
|
||||
|
||||
# Register ArclinkCommandException in _io:
|
||||
_io.ArclinkCommandException_swigregister(ArclinkCommandException)
|
||||
|
||||
class ArclinkConnection(RecordStream):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::Arclink::_private::ArclinkConnection class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
@staticmethod
|
||||
def ClassName():
|
||||
r"""ClassName() -> char const *"""
|
||||
return _io.ArclinkConnection_ClassName()
|
||||
|
||||
@staticmethod
|
||||
def TypeInfo():
|
||||
r"""TypeInfo() -> RTTI"""
|
||||
return _io.ArclinkConnection_TypeInfo()
|
||||
|
||||
def className(self):
|
||||
r"""className(ArclinkConnection self) -> char const *"""
|
||||
return _io.ArclinkConnection_className(self)
|
||||
|
||||
def typeInfo(self):
|
||||
r"""typeInfo(ArclinkConnection self) -> RTTI"""
|
||||
return _io.ArclinkConnection_typeInfo(self)
|
||||
|
||||
@staticmethod
|
||||
def Cast(*args):
|
||||
r"""
|
||||
Cast(BaseObject o) -> ArclinkConnection
|
||||
Cast(Seiscomp::Core::BaseObjectPtr o) -> ArclinkConnection
|
||||
"""
|
||||
return _io.ArclinkConnection_Cast(*args)
|
||||
|
||||
@staticmethod
|
||||
def ConstCast(*args):
|
||||
r"""
|
||||
ConstCast(BaseObject o) -> ArclinkConnection
|
||||
ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> ArclinkConnection
|
||||
"""
|
||||
return _io.ArclinkConnection_ConstCast(*args)
|
||||
|
||||
def __init__(self, *args):
|
||||
r"""
|
||||
__init__(ArclinkConnection self) -> ArclinkConnection
|
||||
__init__(ArclinkConnection self, string serverloc) -> ArclinkConnection
|
||||
"""
|
||||
_io.ArclinkConnection_swiginit(self, _io.new_ArclinkConnection(*args))
|
||||
__swig_destroy__ = _io.delete_ArclinkConnection
|
||||
|
||||
def setRecordType(self, arg2):
|
||||
r"""setRecordType(ArclinkConnection self, char const * arg2) -> bool"""
|
||||
return _io.ArclinkConnection_setRecordType(self, arg2)
|
||||
|
||||
def setSource(self, serverloc):
|
||||
r"""setSource(ArclinkConnection self, string serverloc) -> bool"""
|
||||
return _io.ArclinkConnection_setSource(self, serverloc)
|
||||
|
||||
def setUser(self, name, password):
|
||||
r"""setUser(ArclinkConnection self, string name, string password) -> bool"""
|
||||
return _io.ArclinkConnection_setUser(self, name, password)
|
||||
|
||||
def addStream(self, *args):
|
||||
r"""
|
||||
addStream(ArclinkConnection self, string networkCode, string stationCode, string locationCode, string channelCode) -> bool
|
||||
addStream(ArclinkConnection self, string networkCode, string stationCode, string locationCode, string channelCode, Time stime, Time etime) -> bool
|
||||
"""
|
||||
return _io.ArclinkConnection_addStream(self, *args)
|
||||
|
||||
def setStartTime(self, stime):
|
||||
r"""setStartTime(ArclinkConnection self, Time stime) -> bool"""
|
||||
return _io.ArclinkConnection_setStartTime(self, stime)
|
||||
|
||||
def setEndTime(self, etime):
|
||||
r"""setEndTime(ArclinkConnection self, Time etime) -> bool"""
|
||||
return _io.ArclinkConnection_setEndTime(self, etime)
|
||||
|
||||
def setTimeout(self, seconds):
|
||||
r"""setTimeout(ArclinkConnection self, int seconds) -> bool"""
|
||||
return _io.ArclinkConnection_setTimeout(self, seconds)
|
||||
|
||||
def close(self):
|
||||
r"""close(ArclinkConnection self)"""
|
||||
return _io.ArclinkConnection_close(self)
|
||||
|
||||
def next(self):
|
||||
r"""next(ArclinkConnection self) -> Record"""
|
||||
return _io.ArclinkConnection_next(self)
|
||||
|
||||
def clear(self):
|
||||
r"""clear(ArclinkConnection self) -> bool"""
|
||||
return _io.ArclinkConnection_clear(self)
|
||||
|
||||
def reconnect(self):
|
||||
r"""reconnect(ArclinkConnection self) -> bool"""
|
||||
return _io.ArclinkConnection_reconnect(self)
|
||||
|
||||
# Register ArclinkConnection in _io:
|
||||
_io.ArclinkConnection_swigregister(ArclinkConnection)
|
||||
|
||||
def ArclinkConnection_ClassName():
|
||||
r"""ArclinkConnection_ClassName() -> char const *"""
|
||||
return _io.ArclinkConnection_ClassName()
|
||||
|
||||
def ArclinkConnection_TypeInfo():
|
||||
r"""ArclinkConnection_TypeInfo() -> RTTI"""
|
||||
return _io.ArclinkConnection_TypeInfo()
|
||||
|
||||
def ArclinkConnection_Cast(*args):
|
||||
r"""
|
||||
ArclinkConnection_Cast(BaseObject o) -> ArclinkConnection
|
||||
ArclinkConnection_Cast(Seiscomp::Core::BaseObjectPtr o) -> ArclinkConnection
|
||||
"""
|
||||
return _io.ArclinkConnection_Cast(*args)
|
||||
|
||||
def ArclinkConnection_ConstCast(*args):
|
||||
r"""
|
||||
ArclinkConnection_ConstCast(BaseObject o) -> ArclinkConnection
|
||||
ArclinkConnection_ConstCast(Seiscomp::Core::BaseObjectCPtr o) -> ArclinkConnection
|
||||
"""
|
||||
return _io.ArclinkConnection_ConstCast(*args)
|
||||
|
||||
class CombinedConnection(RecordStream):
|
||||
r"""Proxy of C++ Seiscomp::RecordStream::CombinedConnection class."""
|
||||
|
||||
@ -2146,16 +1836,16 @@ class CombinedConnection(RecordStream):
|
||||
def addStream(self, *args):
|
||||
r"""
|
||||
addStream(CombinedConnection self, string networkCode, string stationCode, string locationCode, string channelCode) -> bool
|
||||
addStream(CombinedConnection self, string networkCode, string stationCode, string locationCode, string channelCode, Time startTime, Time endTime) -> bool
|
||||
addStream(CombinedConnection self, string networkCode, string stationCode, string locationCode, string channelCode, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & startTime, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & endTime) -> bool
|
||||
"""
|
||||
return _io.CombinedConnection_addStream(self, *args)
|
||||
|
||||
def setStartTime(self, stime):
|
||||
r"""setStartTime(CombinedConnection self, Time stime) -> bool"""
|
||||
r"""setStartTime(CombinedConnection self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & stime) -> bool"""
|
||||
return _io.CombinedConnection_setStartTime(self, stime)
|
||||
|
||||
def setEndTime(self, etime):
|
||||
r"""setEndTime(CombinedConnection self, Time etime) -> bool"""
|
||||
r"""setEndTime(CombinedConnection self, Seiscomp::Core::Optional< Seiscomp::Core::Time > const & etime) -> bool"""
|
||||
return _io.CombinedConnection_setEndTime(self, etime)
|
||||
|
||||
def setTimeout(self, seconds):
|
||||
@ -2172,7 +1862,6 @@ class CombinedConnection(RecordStream):
|
||||
|
||||
# Register CombinedConnection in _io:
|
||||
_io.CombinedConnection_swigregister(CombinedConnection)
|
||||
|
||||
class RecordIIRFilterF(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordIIRFilter< float > class."""
|
||||
|
||||
@ -2227,7 +1916,6 @@ class RecordIIRFilterF(RecordFilterInterface):
|
||||
|
||||
# Register RecordIIRFilterF in _io:
|
||||
_io.RecordIIRFilterF_swigregister(RecordIIRFilterF)
|
||||
|
||||
class RecordIIRFilterD(RecordFilterInterface):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordIIRFilter< double > class."""
|
||||
|
||||
@ -2282,7 +1970,6 @@ class RecordIIRFilterD(RecordFilterInterface):
|
||||
|
||||
# Register RecordIIRFilterD in _io:
|
||||
_io.RecordIIRFilterD_swigregister(RecordIIRFilterD)
|
||||
|
||||
class RecordResamplerF(RecordResamplerBase):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordResampler< float > class."""
|
||||
|
||||
@ -2308,7 +1995,6 @@ class RecordResamplerF(RecordResamplerBase):
|
||||
|
||||
# Register RecordResamplerF in _io:
|
||||
_io.RecordResamplerF_swigregister(RecordResamplerF)
|
||||
|
||||
class RecordResamplerD(RecordResamplerBase):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordResampler< double > class."""
|
||||
|
||||
@ -2334,7 +2020,6 @@ class RecordResamplerD(RecordResamplerBase):
|
||||
|
||||
# Register RecordResamplerD in _io:
|
||||
_io.RecordResamplerD_swigregister(RecordResamplerD)
|
||||
|
||||
class RecordResamplerI(RecordResamplerBase):
|
||||
r"""Proxy of C++ Seiscomp::IO::RecordResampler< int > class."""
|
||||
|
||||
@ -2360,7 +2045,6 @@ class RecordResamplerI(RecordResamplerBase):
|
||||
|
||||
# Register RecordResamplerI in _io:
|
||||
_io.RecordResamplerI_swigregister(RecordResamplerI)
|
||||
|
||||
class ExportObjectList(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Core::BaseObject * > class."""
|
||||
|
||||
@ -2403,21 +2087,21 @@ class ExportObjectList(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(ExportObjectList self, std::vector< Seiscomp::Core::BaseObject * >::difference_type i)
|
||||
__delitem__(ExportObjectList self, PySliceObject * slice)
|
||||
__delitem__(ExportObjectList self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _io.ExportObjectList___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(ExportObjectList self, PySliceObject * slice) -> ExportObjectList
|
||||
__getitem__(ExportObjectList self, SWIGPY_SLICEOBJECT * slice) -> ExportObjectList
|
||||
__getitem__(ExportObjectList self, std::vector< Seiscomp::Core::BaseObject * >::difference_type i) -> BaseObject
|
||||
"""
|
||||
return _io.ExportObjectList___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(ExportObjectList self, PySliceObject * slice, ExportObjectList v)
|
||||
__setitem__(ExportObjectList self, PySliceObject * slice)
|
||||
__setitem__(ExportObjectList self, SWIGPY_SLICEOBJECT * slice, ExportObjectList v)
|
||||
__setitem__(ExportObjectList self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(ExportObjectList self, std::vector< Seiscomp::Core::BaseObject * >::difference_type i, BaseObject x)
|
||||
"""
|
||||
return _io.ExportObjectList___setitem__(self, *args)
|
||||
@ -2528,5 +2212,3 @@ class ExportObjectList(object):
|
||||
# Register ExportObjectList in _io:
|
||||
_io.ExportObjectList_swigregister(ExportObjectList)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -355,6 +355,7 @@ class Module:
|
||||
def status(self, shouldRun):
|
||||
self.env.logStatus(self.name, self.isRunning(), shouldRun, self.env.isModuleEnabled(
|
||||
self.name) or isinstance(self, CoreModule))
|
||||
return 0
|
||||
|
||||
def requiresKernelModules(self):
|
||||
# The default handler triggers a start of kernel modules before updating
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _logging
|
||||
@ -29,10 +26,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -151,7 +148,6 @@ class Output(object):
|
||||
|
||||
# Register Output in _logging:
|
||||
_logging.Output_swigregister(Output)
|
||||
|
||||
class FdOutput(Output):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -162,7 +158,6 @@ class FdOutput(Output):
|
||||
|
||||
# Register FdOutput in _logging:
|
||||
_logging.FdOutput_swigregister(FdOutput)
|
||||
|
||||
class FileOutput(Output):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -179,7 +174,6 @@ class FileOutput(Output):
|
||||
|
||||
# Register FileOutput in _logging:
|
||||
_logging.FileOutput_swigregister(FileOutput)
|
||||
|
||||
class FileRotatorOutput(FileOutput):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -193,7 +187,6 @@ class FileRotatorOutput(FileOutput):
|
||||
|
||||
# Register FileRotatorOutput in _logging:
|
||||
_logging.FileRotatorOutput_swigregister(FileRotatorOutput)
|
||||
|
||||
class SyslogOutput(Output):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -217,5 +210,3 @@ class SyslogOutput(Output):
|
||||
# Register SyslogOutput in _logging:
|
||||
_logging.SyslogOutput_swigregister(SyslogOutput)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
"""Codes for various geographical computations and filters"""
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _math
|
||||
@ -31,10 +28,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _math:
|
||||
_math.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
import seiscomp.core
|
||||
class vectorf(object):
|
||||
r"""Proxy of C++ std::vector< float > class."""
|
||||
@ -167,21 +163,21 @@ class vectorf(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(vectorf self, std::vector< float >::difference_type i)
|
||||
__delitem__(vectorf self, PySliceObject * slice)
|
||||
__delitem__(vectorf self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.vectorf___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(vectorf self, PySliceObject * slice) -> vectorf
|
||||
__getitem__(vectorf self, SWIGPY_SLICEOBJECT * slice) -> vectorf
|
||||
__getitem__(vectorf self, std::vector< float >::difference_type i) -> std::vector< float >::value_type const &
|
||||
"""
|
||||
return _math.vectorf___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(vectorf self, PySliceObject * slice, vectorf v)
|
||||
__setitem__(vectorf self, PySliceObject * slice)
|
||||
__setitem__(vectorf self, SWIGPY_SLICEOBJECT * slice, vectorf v)
|
||||
__setitem__(vectorf self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(vectorf self, std::vector< float >::difference_type i, std::vector< float >::value_type const & x)
|
||||
"""
|
||||
return _math.vectorf___setitem__(self, *args)
|
||||
@ -291,7 +287,6 @@ class vectorf(object):
|
||||
|
||||
# Register vectorf in _math:
|
||||
_math.vectorf_swigregister(vectorf)
|
||||
|
||||
class vectord(object):
|
||||
r"""Proxy of C++ std::vector< double > class."""
|
||||
|
||||
@ -334,21 +329,21 @@ class vectord(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(vectord self, std::vector< double >::difference_type i)
|
||||
__delitem__(vectord self, PySliceObject * slice)
|
||||
__delitem__(vectord self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.vectord___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(vectord self, PySliceObject * slice) -> vectord
|
||||
__getitem__(vectord self, SWIGPY_SLICEOBJECT * slice) -> vectord
|
||||
__getitem__(vectord self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
|
||||
"""
|
||||
return _math.vectord___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(vectord self, PySliceObject * slice, vectord v)
|
||||
__setitem__(vectord self, PySliceObject * slice)
|
||||
__setitem__(vectord self, SWIGPY_SLICEOBJECT * slice, vectord v)
|
||||
__setitem__(vectord self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(vectord self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
|
||||
"""
|
||||
return _math.vectord___setitem__(self, *args)
|
||||
@ -459,6 +454,9 @@ class vectord(object):
|
||||
# Register vectord in _math:
|
||||
_math.vectord_swigregister(vectord)
|
||||
|
||||
def double2frac(value):
|
||||
r"""double2frac(double value) -> Seiscomp::Math::Fraction"""
|
||||
return _math.double2frac(value)
|
||||
class CoordF(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::Coord< float > class."""
|
||||
|
||||
@ -501,7 +499,6 @@ class CoordF(seiscomp.core.BaseObject):
|
||||
|
||||
# Register CoordF in _math:
|
||||
_math.CoordF_swigregister(CoordF)
|
||||
|
||||
class CoordD(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::Coord< double > class."""
|
||||
|
||||
@ -544,7 +541,6 @@ class CoordD(seiscomp.core.BaseObject):
|
||||
|
||||
# Register CoordD in _math:
|
||||
_math.CoordD_swigregister(CoordD)
|
||||
|
||||
class NamedCoordF(CoordF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::NamedCoord< float > class."""
|
||||
|
||||
@ -580,7 +576,6 @@ class NamedCoordF(CoordF):
|
||||
|
||||
# Register NamedCoordF in _math:
|
||||
_math.NamedCoordF_swigregister(NamedCoordF)
|
||||
|
||||
class NamedCoordD(CoordD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::NamedCoord< double > class."""
|
||||
|
||||
@ -616,7 +611,6 @@ class NamedCoordD(CoordD):
|
||||
|
||||
# Register NamedCoordD in _math:
|
||||
_math.NamedCoordD_swigregister(NamedCoordD)
|
||||
|
||||
class HotspotListF(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Math::Geo::NamedCoordF > class."""
|
||||
|
||||
@ -659,21 +653,21 @@ class HotspotListF(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(HotspotListF self, std::vector< Seiscomp::Math::Geo::NamedCoord< float > >::difference_type i)
|
||||
__delitem__(HotspotListF self, PySliceObject * slice)
|
||||
__delitem__(HotspotListF self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.HotspotListF___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(HotspotListF self, PySliceObject * slice) -> HotspotListF
|
||||
__getitem__(HotspotListF self, SWIGPY_SLICEOBJECT * slice) -> HotspotListF
|
||||
__getitem__(HotspotListF self, std::vector< Seiscomp::Math::Geo::NamedCoord< float > >::difference_type i) -> NamedCoordF
|
||||
"""
|
||||
return _math.HotspotListF___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(HotspotListF self, PySliceObject * slice, HotspotListF v)
|
||||
__setitem__(HotspotListF self, PySliceObject * slice)
|
||||
__setitem__(HotspotListF self, SWIGPY_SLICEOBJECT * slice, HotspotListF v)
|
||||
__setitem__(HotspotListF self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(HotspotListF self, std::vector< Seiscomp::Math::Geo::NamedCoord< float > >::difference_type i, NamedCoordF x)
|
||||
"""
|
||||
return _math.HotspotListF___setitem__(self, *args)
|
||||
@ -783,7 +777,6 @@ class HotspotListF(object):
|
||||
|
||||
# Register HotspotListF in _math:
|
||||
_math.HotspotListF_swigregister(HotspotListF)
|
||||
|
||||
class HotspotListD(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Math::Geo::NamedCoordD > class."""
|
||||
|
||||
@ -826,21 +819,21 @@ class HotspotListD(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(HotspotListD self, std::vector< Seiscomp::Math::Geo::NamedCoord< double > >::difference_type i)
|
||||
__delitem__(HotspotListD self, PySliceObject * slice)
|
||||
__delitem__(HotspotListD self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.HotspotListD___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(HotspotListD self, PySliceObject * slice) -> HotspotListD
|
||||
__getitem__(HotspotListD self, SWIGPY_SLICEOBJECT * slice) -> HotspotListD
|
||||
__getitem__(HotspotListD self, std::vector< Seiscomp::Math::Geo::NamedCoord< double > >::difference_type i) -> NamedCoordD
|
||||
"""
|
||||
return _math.HotspotListD___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(HotspotListD self, PySliceObject * slice, HotspotListD v)
|
||||
__setitem__(HotspotListD self, PySliceObject * slice)
|
||||
__setitem__(HotspotListD self, SWIGPY_SLICEOBJECT * slice, HotspotListD v)
|
||||
__setitem__(HotspotListD self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(HotspotListD self, std::vector< Seiscomp::Math::Geo::NamedCoord< double > >::difference_type i, NamedCoordD x)
|
||||
"""
|
||||
return _math.HotspotListD___setitem__(self, *args)
|
||||
@ -950,7 +943,6 @@ class HotspotListD(object):
|
||||
|
||||
# Register HotspotListD in _math:
|
||||
_math.HotspotListD_swigregister(HotspotListD)
|
||||
|
||||
class CityF(NamedCoordF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::City< float > class."""
|
||||
|
||||
@ -996,7 +988,6 @@ class CityF(NamedCoordF):
|
||||
|
||||
# Register CityF in _math:
|
||||
_math.CityF_swigregister(CityF)
|
||||
|
||||
class CityD(NamedCoordD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Geo::City< double > class."""
|
||||
|
||||
@ -1042,7 +1033,6 @@ class CityD(NamedCoordD):
|
||||
|
||||
# Register CityD in _math:
|
||||
_math.CityD_swigregister(CityD)
|
||||
|
||||
class CityListF(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Math::Geo::CityF > class."""
|
||||
|
||||
@ -1085,21 +1075,21 @@ class CityListF(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(CityListF self, std::vector< Seiscomp::Math::Geo::City< float > >::difference_type i)
|
||||
__delitem__(CityListF self, PySliceObject * slice)
|
||||
__delitem__(CityListF self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.CityListF___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(CityListF self, PySliceObject * slice) -> CityListF
|
||||
__getitem__(CityListF self, SWIGPY_SLICEOBJECT * slice) -> CityListF
|
||||
__getitem__(CityListF self, std::vector< Seiscomp::Math::Geo::City< float > >::difference_type i) -> CityF
|
||||
"""
|
||||
return _math.CityListF___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(CityListF self, PySliceObject * slice, CityListF v)
|
||||
__setitem__(CityListF self, PySliceObject * slice)
|
||||
__setitem__(CityListF self, SWIGPY_SLICEOBJECT * slice, CityListF v)
|
||||
__setitem__(CityListF self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(CityListF self, std::vector< Seiscomp::Math::Geo::City< float > >::difference_type i, CityF x)
|
||||
"""
|
||||
return _math.CityListF___setitem__(self, *args)
|
||||
@ -1209,7 +1199,6 @@ class CityListF(object):
|
||||
|
||||
# Register CityListF in _math:
|
||||
_math.CityListF_swigregister(CityListF)
|
||||
|
||||
class CityListD(object):
|
||||
r"""Proxy of C++ std::vector< Seiscomp::Math::Geo::CityD > class."""
|
||||
|
||||
@ -1252,21 +1241,21 @@ class CityListD(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(CityListD self, std::vector< Seiscomp::Math::Geo::City< double > >::difference_type i)
|
||||
__delitem__(CityListD self, PySliceObject * slice)
|
||||
__delitem__(CityListD self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.CityListD___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(CityListD self, PySliceObject * slice) -> CityListD
|
||||
__getitem__(CityListD self, SWIGPY_SLICEOBJECT * slice) -> CityListD
|
||||
__getitem__(CityListD self, std::vector< Seiscomp::Math::Geo::City< double > >::difference_type i) -> CityD
|
||||
"""
|
||||
return _math.CityListD___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(CityListD self, PySliceObject * slice, CityListD v)
|
||||
__setitem__(CityListD self, PySliceObject * slice)
|
||||
__setitem__(CityListD self, SWIGPY_SLICEOBJECT * slice, CityListD v)
|
||||
__setitem__(CityListD self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(CityListD self, std::vector< Seiscomp::Math::Geo::City< double > >::difference_type i, CityD x)
|
||||
"""
|
||||
return _math.CityListD___setitem__(self, *args)
|
||||
@ -1376,7 +1365,6 @@ class CityListD(object):
|
||||
|
||||
# Register CityListD in _math:
|
||||
_math.CityListD_swigregister(CityListD)
|
||||
|
||||
class AlignmentError(object):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::AlignmentError class."""
|
||||
|
||||
@ -1395,7 +1383,6 @@ class AlignmentError(object):
|
||||
# Register AlignmentError in _math:
|
||||
_math.AlignmentError_swigregister(AlignmentError)
|
||||
|
||||
|
||||
def next_power_of_2(arg1):
|
||||
r"""next_power_of_2(long arg1) -> long"""
|
||||
return _math.next_power_of_2(arg1)
|
||||
@ -1447,11 +1434,6 @@ class InPlaceFilterF(seiscomp.core.BaseObject):
|
||||
|
||||
# Register InPlaceFilterF in _math:
|
||||
_math.InPlaceFilterF_swigregister(InPlaceFilterF)
|
||||
|
||||
def InPlaceFilterF_Create(strFilter, strError=None):
|
||||
r"""InPlaceFilterF_Create(std::string const & strFilter, std::string * strError=None) -> InPlaceFilterF"""
|
||||
return _math.InPlaceFilterF_Create(strFilter, strError)
|
||||
|
||||
class InPlaceFilterD(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::InPlaceFilter< double > class."""
|
||||
|
||||
@ -1500,11 +1482,6 @@ class InPlaceFilterD(seiscomp.core.BaseObject):
|
||||
|
||||
# Register InPlaceFilterD in _math:
|
||||
_math.InPlaceFilterD_swigregister(InPlaceFilterD)
|
||||
|
||||
def InPlaceFilterD_Create(strFilter, strError=None):
|
||||
r"""InPlaceFilterD_Create(std::string const & strFilter, std::string * strError=None) -> InPlaceFilterD"""
|
||||
return _math.InPlaceFilterD_Create(strFilter, strError)
|
||||
|
||||
class AverageFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::Average< float > class."""
|
||||
|
||||
@ -1538,7 +1515,6 @@ class AverageFilterF(InPlaceFilterF):
|
||||
|
||||
# Register AverageFilterF in _math:
|
||||
_math.AverageFilterF_swigregister(AverageFilterF)
|
||||
|
||||
class AverageFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::Average< double > class."""
|
||||
|
||||
@ -1572,7 +1548,6 @@ class AverageFilterD(InPlaceFilterD):
|
||||
|
||||
# Register AverageFilterD in _math:
|
||||
_math.AverageFilterD_swigregister(AverageFilterD)
|
||||
|
||||
class STALTAFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA< float > class."""
|
||||
|
||||
@ -1602,7 +1577,6 @@ class STALTAFilterF(InPlaceFilterF):
|
||||
|
||||
# Register STALTAFilterF in _math:
|
||||
_math.STALTAFilterF_swigregister(STALTAFilterF)
|
||||
|
||||
class STALTAFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA< double > class."""
|
||||
|
||||
@ -1632,7 +1606,6 @@ class STALTAFilterD(InPlaceFilterD):
|
||||
|
||||
# Register STALTAFilterD in _math:
|
||||
_math.STALTAFilterD_swigregister(STALTAFilterD)
|
||||
|
||||
class STALTA2FilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA2< float > class."""
|
||||
|
||||
@ -1662,7 +1635,6 @@ class STALTA2FilterF(InPlaceFilterF):
|
||||
|
||||
# Register STALTA2FilterF in _math:
|
||||
_math.STALTA2FilterF_swigregister(STALTA2FilterF)
|
||||
|
||||
class STALTA2FilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA2< double > class."""
|
||||
|
||||
@ -1692,7 +1664,6 @@ class STALTA2FilterD(InPlaceFilterD):
|
||||
|
||||
# Register STALTA2FilterD in _math:
|
||||
_math.STALTA2FilterD_swigregister(STALTA2FilterD)
|
||||
|
||||
class STALTAClassicFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA_Classic< float > class."""
|
||||
|
||||
@ -1722,7 +1693,6 @@ class STALTAClassicFilterF(InPlaceFilterF):
|
||||
|
||||
# Register STALTAClassicFilterF in _math:
|
||||
_math.STALTAClassicFilterF_swigregister(STALTAClassicFilterF)
|
||||
|
||||
class STALTAClassicFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::STALTA_Classic< double > class."""
|
||||
|
||||
@ -1752,7 +1722,6 @@ class STALTAClassicFilterD(InPlaceFilterD):
|
||||
|
||||
# Register STALTAClassicFilterD in _math:
|
||||
_math.STALTAClassicFilterD_swigregister(STALTAClassicFilterD)
|
||||
|
||||
class RunningMeanFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::RunningMean< float > class."""
|
||||
|
||||
@ -1786,7 +1755,6 @@ class RunningMeanFilterF(InPlaceFilterF):
|
||||
|
||||
# Register RunningMeanFilterF in _math:
|
||||
_math.RunningMeanFilterF_swigregister(RunningMeanFilterF)
|
||||
|
||||
class RunningMeanFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::RunningMean< double > class."""
|
||||
|
||||
@ -1820,7 +1788,6 @@ class RunningMeanFilterD(InPlaceFilterD):
|
||||
|
||||
# Register RunningMeanFilterD in _math:
|
||||
_math.RunningMeanFilterD_swigregister(RunningMeanFilterD)
|
||||
|
||||
class RunningMeanHighPassFilterF(RunningMeanFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::RunningMeanHighPass< float > class."""
|
||||
|
||||
@ -1838,7 +1805,6 @@ class RunningMeanHighPassFilterF(RunningMeanFilterF):
|
||||
|
||||
# Register RunningMeanHighPassFilterF in _math:
|
||||
_math.RunningMeanHighPassFilterF_swigregister(RunningMeanHighPassFilterF)
|
||||
|
||||
class RunningMeanHighPassFilterD(RunningMeanFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::RunningMeanHighPass< double > class."""
|
||||
|
||||
@ -1856,7 +1822,6 @@ class RunningMeanHighPassFilterD(RunningMeanFilterD):
|
||||
|
||||
# Register RunningMeanHighPassFilterD in _math:
|
||||
_math.RunningMeanHighPassFilterD_swigregister(RunningMeanHighPassFilterD)
|
||||
|
||||
class InitialTaperFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::InitialTaper< float > class."""
|
||||
|
||||
@ -1890,7 +1855,6 @@ class InitialTaperFilterF(InPlaceFilterF):
|
||||
|
||||
# Register InitialTaperFilterF in _math:
|
||||
_math.InitialTaperFilterF_swigregister(InitialTaperFilterF)
|
||||
|
||||
class InitialTaperFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::InitialTaper< double > class."""
|
||||
|
||||
@ -1924,7 +1888,6 @@ class InitialTaperFilterD(InPlaceFilterD):
|
||||
|
||||
# Register InitialTaperFilterD in _math:
|
||||
_math.InitialTaperFilterD_swigregister(InitialTaperFilterD)
|
||||
|
||||
class BiquadCoefficients(object):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::BiquadCoefficients class."""
|
||||
|
||||
@ -1952,7 +1915,6 @@ class BiquadCoefficients(object):
|
||||
# Register BiquadCoefficients in _math:
|
||||
_math.BiquadCoefficients_swigregister(BiquadCoefficients)
|
||||
|
||||
|
||||
def __lshift__(os, biq):
|
||||
r"""__lshift__(std::ostream & os, BiquadCoefficients biq) -> std::ostream &"""
|
||||
return _math.__lshift__(os, biq)
|
||||
@ -2000,7 +1962,6 @@ class BiquadCascadeF(InPlaceFilterF):
|
||||
|
||||
# Register BiquadCascadeF in _math:
|
||||
_math.BiquadCascadeF_swigregister(BiquadCascadeF)
|
||||
|
||||
class BiquadCascadeD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::BiquadCascade< double > class."""
|
||||
|
||||
@ -2045,7 +2006,6 @@ class BiquadCascadeD(InPlaceFilterD):
|
||||
|
||||
# Register BiquadCascadeD in _math:
|
||||
_math.BiquadCascadeD_swigregister(BiquadCascadeD)
|
||||
|
||||
class ButterworthLowpassF(BiquadCascadeF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthLowpass< float > class."""
|
||||
|
||||
@ -2071,7 +2031,6 @@ class ButterworthLowpassF(BiquadCascadeF):
|
||||
|
||||
# Register ButterworthLowpassF in _math:
|
||||
_math.ButterworthLowpassF_swigregister(ButterworthLowpassF)
|
||||
|
||||
class ButterworthLowpassD(BiquadCascadeD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthLowpass< double > class."""
|
||||
|
||||
@ -2097,7 +2056,6 @@ class ButterworthLowpassD(BiquadCascadeD):
|
||||
|
||||
# Register ButterworthLowpassD in _math:
|
||||
_math.ButterworthLowpassD_swigregister(ButterworthLowpassD)
|
||||
|
||||
class ButterworthHighpassF(BiquadCascadeF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthHighpass< float > class."""
|
||||
|
||||
@ -2123,7 +2081,6 @@ class ButterworthHighpassF(BiquadCascadeF):
|
||||
|
||||
# Register ButterworthHighpassF in _math:
|
||||
_math.ButterworthHighpassF_swigregister(ButterworthHighpassF)
|
||||
|
||||
class ButterworthHighpassD(BiquadCascadeD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthHighpass< double > class."""
|
||||
|
||||
@ -2149,7 +2106,6 @@ class ButterworthHighpassD(BiquadCascadeD):
|
||||
|
||||
# Register ButterworthHighpassD in _math:
|
||||
_math.ButterworthHighpassD_swigregister(ButterworthHighpassD)
|
||||
|
||||
class ButterworthBandpassF(BiquadCascadeF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthBandpass< float > class."""
|
||||
|
||||
@ -2175,7 +2131,6 @@ class ButterworthBandpassF(BiquadCascadeF):
|
||||
|
||||
# Register ButterworthBandpassF in _math:
|
||||
_math.ButterworthBandpassF_swigregister(ButterworthBandpassF)
|
||||
|
||||
class ButterworthBandpassD(BiquadCascadeD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthBandpass< double > class."""
|
||||
|
||||
@ -2201,7 +2156,6 @@ class ButterworthBandpassD(BiquadCascadeD):
|
||||
|
||||
# Register ButterworthBandpassD in _math:
|
||||
_math.ButterworthBandpassD_swigregister(ButterworthBandpassD)
|
||||
|
||||
class ButterworthHighLowpassF(BiquadCascadeF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthHighLowpass< float > class."""
|
||||
|
||||
@ -2227,7 +2181,6 @@ class ButterworthHighLowpassF(BiquadCascadeF):
|
||||
|
||||
# Register ButterworthHighLowpassF in _math:
|
||||
_math.ButterworthHighLowpassF_swigregister(ButterworthHighLowpassF)
|
||||
|
||||
class ButterworthHighLowpassD(BiquadCascadeD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthHighLowpass< double > class."""
|
||||
|
||||
@ -2253,7 +2206,6 @@ class ButterworthHighLowpassD(BiquadCascadeD):
|
||||
|
||||
# Register ButterworthHighLowpassD in _math:
|
||||
_math.ButterworthHighLowpassD_swigregister(ButterworthHighLowpassD)
|
||||
|
||||
class ButterworthBandstopF(BiquadCascadeF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthBandstop< float > class."""
|
||||
|
||||
@ -2279,7 +2231,6 @@ class ButterworthBandstopF(BiquadCascadeF):
|
||||
|
||||
# Register ButterworthBandstopF in _math:
|
||||
_math.ButterworthBandstopF_swigregister(ButterworthBandstopF)
|
||||
|
||||
class ButterworthBandstopD(BiquadCascadeD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::ButterworthBandstop< double > class."""
|
||||
|
||||
@ -2305,7 +2256,6 @@ class ButterworthBandstopD(BiquadCascadeD):
|
||||
|
||||
# Register ButterworthBandstopD in _math:
|
||||
_math.ButterworthBandstopD_swigregister(ButterworthBandstopD)
|
||||
|
||||
class ChainFilterF(InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::ChainFilter< float > class."""
|
||||
|
||||
@ -2359,7 +2309,6 @@ class ChainFilterF(InPlaceFilterF):
|
||||
|
||||
# Register ChainFilterF in _math:
|
||||
_math.ChainFilterF_swigregister(ChainFilterF)
|
||||
|
||||
class ChainFilterD(InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::ChainFilter< double > class."""
|
||||
|
||||
@ -2413,7 +2362,6 @@ class ChainFilterD(InPlaceFilterD):
|
||||
|
||||
# Register ChainFilterD in _math:
|
||||
_math.ChainFilterD_swigregister(ChainFilterD)
|
||||
|
||||
Displacement = _math.Displacement
|
||||
|
||||
Velocity = _math.Velocity
|
||||
@ -2443,7 +2391,6 @@ class FAP(object):
|
||||
|
||||
# Register FAP in _math:
|
||||
_math.FAP_swigregister(FAP)
|
||||
|
||||
class PolesAndZeros(object):
|
||||
r"""Proxy of C++ Seiscomp::Math::SeismometerResponse::PolesAndZeros class."""
|
||||
|
||||
@ -2464,7 +2411,6 @@ class PolesAndZeros(object):
|
||||
|
||||
# Register PolesAndZeros in _math:
|
||||
_math.PolesAndZeros_swigregister(PolesAndZeros)
|
||||
|
||||
class WoodAnderson(PolesAndZeros):
|
||||
r"""Proxy of C++ Seiscomp::Math::SeismometerResponse::WoodAnderson class."""
|
||||
|
||||
@ -2478,7 +2424,6 @@ class WoodAnderson(PolesAndZeros):
|
||||
|
||||
# Register WoodAnderson in _math:
|
||||
_math.WoodAnderson_swigregister(WoodAnderson)
|
||||
|
||||
class Seismometer5sec(PolesAndZeros):
|
||||
r"""Proxy of C++ Seiscomp::Math::SeismometerResponse::Seismometer5sec class."""
|
||||
|
||||
@ -2492,7 +2437,6 @@ class Seismometer5sec(PolesAndZeros):
|
||||
|
||||
# Register Seismometer5sec in _math:
|
||||
_math.Seismometer5sec_swigregister(Seismometer5sec)
|
||||
|
||||
class SeismometerFilterF(PolesAndZeros, InPlaceFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::Filter< float > class."""
|
||||
|
||||
@ -2522,7 +2466,6 @@ class SeismometerFilterF(PolesAndZeros, InPlaceFilterF):
|
||||
|
||||
# Register SeismometerFilterF in _math:
|
||||
_math.SeismometerFilterF_swigregister(SeismometerFilterF)
|
||||
|
||||
class SeismometerFilterD(PolesAndZeros, InPlaceFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::Filter< double > class."""
|
||||
|
||||
@ -2552,7 +2495,6 @@ class SeismometerFilterD(PolesAndZeros, InPlaceFilterD):
|
||||
|
||||
# Register SeismometerFilterD in _math:
|
||||
_math.SeismometerFilterD_swigregister(SeismometerFilterD)
|
||||
|
||||
class WWSSN_SPF(SeismometerFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WWSSN_SP_Filter< float > class."""
|
||||
|
||||
@ -2581,7 +2523,6 @@ class WWSSN_SPF(SeismometerFilterF):
|
||||
|
||||
# Register WWSSN_SPF in _math:
|
||||
_math.WWSSN_SPF_swigregister(WWSSN_SPF)
|
||||
|
||||
class WWSSN_SPD(SeismometerFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WWSSN_SP_Filter< double > class."""
|
||||
|
||||
@ -2610,7 +2551,6 @@ class WWSSN_SPD(SeismometerFilterD):
|
||||
|
||||
# Register WWSSN_SPD in _math:
|
||||
_math.WWSSN_SPD_swigregister(WWSSN_SPD)
|
||||
|
||||
class WWSSN_LPF(SeismometerFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WWSSN_LP_Filter< float > class."""
|
||||
|
||||
@ -2639,7 +2579,6 @@ class WWSSN_LPF(SeismometerFilterF):
|
||||
|
||||
# Register WWSSN_LPF in _math:
|
||||
_math.WWSSN_LPF_swigregister(WWSSN_LPF)
|
||||
|
||||
class WWSSN_LPD(SeismometerFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WWSSN_LP_Filter< double > class."""
|
||||
|
||||
@ -2668,7 +2607,6 @@ class WWSSN_LPD(SeismometerFilterD):
|
||||
|
||||
# Register WWSSN_LPD in _math:
|
||||
_math.WWSSN_LPD_swigregister(WWSSN_LPD)
|
||||
|
||||
class WoodAndersonFilterF(SeismometerFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WoodAndersonFilter< float > class."""
|
||||
|
||||
@ -2697,7 +2635,6 @@ class WoodAndersonFilterF(SeismometerFilterF):
|
||||
|
||||
# Register WoodAndersonFilterF in _math:
|
||||
_math.WoodAndersonFilterF_swigregister(WoodAndersonFilterF)
|
||||
|
||||
class WoodAndersonFilterD(SeismometerFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::WoodAndersonFilter< double > class."""
|
||||
|
||||
@ -2726,7 +2663,6 @@ class WoodAndersonFilterD(SeismometerFilterD):
|
||||
|
||||
# Register WoodAndersonFilterD in _math:
|
||||
_math.WoodAndersonFilterD_swigregister(WoodAndersonFilterD)
|
||||
|
||||
class GenericSeismometerFilterF(SeismometerFilterF):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::GenericSeismometer< float > class."""
|
||||
|
||||
@ -2755,7 +2691,6 @@ class GenericSeismometerFilterF(SeismometerFilterF):
|
||||
|
||||
# Register GenericSeismometerFilterF in _math:
|
||||
_math.GenericSeismometerFilterF_swigregister(GenericSeismometerFilterF)
|
||||
|
||||
class GenericSeismometerFilterD(SeismometerFilterD):
|
||||
r"""Proxy of C++ Seiscomp::Math::Filtering::IIR::GenericSeismometer< double > class."""
|
||||
|
||||
@ -2785,7 +2720,6 @@ class GenericSeismometerFilterD(SeismometerFilterD):
|
||||
# Register GenericSeismometerFilterD in _math:
|
||||
_math.GenericSeismometerFilterD_swigregister(GenericSeismometerFilterD)
|
||||
|
||||
|
||||
def delta(lat1, lon1, lat2, lon2):
|
||||
r"""delta(double lat1, double lon1, double lat2, double lon2) -> double"""
|
||||
return _math.delta(lat1, lon1, lat2, lon2)
|
||||
@ -2809,8 +2743,6 @@ def scxsc(lat1, lon1, r1, lat2, lon2, r2, latx1, lonx1, latx2, lonx2, epsilon=0)
|
||||
def scdraw(lat0, lon0, radius, n, lat, lon):
|
||||
r"""scdraw(double lat0, double lon0, double radius, int n, double * lat, double * lon) -> int"""
|
||||
return _math.scdraw(lat0, lon0, radius, n, lat, lon)
|
||||
KM_OF_DEGREE = _math.KM_OF_DEGREE
|
||||
|
||||
|
||||
def xyz2ltp(x, y, z, lat, lon, alt):
|
||||
r"""xyz2ltp(double const x, double const y, double const z, double * lat, double * lon, double * alt)"""
|
||||
@ -2874,6 +2806,11 @@ class PositionInterpolator(object):
|
||||
|
||||
# Register PositionInterpolator in _math:
|
||||
_math.PositionInterpolator_swigregister(PositionInterpolator)
|
||||
cvar = _math.cvar
|
||||
WGS84_MEAN_RADIUS = cvar.WGS84_MEAN_RADIUS
|
||||
WGS84_KM_OF_DEGREE = cvar.WGS84_KM_OF_DEGREE
|
||||
WGS84_SEMI_MAJOR_AXIS = cvar.WGS84_SEMI_MAJOR_AXIS
|
||||
WGS84_FLATTENING = cvar.WGS84_FLATTENING
|
||||
|
||||
|
||||
def deg2km(deg):
|
||||
@ -2922,7 +2859,6 @@ class TransferFunction(seiscomp.core.BaseObject):
|
||||
|
||||
# Register TransferFunction in _math:
|
||||
_math.TransferFunction_swigregister(TransferFunction)
|
||||
|
||||
class TransferFunctionPAZ(TransferFunction):
|
||||
r"""Proxy of C++ Seiscomp::Math::Restitution::FFT::PolesAndZeros class."""
|
||||
|
||||
@ -2940,7 +2876,6 @@ class TransferFunctionPAZ(TransferFunction):
|
||||
|
||||
# Register TransferFunctionPAZ in _math:
|
||||
_math.TransferFunctionPAZ_swigregister(TransferFunctionPAZ)
|
||||
|
||||
class ResponseList(TransferFunction):
|
||||
r"""Proxy of C++ Seiscomp::Math::Restitution::FFT::ResponseList class."""
|
||||
|
||||
@ -2960,7 +2895,6 @@ class ResponseList(TransferFunction):
|
||||
# Register ResponseList in _math:
|
||||
_math.ResponseList_swigregister(ResponseList)
|
||||
|
||||
|
||||
def fft(spec, data):
|
||||
r"""fft(ComplexDoubleArray spec, DoubleArray data)"""
|
||||
return _math.fft(spec, data)
|
||||
@ -3010,21 +2944,21 @@ class vectorc(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(vectorc self, std::vector< std::complex< double > >::difference_type i)
|
||||
__delitem__(vectorc self, PySliceObject * slice)
|
||||
__delitem__(vectorc self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _math.vectorc___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(vectorc self, PySliceObject * slice) -> vectorc
|
||||
__getitem__(vectorc self, SWIGPY_SLICEOBJECT * slice) -> vectorc
|
||||
__getitem__(vectorc self, std::vector< std::complex< double > >::difference_type i) -> std::vector< std::complex< double > >::value_type const &
|
||||
"""
|
||||
return _math.vectorc___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(vectorc self, PySliceObject * slice, vectorc v)
|
||||
__setitem__(vectorc self, PySliceObject * slice)
|
||||
__setitem__(vectorc self, SWIGPY_SLICEOBJECT * slice, vectorc v)
|
||||
__setitem__(vectorc self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(vectorc self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::value_type const & x)
|
||||
"""
|
||||
return _math.vectorc___setitem__(self, *args)
|
||||
@ -3135,5 +3069,3 @@ class vectorc(object):
|
||||
# Register vectorc in _math:
|
||||
_math.vectorc_swigregister(vectorc)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -221,13 +221,20 @@ class Bulletin(object):
|
||||
tim = org.time().value()
|
||||
lat = org.latitude().value()
|
||||
lon = org.longitude().value()
|
||||
dep = org.depth().value()
|
||||
|
||||
timerr = uncertainty(org.time())
|
||||
laterr = uncertainty(org.latitude())
|
||||
lonerr = uncertainty(org.longitude())
|
||||
deperr = uncertainty(org.depth())
|
||||
tstr = time2str(tim)
|
||||
|
||||
dep = None
|
||||
deperr = None
|
||||
try:
|
||||
dep = org.depth().value()
|
||||
deperr = uncertainty(org.depth())
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
originHeader = "Origin:\n"
|
||||
if evt:
|
||||
if org.publicID() != evt.preferredOriginID():
|
||||
@ -283,10 +290,15 @@ class Bulletin(object):
|
||||
txt += f" Longitude {lon:10.5f} deg\n"
|
||||
else:
|
||||
txt += f" Longitude {lon:7.2f} deg\n"
|
||||
if self.enhanced:
|
||||
txt += f" Depth {dep:11.3f} km"
|
||||
|
||||
if dep:
|
||||
if self.enhanced:
|
||||
txt += f" Depth {dep:11.3f} km"
|
||||
else:
|
||||
txt += f" Depth {dep:7.0f} km"
|
||||
else:
|
||||
txt += f" Depth {dep:7.0f} km"
|
||||
txt += " Depth N/A"
|
||||
|
||||
if deperr is None:
|
||||
txt += "\n"
|
||||
elif deperr == 0:
|
||||
@ -399,6 +411,11 @@ class Bulletin(object):
|
||||
mag = org.magnitude(i)
|
||||
val = mag.magnitude().value()
|
||||
typ = mag.type()
|
||||
magStationCount = "N/A"
|
||||
try:
|
||||
magStationCount = f"{mag.stationCount():3d}"
|
||||
except ValueError:
|
||||
pass
|
||||
networkMagnitudes[typ] = mag
|
||||
|
||||
for k in range(mag.stationMagnitudeContributionCount()):
|
||||
@ -424,11 +441,12 @@ class Bulletin(object):
|
||||
pass
|
||||
else:
|
||||
agencyID = ""
|
||||
txt += " %-8s %5.2f %8s %3d %s %s\n" % (
|
||||
|
||||
txt += " %-8s %5.2f %8s %s %s %s\n" % (
|
||||
typ,
|
||||
val,
|
||||
err,
|
||||
mag.stationCount(),
|
||||
magStationCount,
|
||||
preferredMarker,
|
||||
agencyID,
|
||||
)
|
||||
@ -460,11 +478,18 @@ class Bulletin(object):
|
||||
pass
|
||||
else:
|
||||
agencyID = ""
|
||||
txt += " %-8s %5.2f %8s %3d %s %s\n" % (
|
||||
|
||||
magStationCount = "N/A"
|
||||
try:
|
||||
magStationCount = f"{mag.stationCount():3d}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
txt += " %-8s %5.2f %8s %s %s %s\n" % (
|
||||
typ,
|
||||
val,
|
||||
err,
|
||||
mag.stationCount(),
|
||||
magStationCount,
|
||||
preferredMarker,
|
||||
agencyID,
|
||||
)
|
||||
@ -712,11 +737,18 @@ class Bulletin(object):
|
||||
|
||||
txt = ""
|
||||
|
||||
dep = "N/A"
|
||||
if self.enhanced:
|
||||
depth = org.depth().value()
|
||||
try:
|
||||
dep = f"{org.depth().value():.3f}"
|
||||
except Exception:
|
||||
pass
|
||||
sTime = org.time().value().toString("%Y/%m/%d %H:%M:%S.%f00")[:24]
|
||||
else:
|
||||
depth = int(org.depth().value() + 0.5)
|
||||
try:
|
||||
dep = f"{int(org.depth().value() + 0.5)}"
|
||||
except Exception:
|
||||
pass
|
||||
sTime = org.time().value().toString("%Y/%m/%d %H:%M:%S.%f")[:22]
|
||||
|
||||
tmp = {
|
||||
@ -725,7 +757,7 @@ class Bulletin(object):
|
||||
"time": sTime,
|
||||
"lat": lat2str(org.latitude().value(), self.enhanced),
|
||||
"lon": lon2str(org.longitude().value(), self.enhanced),
|
||||
"dep": depth,
|
||||
"dep": dep,
|
||||
"reg": seiscomp.seismology.Regions.getRegionName(
|
||||
org.latitude().value(), org.longitude().value()
|
||||
),
|
||||
@ -783,14 +815,14 @@ class Bulletin(object):
|
||||
|
||||
%(method)s solution with earthmodel %(model)s (with start solution, %(nsta)d stations used, weight %(nsta)d):
|
||||
|
||||
%(reg)s %(mtyp)s=%(mval).1f %(time)s %(lat)s %(lon)s %(dep)"""
|
||||
%(reg)s %(mtyp)s=%(mval).1f %(time)s %(lat)s %(lon)s %(dep)s"""
|
||||
if self.enhanced:
|
||||
txtFMT += """.3f km
|
||||
txtFMT += """ km
|
||||
|
||||
Stat Net Date Time Amp Per Res Dist Az mb ML mB
|
||||
"""
|
||||
else:
|
||||
txtFMT += """d km
|
||||
txtFMT += """ km
|
||||
|
||||
Stat Net Date Time Amp Per Res Dist Az mb ML mB
|
||||
"""
|
||||
@ -888,10 +920,13 @@ class Bulletin(object):
|
||||
|
||||
txt += lineFMT % (sta, net, tstr, amp, per, res, dist, azi, mstr)
|
||||
|
||||
if self.enhanced:
|
||||
txt += f"\n RMS-ERR: {org.quality().standardError():.3f}\n\n"
|
||||
else:
|
||||
txt += f"\n RMS-ERR: {org.quality().standardError():.2f}\n\n"
|
||||
try:
|
||||
if self.enhanced:
|
||||
txt += f"\n RMS-ERR: {org.quality().standardError():.3f}\n\n"
|
||||
else:
|
||||
txt += f"\n RMS-ERR: {org.quality().standardError():.2f}\n\n"
|
||||
except ValueError:
|
||||
txt += "\n RMS-ERR: N/A\n\n"
|
||||
|
||||
if evt:
|
||||
try:
|
||||
@ -929,11 +964,12 @@ class Bulletin(object):
|
||||
agencyID = None
|
||||
eType = None
|
||||
prefMagID = None
|
||||
depth = None
|
||||
altitude = None
|
||||
altitude = "N/A"
|
||||
depth = "N/A"
|
||||
sTime = None
|
||||
mode = None
|
||||
status = None
|
||||
|
||||
if evt:
|
||||
evid = evt.publicID()
|
||||
pos = evid.find("#") # XXX Hack!!!
|
||||
@ -991,17 +1027,22 @@ class Bulletin(object):
|
||||
if self.enhanced:
|
||||
latitude = f"{org.latitude().value():.3f}"
|
||||
longitude = f"{org.longitude().value():.3f}"
|
||||
depth = float(f"{org.depth().value():.3f}")
|
||||
try:
|
||||
depth = float(f"{org.depth().value():.3f}")
|
||||
altitude = -1.0 * depth
|
||||
except ValueError:
|
||||
pass
|
||||
sTime = org.time().value().toString("%FT%T.%f")[:23]
|
||||
else:
|
||||
latitude = f"{org.latitude().value():.1f}"
|
||||
longitude = f"{org.longitude().value():.1f}"
|
||||
depth = float(f"{org.depth().value():.0f}")
|
||||
try:
|
||||
depth = int(f"{org.depth().value():.0f}")
|
||||
altitude = -1 * depth
|
||||
except ValueError:
|
||||
pass
|
||||
sTime = org.time().value().toString("%FT%T.%f")[:21]
|
||||
|
||||
if depth:
|
||||
altitude = -1.0 * float(depth)
|
||||
|
||||
try:
|
||||
region = seiscomp.seismology.Regions.getRegionName(
|
||||
org.latitude().value(), org.longitude().value()
|
||||
@ -1064,15 +1105,18 @@ class Bulletin(object):
|
||||
size = 1
|
||||
# scale symbolColor with depth
|
||||
# global default: 0:FF0000,50:ffA500,100:FFFF00,250:00FF00,600:0000FF
|
||||
if depth < 50:
|
||||
symbolColor = "ff0000ff"
|
||||
elif depth >= 50 and depth < 100:
|
||||
symbolColor = "ff00a5ff"
|
||||
elif depth >= 100 and depth < 250:
|
||||
symbolColor = "ff00ffff"
|
||||
elif depth >= 250 and depth < 600:
|
||||
symbolColor = "ff00ff00"
|
||||
else:
|
||||
try:
|
||||
if depth < 50:
|
||||
symbolColor = "ff0000ff"
|
||||
elif depth >= 50 and depth < 100:
|
||||
symbolColor = "ff00a5ff"
|
||||
elif depth >= 100 and depth < 250:
|
||||
symbolColor = "ff00ffff"
|
||||
elif depth >= 250 and depth < 600:
|
||||
symbolColor = "ff00ff00"
|
||||
else:
|
||||
symbolColor = "ffff0000"
|
||||
except Exception:
|
||||
symbolColor = "ffff0000"
|
||||
txt += f"<Style><IconStyle><scale>{size}</scale><color>{symbolColor}</color></IconStyle></Style>"
|
||||
txt += f"<Point><coordinates>{longitude},{latitude},{altitude}</coordinates></Point>"
|
||||
@ -1081,13 +1125,25 @@ class Bulletin(object):
|
||||
|
||||
return txt
|
||||
|
||||
def _printOriginFDSN(self, org):
|
||||
def _printOriginFDSN(self, org, extra=False):
|
||||
evt = self._evt
|
||||
|
||||
if not evt and self._dbq:
|
||||
evt = self._dbq.getEvent(org.publicID())
|
||||
|
||||
author, agencyID, eType, prefMagID = "", "", "", ""
|
||||
|
||||
try:
|
||||
author = org.creationInfo().author()
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
if not self.useEventAgencyID:
|
||||
try:
|
||||
agencyID = org.creationInfo().agencyID()
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
fm = None
|
||||
if evt:
|
||||
evid = evt.publicID()
|
||||
pos = evid.find("#") # XXX Hack!!!
|
||||
@ -1099,35 +1155,174 @@ class Bulletin(object):
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
author = org.creationInfo().author()
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
if self.useEventAgencyID:
|
||||
try:
|
||||
agencyID = evt.creationInfo().agencyID()
|
||||
except ValueError:
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
agencyID = org.creationInfo().agencyID()
|
||||
except ValueError:
|
||||
pass
|
||||
agencyID = ""
|
||||
|
||||
try:
|
||||
eType = QMLTypeMapper.EventTypeToString(evt.type())
|
||||
except ValueError:
|
||||
pass
|
||||
if extra:
|
||||
fm = seiscomp.datamodel.FocalMechanism.Find(
|
||||
evt.preferredFocalMechanismID()
|
||||
)
|
||||
if not fm:
|
||||
fm = evt.preferredFocalMechanismID()
|
||||
else:
|
||||
evid = ""
|
||||
prefMagID = ""
|
||||
|
||||
if extra:
|
||||
try:
|
||||
status = seiscomp.datamodel.EEvaluationStatusNames.name(
|
||||
org.evaluationStatus()
|
||||
)
|
||||
except ValueError:
|
||||
status = ""
|
||||
|
||||
try:
|
||||
mode = seiscomp.datamodel.EEvaluationModeNames.name(
|
||||
org.evaluationMode()
|
||||
)
|
||||
except ValueError:
|
||||
mode = ""
|
||||
|
||||
try:
|
||||
value = org.quality().azimuthalGap()
|
||||
if self.enhanced:
|
||||
gap = f"{value:.1f}"
|
||||
else:
|
||||
gap = f"{value:.0f}"
|
||||
except ValueError:
|
||||
gap = ""
|
||||
|
||||
try:
|
||||
value = org.quality().standardError()
|
||||
if self.enhanced:
|
||||
rms = f"{value:.3f}"
|
||||
else:
|
||||
rms = f"{value:.0f}"
|
||||
except ValueError:
|
||||
rms = ""
|
||||
|
||||
try:
|
||||
value = org.quality().minimumDistance()
|
||||
if self.distInKM:
|
||||
value = seiscomp.math.deg2km(value)
|
||||
if self.enhanced:
|
||||
minDist = f"{value:.3f}"
|
||||
else:
|
||||
minDist = f"{value:.0f}"
|
||||
else:
|
||||
if self.enhanced:
|
||||
minDist = f"{value:.5f}"
|
||||
else:
|
||||
minDist = f"{value:.0f}"
|
||||
except ValueError:
|
||||
minDist = ""
|
||||
|
||||
try:
|
||||
value = org.quality().maximumDistance()
|
||||
if self.distInKM:
|
||||
value = seiscomp.math.deg2km(value)
|
||||
if self.enhanced:
|
||||
maxDist = f"{value:.3f}"
|
||||
else:
|
||||
maxDist = f"{value:.0f}"
|
||||
else:
|
||||
if self.enhanced:
|
||||
maxDist = f"{value:.5f}"
|
||||
else:
|
||||
maxDist = f"{value:.0f}"
|
||||
except ValueError:
|
||||
maxDist = ""
|
||||
|
||||
pCount = 0
|
||||
sCount = 0
|
||||
for i in range(org.arrivalCount()):
|
||||
if org.arrival(i).phase().code() == "P":
|
||||
pCount += 1
|
||||
elif org.arrival(i).phase().code() == "S":
|
||||
sCount += 1
|
||||
else:
|
||||
continue
|
||||
|
||||
np1Strike = ""
|
||||
np1Dip = ""
|
||||
np1Rake = ""
|
||||
np2Strike = ""
|
||||
np2Dip = ""
|
||||
np2Rake = ""
|
||||
if fm:
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane1().strike().value()
|
||||
if self.enhanced:
|
||||
np1Strike = f"{value:.1f}"
|
||||
else:
|
||||
np1Strike = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane1().dip().value()
|
||||
if self.enhanced:
|
||||
np1Dip = f"{value:.1f}"
|
||||
else:
|
||||
np1Dip = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane1().rake().value()
|
||||
if self.enhanced:
|
||||
np1Rake = f"{value:.1f}"
|
||||
else:
|
||||
np1Rake = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane2().strike().value()
|
||||
if self.enhanced:
|
||||
np2Strike = f"{value:.1f}"
|
||||
else:
|
||||
np2Strike = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane2().dip().value()
|
||||
if self.enhanced:
|
||||
np2Dip = f"{value:.1f}"
|
||||
else:
|
||||
np2Dip = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
try:
|
||||
value = fm.nodalPlanes().nodalPlane2().rake().value()
|
||||
if self.enhanced:
|
||||
np2Rake = f"{value:.1f}"
|
||||
else:
|
||||
np2Rake = f"{value:.0f}"
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
depth = ""
|
||||
try:
|
||||
if self.enhanced:
|
||||
depth = f"{org.depth().value():.3f}"
|
||||
else:
|
||||
depth = f"{org.depth().value():.0f}"
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if self.enhanced:
|
||||
depth = f"{org.depth().value():.3f}"
|
||||
sTime = org.time().value().toString("%FT%T.%f")[:26]
|
||||
else:
|
||||
depth = f"{org.depth().value():.0f}"
|
||||
sTime = org.time().value().toString("%FT%T.%f")[:23]
|
||||
|
||||
lat = lat2str(org.latitude().value(), self.enhanced)
|
||||
@ -1167,7 +1362,7 @@ class Bulletin(object):
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
txt = "%s|%s|%s|%s|%s|%s||%s|%s|%s|%s|%s|%s|%s\n" % (
|
||||
txt = "%s|%s|%s|%s|%s|%s||%s|%s|%s|%s|%s|%s|%s" % (
|
||||
evid,
|
||||
sTime,
|
||||
lat,
|
||||
@ -1183,9 +1378,16 @@ class Bulletin(object):
|
||||
eType,
|
||||
)
|
||||
|
||||
if extra:
|
||||
txt = (
|
||||
f"{txt}|{status}|{mode}|{pCount}|{sCount}|{gap}|{rms}|{minDist}|"
|
||||
f"{maxDist}|{np1Strike}|{np1Dip}|{np1Rake}|{np2Strike}|{np2Dip}|{np2Rake}"
|
||||
)
|
||||
txt = f"{txt}\n"
|
||||
|
||||
return txt
|
||||
|
||||
def printOrigin(self, origin):
|
||||
def printOrigin(self, origin, extra=False):
|
||||
org = None
|
||||
if isinstance(origin, seiscomp.datamodel.Origin):
|
||||
org = origin
|
||||
@ -1199,19 +1401,17 @@ class Bulletin(object):
|
||||
raise TypeError("illegal type for origin")
|
||||
|
||||
if self.format == "fdsnws":
|
||||
return self._printOriginFDSN(org)
|
||||
return self._printOriginFDSN(org, extra=extra)
|
||||
elif self.format == "autoloc1":
|
||||
return self._printOriginAutoloc1(org)
|
||||
elif self.format == "autoloc3":
|
||||
return self._printOriginAutoloc3(org, extra=False)
|
||||
elif self.format == "autoloc3extra":
|
||||
return self._printOriginAutoloc3(org, extra=True)
|
||||
elif "autoloc3" in self.format:
|
||||
return self._printOriginAutoloc3(org, extra=extra)
|
||||
if self.format == "kml":
|
||||
return self._printOriginKML(org)
|
||||
else:
|
||||
pass
|
||||
|
||||
def printEvent(self, event):
|
||||
def printEvent(self, event, extra=False):
|
||||
try:
|
||||
evt = None
|
||||
if isinstance(event, seiscomp.datamodel.Event):
|
||||
@ -1219,7 +1419,7 @@ class Bulletin(object):
|
||||
org = seiscomp.datamodel.Origin.Find(event.preferredOriginID())
|
||||
if not org:
|
||||
org = event.preferredOriginID()
|
||||
return self.printOrigin(org)
|
||||
return self.printOrigin(org, extra)
|
||||
elif isinstance(event, str):
|
||||
if self._dbq:
|
||||
evt = self._dbq.loadObject(
|
||||
@ -1229,7 +1429,7 @@ class Bulletin(object):
|
||||
self._evt = evt
|
||||
if evt is None:
|
||||
raise KeyError("unknown event " + event)
|
||||
return self.printOrigin(evt.preferredOriginID())
|
||||
return self.printOrigin(evt.preferredOriginID(), extra)
|
||||
else:
|
||||
raise TypeError("illegal type for event")
|
||||
finally:
|
||||
@ -1246,6 +1446,7 @@ class BulletinApp(seiscomp.client.Application):
|
||||
self.setLoadRegionsEnabled(True)
|
||||
|
||||
self.format = "autoloc1"
|
||||
self.extra = False
|
||||
self.inputFile = None
|
||||
|
||||
def createCommandLineDescription(self):
|
||||
@ -1290,12 +1491,14 @@ class BulletinApp(seiscomp.client.Application):
|
||||
)
|
||||
|
||||
self.commandline().addGroup("Output")
|
||||
self.commandline().addOption("Output", "autoloc1,1", "Format: autoloc1.")
|
||||
self.commandline().addOption(
|
||||
"Output", "autoloc1,1", "Format: autoloc1 (default)."
|
||||
)
|
||||
self.commandline().addOption("Output", "autoloc3,3", "Format: autoloc3.")
|
||||
self.commandline().addOption(
|
||||
"Output",
|
||||
"fdsnws,4",
|
||||
"Format: FDSNWS event text, e.g., for generating catalogs.",
|
||||
"Format: FDSNWS event text. One line per event like in catalogs.",
|
||||
)
|
||||
self.commandline().addOption(
|
||||
"Output",
|
||||
@ -1305,7 +1508,8 @@ class BulletinApp(seiscomp.client.Application):
|
||||
self.commandline().addOption(
|
||||
"Output",
|
||||
"enhanced,e",
|
||||
"Enhanced output precision for local earthquakes.",
|
||||
"Enhanced output with hiher precision. Times: milliseconds, distances: "
|
||||
"meter. Use for bulletins of local earthquakes.",
|
||||
)
|
||||
self.commandline().addOption(
|
||||
"Output", "dist-in-km,k", "Print distances in km instead of degree."
|
||||
@ -1313,10 +1517,16 @@ class BulletinApp(seiscomp.client.Application):
|
||||
self.commandline().addStringOption(
|
||||
"Output",
|
||||
"output,o",
|
||||
"Name of output file. If not given, all event parameters are printed to stdout.",
|
||||
"Name of output file. If not given, all event parameters are printed "
|
||||
"to stdout.",
|
||||
)
|
||||
self.commandline().addOption(
|
||||
"Output", "extra,x", "Extra detailed autoloc3 format."
|
||||
"Output",
|
||||
"extra,x",
|
||||
"Extra detailed output for specific output formats adding\n"
|
||||
"- 3/autoloc3: IDs of preferred objects and creation information\n"
|
||||
"- 4/FDSNWS event text: Additional columns\n"
|
||||
"More information may be added in future versions.",
|
||||
)
|
||||
except RuntimeError:
|
||||
seiscomp.logging.warning(f"caught unexpected error {sys.exc_info()}")
|
||||
@ -1397,13 +1607,15 @@ Create a bulletin from event parameters in XML
|
||||
if mw != "" and mw is not None:
|
||||
bulletin.minArrivalWeight = float(mw)
|
||||
|
||||
try:
|
||||
self.extra = self.commandline().hasOption("extra")
|
||||
except RuntimeError:
|
||||
pass
|
||||
|
||||
if self.commandline().hasOption("autoloc1"):
|
||||
bulletin.format = "autoloc1"
|
||||
elif self.commandline().hasOption("autoloc3"):
|
||||
if self.commandline().hasOption("extra"):
|
||||
bulletin.format = "autoloc3extra"
|
||||
else:
|
||||
bulletin.format = "autoloc3"
|
||||
bulletin.format = "autoloc3"
|
||||
|
||||
if self.commandline().hasOption("fdsnws"):
|
||||
bulletin.format = "fdsnws"
|
||||
@ -1436,13 +1648,13 @@ Create a bulletin from event parameters in XML
|
||||
if evid:
|
||||
for ev in evid.split(","):
|
||||
try:
|
||||
txt += bulletin.printEvent(ev)
|
||||
txt += bulletin.printEvent(ev, self.extra)
|
||||
except ValueError:
|
||||
seiscomp.logging.error(f"Unknown event '{ev}'")
|
||||
elif orid:
|
||||
for org in orid.split(","):
|
||||
try:
|
||||
txt += bulletin.printOrigin(org)
|
||||
txt += bulletin.printOrigin(org, self.extra)
|
||||
except ValueError:
|
||||
seiscomp.logging.error(f"Unknown origin '{org}'")
|
||||
else:
|
||||
@ -1493,7 +1705,7 @@ Create a bulletin from event parameters in XML
|
||||
|
||||
if self.commandline().hasOption("first-only"):
|
||||
org = ep.origin(0)
|
||||
txt = bulletin.printOrigin(org)
|
||||
txt = bulletin.printOrigin(org, self.extra)
|
||||
else:
|
||||
txt = ""
|
||||
for i in range(ep.originCount()):
|
||||
@ -1504,7 +1716,7 @@ Create a bulletin from event parameters in XML
|
||||
% (inputFile, org.publicID())
|
||||
)
|
||||
continue
|
||||
txt += bulletin.printOrigin(org)
|
||||
txt += bulletin.printOrigin(org, self.extra)
|
||||
else:
|
||||
if self.commandline().hasOption("first-only"):
|
||||
ev = ep.event(0)
|
||||
@ -1520,7 +1732,7 @@ Create a bulletin from event parameters in XML
|
||||
for oid in orid.split(","):
|
||||
org = ep.findOrigin(oid)
|
||||
if org:
|
||||
txt += bulletin.printOrigin(org)
|
||||
txt += bulletin.printOrigin(org, self.extra)
|
||||
else:
|
||||
seiscomp.logging.error(
|
||||
f"{inputFile}: Skipping origin with ID {oid}"
|
||||
@ -1537,7 +1749,7 @@ Create a bulletin from event parameters in XML
|
||||
continue
|
||||
|
||||
try:
|
||||
txt += bulletin.printEvent(ev)
|
||||
txt += bulletin.printEvent(ev, self.extra)
|
||||
except KeyError:
|
||||
raise TypeError("Unknown event")
|
||||
|
||||
@ -1556,12 +1768,23 @@ Create a bulletin from event parameters in XML
|
||||
out = sys.stdout
|
||||
|
||||
if bulletin.format == "fdsnws":
|
||||
print(
|
||||
header = (
|
||||
"#EventID|Time|Latitude|Longitude|Depth/km|Author|"
|
||||
"Catalog|Contributor|ContributorID|MagType|Magnitude|"
|
||||
"MagAuthor|EventLocationName|EventType",
|
||||
file=out,
|
||||
"MagAuthor|EventLocationName|EventType"
|
||||
)
|
||||
if bulletin.distInKM:
|
||||
distUnit = "km"
|
||||
else:
|
||||
distUnit = "°"
|
||||
if self.extra:
|
||||
header = (
|
||||
f"{header}|Status|Mode|PPhaseCount|SPhaseCount|"
|
||||
f"AzimuthalGap/°|RMS/s|MinDistance/{distUnit}|MaxDistance/"
|
||||
f"{distUnit}|NP1_Strike|NP1_Dip|NP1_Rake|NP2_Strike|NP2_Dip|"
|
||||
"NP2_Rake"
|
||||
)
|
||||
print(f"{header}", file=out)
|
||||
|
||||
if bulletin.format == "kml":
|
||||
text = createKML("open")
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
"""Codes for various seismological computations"""
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _seismology
|
||||
@ -31,10 +28,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -125,7 +122,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _seismology:
|
||||
_seismology.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
import seiscomp.io
|
||||
import seiscomp.math
|
||||
import seiscomp.core
|
||||
@ -174,21 +170,21 @@ class TravelTimeList_internal(object):
|
||||
def __delitem__(self, *args):
|
||||
r"""
|
||||
__delitem__(TravelTimeList_internal self, std::list< Seiscomp::TravelTime >::difference_type i)
|
||||
__delitem__(TravelTimeList_internal self, PySliceObject * slice)
|
||||
__delitem__(TravelTimeList_internal self, SWIGPY_SLICEOBJECT * slice)
|
||||
"""
|
||||
return _seismology.TravelTimeList_internal___delitem__(self, *args)
|
||||
|
||||
def __getitem__(self, *args):
|
||||
r"""
|
||||
__getitem__(TravelTimeList_internal self, PySliceObject * slice) -> TravelTimeList_internal
|
||||
__getitem__(TravelTimeList_internal self, SWIGPY_SLICEOBJECT * slice) -> TravelTimeList_internal
|
||||
__getitem__(TravelTimeList_internal self, std::list< Seiscomp::TravelTime >::difference_type i) -> TravelTime
|
||||
"""
|
||||
return _seismology.TravelTimeList_internal___getitem__(self, *args)
|
||||
|
||||
def __setitem__(self, *args):
|
||||
r"""
|
||||
__setitem__(TravelTimeList_internal self, PySliceObject * slice, TravelTimeList_internal v)
|
||||
__setitem__(TravelTimeList_internal self, PySliceObject * slice)
|
||||
__setitem__(TravelTimeList_internal self, SWIGPY_SLICEOBJECT * slice, TravelTimeList_internal v)
|
||||
__setitem__(TravelTimeList_internal self, SWIGPY_SLICEOBJECT * slice)
|
||||
__setitem__(TravelTimeList_internal self, std::list< Seiscomp::TravelTime >::difference_type i, TravelTime x)
|
||||
"""
|
||||
return _seismology.TravelTimeList_internal___setitem__(self, *args)
|
||||
@ -302,7 +298,6 @@ class TravelTimeList_internal(object):
|
||||
|
||||
# Register TravelTimeList_internal in _seismology:
|
||||
_seismology.TravelTimeList_internal_swigregister(TravelTimeList_internal)
|
||||
|
||||
class Regions(object):
|
||||
r"""Proxy of C++ Seiscomp::Regions class."""
|
||||
|
||||
@ -345,31 +340,6 @@ class Regions(object):
|
||||
|
||||
# Register Regions in _seismology:
|
||||
_seismology.Regions_swigregister(Regions)
|
||||
|
||||
def Regions_getFlinnEngdahlRegion(lat, lon):
|
||||
r"""Regions_getFlinnEngdahlRegion(double lat, double lon) -> std::string"""
|
||||
return _seismology.Regions_getFlinnEngdahlRegion(lat, lon)
|
||||
|
||||
def Regions_getFlinnEngdahlRegionsCount():
|
||||
r"""Regions_getFlinnEngdahlRegionsCount() -> int"""
|
||||
return _seismology.Regions_getFlinnEngdahlRegionsCount()
|
||||
|
||||
def Regions_getFlinnEngdahlRegionById(id):
|
||||
r"""Regions_getFlinnEngdahlRegionById(int id) -> std::string"""
|
||||
return _seismology.Regions_getFlinnEngdahlRegionById(id)
|
||||
|
||||
def Regions_load():
|
||||
r"""Regions_load()"""
|
||||
return _seismology.Regions_load()
|
||||
|
||||
def Regions_getRegionName(lat, lon):
|
||||
r"""Regions_getRegionName(double lat, double lon) -> std::string"""
|
||||
return _seismology.Regions_getRegionName(lat, lon)
|
||||
|
||||
def Regions_polyRegions():
|
||||
r"""Regions_polyRegions() -> Seiscomp::Geo::PolyRegions &"""
|
||||
return _seismology.Regions_polyRegions()
|
||||
|
||||
SC3_LOCATOR_INTERFACE_VERSION = _seismology.SC3_LOCATOR_INTERFACE_VERSION
|
||||
|
||||
class SensorLocationDelegate(seiscomp.core.BaseObject):
|
||||
@ -388,7 +358,6 @@ class SensorLocationDelegate(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SensorLocationDelegate in _seismology:
|
||||
_seismology.SensorLocationDelegate_swigregister(SensorLocationDelegate)
|
||||
|
||||
class LocatorInterface(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::Seismology::LocatorInterface class."""
|
||||
|
||||
@ -533,11 +502,6 @@ class LocatorInterface(seiscomp.core.BaseObject):
|
||||
|
||||
# Register LocatorInterface in _seismology:
|
||||
_seismology.LocatorInterface_swigregister(LocatorInterface)
|
||||
|
||||
def LocatorInterface_Create(algo):
|
||||
r"""LocatorInterface_Create(char const * algo) -> LocatorInterface"""
|
||||
return _seismology.LocatorInterface_Create(algo)
|
||||
|
||||
class PickNotFoundException(seiscomp.core.GeneralException):
|
||||
r"""Proxy of C++ Seiscomp::Seismology::PickNotFoundException class."""
|
||||
|
||||
@ -554,7 +518,6 @@ class PickNotFoundException(seiscomp.core.GeneralException):
|
||||
|
||||
# Register PickNotFoundException in _seismology:
|
||||
_seismology.PickNotFoundException_swigregister(PickNotFoundException)
|
||||
|
||||
class LocatorException(seiscomp.core.GeneralException):
|
||||
r"""Proxy of C++ Seiscomp::Seismology::LocatorException class."""
|
||||
|
||||
@ -571,7 +534,6 @@ class LocatorException(seiscomp.core.GeneralException):
|
||||
|
||||
# Register LocatorException in _seismology:
|
||||
_seismology.LocatorException_swigregister(LocatorException)
|
||||
|
||||
class StationNotFoundException(seiscomp.core.GeneralException):
|
||||
r"""Proxy of C++ Seiscomp::Seismology::StationNotFoundException class."""
|
||||
|
||||
@ -589,7 +551,6 @@ class StationNotFoundException(seiscomp.core.GeneralException):
|
||||
# Register StationNotFoundException in _seismology:
|
||||
_seismology.StationNotFoundException_swigregister(StationNotFoundException)
|
||||
|
||||
|
||||
def arrivalToFlags(arrival):
|
||||
r"""arrivalToFlags(Arrival arrival) -> int"""
|
||||
return _seismology.arrivalToFlags(arrival)
|
||||
@ -610,7 +571,6 @@ class FileNotFoundError(seiscomp.core.GeneralException):
|
||||
|
||||
# Register FileNotFoundError in _seismology:
|
||||
_seismology.FileNotFoundError_swigregister(FileNotFoundError)
|
||||
|
||||
class MultipleModelsError(seiscomp.core.GeneralException):
|
||||
r"""Proxy of C++ Seiscomp::MultipleModelsError class."""
|
||||
|
||||
@ -624,7 +584,6 @@ class MultipleModelsError(seiscomp.core.GeneralException):
|
||||
|
||||
# Register MultipleModelsError in _seismology:
|
||||
_seismology.MultipleModelsError_swigregister(MultipleModelsError)
|
||||
|
||||
class NoPhaseError(seiscomp.core.GeneralException):
|
||||
r"""Proxy of C++ Seiscomp::NoPhaseError class."""
|
||||
|
||||
@ -638,7 +597,6 @@ class NoPhaseError(seiscomp.core.GeneralException):
|
||||
|
||||
# Register NoPhaseError in _seismology:
|
||||
_seismology.NoPhaseError_swigregister(NoPhaseError)
|
||||
|
||||
class TravelTime(object):
|
||||
r"""Proxy of C++ Seiscomp::TravelTime class."""
|
||||
|
||||
@ -665,12 +623,11 @@ class TravelTime(object):
|
||||
dtdh = property(_seismology.TravelTime_dtdh_get, _seismology.TravelTime_dtdh_set, doc=r"""dtdh : double""")
|
||||
dddp = property(_seismology.TravelTime_dddp_get, _seismology.TravelTime_dddp_set, doc=r"""dddp : double""")
|
||||
takeoff = property(_seismology.TravelTime_takeoff_get, _seismology.TravelTime_takeoff_set, doc=r"""takeoff : double""")
|
||||
azi = property(_seismology.TravelTime_azi_get, _seismology.TravelTime_azi_set, doc=r"""azi : Seiscomp::Core::Optional<(double)>::Impl""")
|
||||
azi = property(_seismology.TravelTime_azi_get, _seismology.TravelTime_azi_set, doc=r"""azi : Seiscomp::Core::Optional<(double)>""")
|
||||
__swig_destroy__ = _seismology.delete_TravelTime
|
||||
|
||||
# Register TravelTime in _seismology:
|
||||
_seismology.TravelTime_swigregister(TravelTime)
|
||||
|
||||
class TravelTimeList(TravelTimeList_internal):
|
||||
r"""Proxy of C++ Seiscomp::TravelTimeList class."""
|
||||
|
||||
@ -694,7 +651,6 @@ class TravelTimeList(TravelTimeList_internal):
|
||||
|
||||
# Register TravelTimeList in _seismology:
|
||||
_seismology.TravelTimeList_swigregister(TravelTimeList)
|
||||
|
||||
class TravelTimeTableInterface(seiscomp.core.BaseObject):
|
||||
r"""Proxy of C++ Seiscomp::TravelTimeTableInterface class."""
|
||||
|
||||
@ -735,11 +691,6 @@ class TravelTimeTableInterface(seiscomp.core.BaseObject):
|
||||
|
||||
# Register TravelTimeTableInterface in _seismology:
|
||||
_seismology.TravelTimeTableInterface_swigregister(TravelTimeTableInterface)
|
||||
|
||||
def TravelTimeTableInterface_Create(name):
|
||||
r"""TravelTimeTableInterface_Create(char const * name) -> TravelTimeTableInterface"""
|
||||
return _seismology.TravelTimeTableInterface_Create(name)
|
||||
|
||||
class TravelTimeTable(TravelTimeTableInterface):
|
||||
r"""Proxy of C++ Seiscomp::TravelTimeTable class."""
|
||||
|
||||
@ -773,10 +724,9 @@ class TravelTimeTable(TravelTimeTableInterface):
|
||||
# Register TravelTimeTable in _seismology:
|
||||
_seismology.TravelTimeTable_swigregister(TravelTimeTable)
|
||||
|
||||
|
||||
def ellipcorr(phase, lat1, lon1, lat2, lon2, depth, corr):
|
||||
r"""ellipcorr(std::string const & phase, double lat1, double lon1, double lat2, double lon2, double depth, double & corr) -> bool"""
|
||||
return _seismology.ellipcorr(phase, lat1, lon1, lat2, lon2, depth, corr)
|
||||
def ellipticityCorrection(phase, lat1, lon1, depth, lat2, lon2):
|
||||
r"""ellipticityCorrection(std::string const & phase, double lat1, double lon1, double depth, double lat2, double lon2) -> double"""
|
||||
return _seismology.ellipticityCorrection(phase, lat1, lon1, depth, lat2, lon2)
|
||||
|
||||
def getPhase(arg1, phaseCode):
|
||||
r"""getPhase(TravelTimeList arg1, std::string const & phaseCode) -> TravelTime"""
|
||||
@ -785,115 +735,4 @@ def getPhase(arg1, phaseCode):
|
||||
def firstArrivalP(arg1):
|
||||
r"""firstArrivalP(TravelTimeList arg1) -> TravelTime"""
|
||||
return _seismology.firstArrivalP(arg1)
|
||||
class LocSATErrorEllipsoid(object):
|
||||
r"""Proxy of C++ Seiscomp::LocSATErrorEllipsoid class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def __init__(self):
|
||||
r"""__init__(LocSATErrorEllipsoid self) -> LocSATErrorEllipsoid"""
|
||||
_seismology.LocSATErrorEllipsoid_swiginit(self, _seismology.new_LocSATErrorEllipsoid())
|
||||
sxx = property(_seismology.LocSATErrorEllipsoid_sxx_get, _seismology.LocSATErrorEllipsoid_sxx_set, doc=r"""sxx : float""")
|
||||
syy = property(_seismology.LocSATErrorEllipsoid_syy_get, _seismology.LocSATErrorEllipsoid_syy_set, doc=r"""syy : float""")
|
||||
szz = property(_seismology.LocSATErrorEllipsoid_szz_get, _seismology.LocSATErrorEllipsoid_szz_set, doc=r"""szz : float""")
|
||||
stt = property(_seismology.LocSATErrorEllipsoid_stt_get, _seismology.LocSATErrorEllipsoid_stt_set, doc=r"""stt : float""")
|
||||
sxy = property(_seismology.LocSATErrorEllipsoid_sxy_get, _seismology.LocSATErrorEllipsoid_sxy_set, doc=r"""sxy : float""")
|
||||
sxz = property(_seismology.LocSATErrorEllipsoid_sxz_get, _seismology.LocSATErrorEllipsoid_sxz_set, doc=r"""sxz : float""")
|
||||
syz = property(_seismology.LocSATErrorEllipsoid_syz_get, _seismology.LocSATErrorEllipsoid_syz_set, doc=r"""syz : float""")
|
||||
stx = property(_seismology.LocSATErrorEllipsoid_stx_get, _seismology.LocSATErrorEllipsoid_stx_set, doc=r"""stx : float""")
|
||||
sty = property(_seismology.LocSATErrorEllipsoid_sty_get, _seismology.LocSATErrorEllipsoid_sty_set, doc=r"""sty : float""")
|
||||
stz = property(_seismology.LocSATErrorEllipsoid_stz_get, _seismology.LocSATErrorEllipsoid_stz_set, doc=r"""stz : float""")
|
||||
sdobs = property(_seismology.LocSATErrorEllipsoid_sdobs_get, _seismology.LocSATErrorEllipsoid_sdobs_set, doc=r"""sdobs : float""")
|
||||
smajax = property(_seismology.LocSATErrorEllipsoid_smajax_get, _seismology.LocSATErrorEllipsoid_smajax_set, doc=r"""smajax : float""")
|
||||
sminax = property(_seismology.LocSATErrorEllipsoid_sminax_get, _seismology.LocSATErrorEllipsoid_sminax_set, doc=r"""sminax : float""")
|
||||
strike = property(_seismology.LocSATErrorEllipsoid_strike_get, _seismology.LocSATErrorEllipsoid_strike_set, doc=r"""strike : float""")
|
||||
sdepth = property(_seismology.LocSATErrorEllipsoid_sdepth_get, _seismology.LocSATErrorEllipsoid_sdepth_set, doc=r"""sdepth : float""")
|
||||
stime = property(_seismology.LocSATErrorEllipsoid_stime_get, _seismology.LocSATErrorEllipsoid_stime_set, doc=r"""stime : float""")
|
||||
conf = property(_seismology.LocSATErrorEllipsoid_conf_get, _seismology.LocSATErrorEllipsoid_conf_set, doc=r"""conf : float""")
|
||||
__swig_destroy__ = _seismology.delete_LocSATErrorEllipsoid
|
||||
|
||||
# Register LocSATErrorEllipsoid in _seismology:
|
||||
_seismology.LocSATErrorEllipsoid_swigregister(LocSATErrorEllipsoid)
|
||||
|
||||
class LocSAT(LocatorInterface):
|
||||
r"""Proxy of C++ Seiscomp::LocSAT class."""
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def __init__(self):
|
||||
r"""__init__(LocSAT self) -> LocSAT"""
|
||||
_seismology.LocSAT_swiginit(self, _seismology.new_LocSAT())
|
||||
__swig_destroy__ = _seismology.delete_LocSAT
|
||||
|
||||
def init(self, config):
|
||||
r"""init(LocSAT self, Config config) -> bool"""
|
||||
return _seismology.LocSAT_init(self, config)
|
||||
|
||||
def parameters(self):
|
||||
r"""parameters(LocSAT self) -> VectorStr"""
|
||||
return _seismology.LocSAT_parameters(self)
|
||||
|
||||
def parameter(self, name):
|
||||
r"""parameter(LocSAT self, std::string const & name) -> std::string"""
|
||||
return _seismology.LocSAT_parameter(self, name)
|
||||
|
||||
def setParameter(self, name, value):
|
||||
r"""setParameter(LocSAT self, std::string const & name, std::string const & value) -> bool"""
|
||||
return _seismology.LocSAT_setParameter(self, name, value)
|
||||
|
||||
def profiles(self):
|
||||
r"""profiles(LocSAT self) -> VectorStr"""
|
||||
return _seismology.LocSAT_profiles(self)
|
||||
|
||||
def setProfile(self, name):
|
||||
r"""setProfile(LocSAT self, std::string const & name)"""
|
||||
return _seismology.LocSAT_setProfile(self, name)
|
||||
|
||||
@staticmethod
|
||||
def setDefaultProfile(name):
|
||||
r"""setDefaultProfile(std::string const & name)"""
|
||||
return _seismology.LocSAT_setDefaultProfile(name)
|
||||
|
||||
@staticmethod
|
||||
def currentDefaultProfile():
|
||||
r"""currentDefaultProfile() -> std::string"""
|
||||
return _seismology.LocSAT_currentDefaultProfile()
|
||||
|
||||
def setNewOriginID(self, newOriginID):
|
||||
r"""setNewOriginID(LocSAT self, std::string const & newOriginID)"""
|
||||
return _seismology.LocSAT_setNewOriginID(self, newOriginID)
|
||||
|
||||
def capabilities(self):
|
||||
r"""capabilities(LocSAT self) -> int"""
|
||||
return _seismology.LocSAT_capabilities(self)
|
||||
|
||||
def locate(self, *args):
|
||||
r"""
|
||||
locate(LocSAT self, Seiscomp::Seismology::LocatorInterface::PickList & pickList) -> Origin
|
||||
locate(LocSAT self, Seiscomp::Seismology::LocatorInterface::PickList & pickList, double initLat, double initLon, double initDepth, Time initTime) -> Origin
|
||||
"""
|
||||
return _seismology.LocSAT_locate(self, *args)
|
||||
|
||||
def relocate(self, origin):
|
||||
r"""relocate(LocSAT self, Origin origin) -> Origin"""
|
||||
return _seismology.LocSAT_relocate(self, origin)
|
||||
|
||||
def errorEllipsoid(self):
|
||||
r"""errorEllipsoid(LocSAT self) -> LocSATErrorEllipsoid"""
|
||||
return _seismology.LocSAT_errorEllipsoid(self)
|
||||
|
||||
# Register LocSAT in _seismology:
|
||||
_seismology.LocSAT_swigregister(LocSAT)
|
||||
|
||||
def LocSAT_setDefaultProfile(name):
|
||||
r"""LocSAT_setDefaultProfile(std::string const & name)"""
|
||||
return _seismology.LocSAT_setDefaultProfile(name)
|
||||
|
||||
def LocSAT_currentDefaultProfile():
|
||||
r"""LocSAT_currentDefaultProfile() -> std::string"""
|
||||
return _seismology.LocSAT_currentDefaultProfile()
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# This file was automatically generated by SWIG (https://www.swig.org).
|
||||
# Version 4.3.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# Do not make changes to this file unless you know what you are doing - modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info < (2, 7, 0):
|
||||
raise RuntimeError("Python 2.7 or later required")
|
||||
|
||||
# Import the low-level C/C++ module
|
||||
if __package__ or "." in __name__:
|
||||
from . import _system
|
||||
@ -29,10 +26,10 @@ def _swig_repr(self):
|
||||
|
||||
def _swig_setattr_nondynamic_instance_variable(set):
|
||||
def set_instance_attr(self, name, value):
|
||||
if name == "thisown":
|
||||
self.this.own(value)
|
||||
elif name == "this":
|
||||
if name == "this":
|
||||
set(self, name, value)
|
||||
elif name == "thisown":
|
||||
self.this.own(value)
|
||||
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
||||
set(self, name, value)
|
||||
else:
|
||||
@ -123,7 +120,6 @@ class SwigPyIterator(object):
|
||||
|
||||
# Register SwigPyIterator in _system:
|
||||
_system.SwigPyIterator_swigregister(SwigPyIterator)
|
||||
|
||||
import seiscomp.core
|
||||
import seiscomp.logging
|
||||
import seiscomp.config
|
||||
@ -179,7 +175,6 @@ class CommandLine(object):
|
||||
|
||||
# Register CommandLine in _system:
|
||||
_system.CommandLine_swigregister(CommandLine)
|
||||
|
||||
class Environment(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -249,10 +244,6 @@ class Environment(object):
|
||||
|
||||
# Register Environment in _system:
|
||||
_system.Environment_swigregister(Environment)
|
||||
|
||||
def Environment_Instance():
|
||||
return _system.Environment_Instance()
|
||||
|
||||
class PluginRegistry(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -293,13 +284,6 @@ class PluginRegistry(object):
|
||||
# Register PluginRegistry in _system:
|
||||
_system.PluginRegistry_swigregister(PluginRegistry)
|
||||
|
||||
def PluginRegistry_Instance():
|
||||
return _system.PluginRegistry_Instance()
|
||||
|
||||
def PluginRegistry_Reset():
|
||||
return _system.PluginRegistry_Reset()
|
||||
|
||||
|
||||
def join(prefix, relativeName):
|
||||
return _system.join(prefix, relativeName)
|
||||
class SystemApplication(object):
|
||||
@ -510,13 +494,6 @@ class SystemApplication(object):
|
||||
|
||||
# Register SystemApplication in _system:
|
||||
_system.SystemApplication_swigregister(SystemApplication)
|
||||
|
||||
def SystemApplication_Instance():
|
||||
return _system.SystemApplication_Instance()
|
||||
|
||||
def SystemApplication_HandleSignals(termination, crash):
|
||||
return _system.SystemApplication_HandleSignals(termination, crash)
|
||||
|
||||
class HostInfo(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -548,7 +525,6 @@ class HostInfo(object):
|
||||
|
||||
# Register HostInfo in _system:
|
||||
_system.HostInfo_swigregister(HostInfo)
|
||||
|
||||
class SchemaParameter(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -583,6 +559,9 @@ class SchemaParameter(seiscomp.core.BaseObject):
|
||||
name = property(_system.SchemaParameter_name_get, _system.SchemaParameter_name_set)
|
||||
type = property(_system.SchemaParameter_type_get, _system.SchemaParameter_type_set)
|
||||
unit = property(_system.SchemaParameter_unit_get, _system.SchemaParameter_unit_set)
|
||||
range = property(_system.SchemaParameter_range_get, _system.SchemaParameter_range_set)
|
||||
values = property(_system.SchemaParameter_values_get, _system.SchemaParameter_values_set)
|
||||
options = property(_system.SchemaParameter_options_get, _system.SchemaParameter_options_set)
|
||||
defaultValue = property(_system.SchemaParameter_defaultValue_get, _system.SchemaParameter_defaultValue_set)
|
||||
description = property(_system.SchemaParameter_description_get, _system.SchemaParameter_description_set)
|
||||
readOnly = property(_system.SchemaParameter_readOnly_get, _system.SchemaParameter_readOnly_set)
|
||||
@ -590,19 +569,6 @@ class SchemaParameter(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaParameter in _system:
|
||||
_system.SchemaParameter_swigregister(SchemaParameter)
|
||||
|
||||
def SchemaParameter_ClassName():
|
||||
return _system.SchemaParameter_ClassName()
|
||||
|
||||
def SchemaParameter_TypeInfo():
|
||||
return _system.SchemaParameter_TypeInfo()
|
||||
|
||||
def SchemaParameter_Cast(*args):
|
||||
return _system.SchemaParameter_Cast(*args)
|
||||
|
||||
def SchemaParameter_ConstCast(*args):
|
||||
return _system.SchemaParameter_ConstCast(*args)
|
||||
|
||||
class SchemaParameters(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -661,23 +627,48 @@ class SchemaParameters(seiscomp.core.BaseObject):
|
||||
|
||||
def serialize(self, ar):
|
||||
return _system.SchemaParameters_serialize(self, ar)
|
||||
structExtents = property(_system.SchemaParameters_structExtents_get, _system.SchemaParameters_structExtents_set)
|
||||
__swig_destroy__ = _system.delete_SchemaParameters
|
||||
|
||||
# Register SchemaParameters in _system:
|
||||
_system.SchemaParameters_swigregister(SchemaParameters)
|
||||
class SchemaStructExtent(SchemaParameters):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
def SchemaParameters_ClassName():
|
||||
return _system.SchemaParameters_ClassName()
|
||||
@staticmethod
|
||||
def ClassName():
|
||||
return _system.SchemaStructExtent_ClassName()
|
||||
|
||||
def SchemaParameters_TypeInfo():
|
||||
return _system.SchemaParameters_TypeInfo()
|
||||
@staticmethod
|
||||
def TypeInfo():
|
||||
return _system.SchemaStructExtent_TypeInfo()
|
||||
|
||||
def SchemaParameters_Cast(*args):
|
||||
return _system.SchemaParameters_Cast(*args)
|
||||
def className(self):
|
||||
return _system.SchemaStructExtent_className(self)
|
||||
|
||||
def SchemaParameters_ConstCast(*args):
|
||||
return _system.SchemaParameters_ConstCast(*args)
|
||||
def typeInfo(self):
|
||||
return _system.SchemaStructExtent_typeInfo(self)
|
||||
|
||||
@staticmethod
|
||||
def Cast(*args):
|
||||
return _system.SchemaStructExtent_Cast(*args)
|
||||
|
||||
@staticmethod
|
||||
def ConstCast(*args):
|
||||
return _system.SchemaStructExtent_ConstCast(*args)
|
||||
|
||||
def serialize(self, ar):
|
||||
return _system.SchemaStructExtent_serialize(self, ar)
|
||||
type = property(_system.SchemaStructExtent_type_get, _system.SchemaStructExtent_type_set)
|
||||
matchName = property(_system.SchemaStructExtent_matchName_get, _system.SchemaStructExtent_matchName_set)
|
||||
|
||||
def __init__(self):
|
||||
_system.SchemaStructExtent_swiginit(self, _system.new_SchemaStructExtent())
|
||||
__swig_destroy__ = _system.delete_SchemaStructExtent
|
||||
|
||||
# Register SchemaStructExtent in _system:
|
||||
_system.SchemaStructExtent_swigregister(SchemaStructExtent)
|
||||
class SchemaGroup(SchemaParameters):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -715,19 +706,6 @@ class SchemaGroup(SchemaParameters):
|
||||
|
||||
# Register SchemaGroup in _system:
|
||||
_system.SchemaGroup_swigregister(SchemaGroup)
|
||||
|
||||
def SchemaGroup_ClassName():
|
||||
return _system.SchemaGroup_ClassName()
|
||||
|
||||
def SchemaGroup_TypeInfo():
|
||||
return _system.SchemaGroup_TypeInfo()
|
||||
|
||||
def SchemaGroup_Cast(*args):
|
||||
return _system.SchemaGroup_Cast(*args)
|
||||
|
||||
def SchemaGroup_ConstCast(*args):
|
||||
return _system.SchemaGroup_ConstCast(*args)
|
||||
|
||||
class SchemaStructure(SchemaParameters):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -767,19 +745,6 @@ class SchemaStructure(SchemaParameters):
|
||||
|
||||
# Register SchemaStructure in _system:
|
||||
_system.SchemaStructure_swigregister(SchemaStructure)
|
||||
|
||||
def SchemaStructure_ClassName():
|
||||
return _system.SchemaStructure_ClassName()
|
||||
|
||||
def SchemaStructure_TypeInfo():
|
||||
return _system.SchemaStructure_TypeInfo()
|
||||
|
||||
def SchemaStructure_Cast(*args):
|
||||
return _system.SchemaStructure_Cast(*args)
|
||||
|
||||
def SchemaStructure_ConstCast(*args):
|
||||
return _system.SchemaStructure_ConstCast(*args)
|
||||
|
||||
class SchemaSetupInputOption(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -818,19 +783,6 @@ class SchemaSetupInputOption(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaSetupInputOption in _system:
|
||||
_system.SchemaSetupInputOption_swigregister(SchemaSetupInputOption)
|
||||
|
||||
def SchemaSetupInputOption_ClassName():
|
||||
return _system.SchemaSetupInputOption_ClassName()
|
||||
|
||||
def SchemaSetupInputOption_TypeInfo():
|
||||
return _system.SchemaSetupInputOption_TypeInfo()
|
||||
|
||||
def SchemaSetupInputOption_Cast(*args):
|
||||
return _system.SchemaSetupInputOption_Cast(*args)
|
||||
|
||||
def SchemaSetupInputOption_ConstCast(*args):
|
||||
return _system.SchemaSetupInputOption_ConstCast(*args)
|
||||
|
||||
class SchemaSetupInput(SchemaParameter):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -869,19 +821,6 @@ class SchemaSetupInput(SchemaParameter):
|
||||
|
||||
# Register SchemaSetupInput in _system:
|
||||
_system.SchemaSetupInput_swigregister(SchemaSetupInput)
|
||||
|
||||
def SchemaSetupInput_ClassName():
|
||||
return _system.SchemaSetupInput_ClassName()
|
||||
|
||||
def SchemaSetupInput_TypeInfo():
|
||||
return _system.SchemaSetupInput_TypeInfo()
|
||||
|
||||
def SchemaSetupInput_Cast(*args):
|
||||
return _system.SchemaSetupInput_Cast(*args)
|
||||
|
||||
def SchemaSetupInput_ConstCast(*args):
|
||||
return _system.SchemaSetupInput_ConstCast(*args)
|
||||
|
||||
class SchemaSetupGroup(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -919,19 +858,6 @@ class SchemaSetupGroup(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaSetupGroup in _system:
|
||||
_system.SchemaSetupGroup_swigregister(SchemaSetupGroup)
|
||||
|
||||
def SchemaSetupGroup_ClassName():
|
||||
return _system.SchemaSetupGroup_ClassName()
|
||||
|
||||
def SchemaSetupGroup_TypeInfo():
|
||||
return _system.SchemaSetupGroup_TypeInfo()
|
||||
|
||||
def SchemaSetupGroup_Cast(*args):
|
||||
return _system.SchemaSetupGroup_Cast(*args)
|
||||
|
||||
def SchemaSetupGroup_ConstCast(*args):
|
||||
return _system.SchemaSetupGroup_ConstCast(*args)
|
||||
|
||||
class SchemaSetup(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -968,19 +894,6 @@ class SchemaSetup(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaSetup in _system:
|
||||
_system.SchemaSetup_swigregister(SchemaSetup)
|
||||
|
||||
def SchemaSetup_ClassName():
|
||||
return _system.SchemaSetup_ClassName()
|
||||
|
||||
def SchemaSetup_TypeInfo():
|
||||
return _system.SchemaSetup_TypeInfo()
|
||||
|
||||
def SchemaSetup_Cast(*args):
|
||||
return _system.SchemaSetup_Cast(*args)
|
||||
|
||||
def SchemaSetup_ConstCast(*args):
|
||||
return _system.SchemaSetup_ConstCast(*args)
|
||||
|
||||
class SchemaModule(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1031,118 +944,6 @@ class SchemaModule(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaModule in _system:
|
||||
_system.SchemaModule_swigregister(SchemaModule)
|
||||
|
||||
def SchemaModule_ClassName():
|
||||
return _system.SchemaModule_ClassName()
|
||||
|
||||
def SchemaModule_TypeInfo():
|
||||
return _system.SchemaModule_TypeInfo()
|
||||
|
||||
def SchemaModule_Cast(*args):
|
||||
return _system.SchemaModule_Cast(*args)
|
||||
|
||||
def SchemaModule_ConstCast(*args):
|
||||
return _system.SchemaModule_ConstCast(*args)
|
||||
|
||||
class SchemaPluginParameters(SchemaParameters):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
@staticmethod
|
||||
def ClassName():
|
||||
return _system.SchemaPluginParameters_ClassName()
|
||||
|
||||
@staticmethod
|
||||
def TypeInfo():
|
||||
return _system.SchemaPluginParameters_TypeInfo()
|
||||
|
||||
def className(self):
|
||||
return _system.SchemaPluginParameters_className(self)
|
||||
|
||||
def typeInfo(self):
|
||||
return _system.SchemaPluginParameters_typeInfo(self)
|
||||
|
||||
@staticmethod
|
||||
def Cast(*args):
|
||||
return _system.SchemaPluginParameters_Cast(*args)
|
||||
|
||||
@staticmethod
|
||||
def ConstCast(*args):
|
||||
return _system.SchemaPluginParameters_ConstCast(*args)
|
||||
|
||||
def serialize(self, ar):
|
||||
return _system.SchemaPluginParameters_serialize(self, ar)
|
||||
structExtents = property(_system.SchemaPluginParameters_structExtents_get, _system.SchemaPluginParameters_structExtents_set)
|
||||
|
||||
def __init__(self):
|
||||
_system.SchemaPluginParameters_swiginit(self, _system.new_SchemaPluginParameters())
|
||||
__swig_destroy__ = _system.delete_SchemaPluginParameters
|
||||
|
||||
# Register SchemaPluginParameters in _system:
|
||||
_system.SchemaPluginParameters_swigregister(SchemaPluginParameters)
|
||||
|
||||
def SchemaPluginParameters_ClassName():
|
||||
return _system.SchemaPluginParameters_ClassName()
|
||||
|
||||
def SchemaPluginParameters_TypeInfo():
|
||||
return _system.SchemaPluginParameters_TypeInfo()
|
||||
|
||||
def SchemaPluginParameters_Cast(*args):
|
||||
return _system.SchemaPluginParameters_Cast(*args)
|
||||
|
||||
def SchemaPluginParameters_ConstCast(*args):
|
||||
return _system.SchemaPluginParameters_ConstCast(*args)
|
||||
|
||||
class SchemaStructExtent(SchemaPluginParameters):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
|
||||
@staticmethod
|
||||
def ClassName():
|
||||
return _system.SchemaStructExtent_ClassName()
|
||||
|
||||
@staticmethod
|
||||
def TypeInfo():
|
||||
return _system.SchemaStructExtent_TypeInfo()
|
||||
|
||||
def className(self):
|
||||
return _system.SchemaStructExtent_className(self)
|
||||
|
||||
def typeInfo(self):
|
||||
return _system.SchemaStructExtent_typeInfo(self)
|
||||
|
||||
@staticmethod
|
||||
def Cast(*args):
|
||||
return _system.SchemaStructExtent_Cast(*args)
|
||||
|
||||
@staticmethod
|
||||
def ConstCast(*args):
|
||||
return _system.SchemaStructExtent_ConstCast(*args)
|
||||
|
||||
def serialize(self, ar):
|
||||
return _system.SchemaStructExtent_serialize(self, ar)
|
||||
type = property(_system.SchemaStructExtent_type_get, _system.SchemaStructExtent_type_set)
|
||||
matchName = property(_system.SchemaStructExtent_matchName_get, _system.SchemaStructExtent_matchName_set)
|
||||
|
||||
def __init__(self):
|
||||
_system.SchemaStructExtent_swiginit(self, _system.new_SchemaStructExtent())
|
||||
__swig_destroy__ = _system.delete_SchemaStructExtent
|
||||
|
||||
# Register SchemaStructExtent in _system:
|
||||
_system.SchemaStructExtent_swigregister(SchemaStructExtent)
|
||||
|
||||
def SchemaStructExtent_ClassName():
|
||||
return _system.SchemaStructExtent_ClassName()
|
||||
|
||||
def SchemaStructExtent_TypeInfo():
|
||||
return _system.SchemaStructExtent_TypeInfo()
|
||||
|
||||
def SchemaStructExtent_Cast(*args):
|
||||
return _system.SchemaStructExtent_Cast(*args)
|
||||
|
||||
def SchemaStructExtent_ConstCast(*args):
|
||||
return _system.SchemaStructExtent_ConstCast(*args)
|
||||
|
||||
class SchemaPlugin(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1183,19 +984,6 @@ class SchemaPlugin(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaPlugin in _system:
|
||||
_system.SchemaPlugin_swigregister(SchemaPlugin)
|
||||
|
||||
def SchemaPlugin_ClassName():
|
||||
return _system.SchemaPlugin_ClassName()
|
||||
|
||||
def SchemaPlugin_TypeInfo():
|
||||
return _system.SchemaPlugin_TypeInfo()
|
||||
|
||||
def SchemaPlugin_Cast(*args):
|
||||
return _system.SchemaPlugin_Cast(*args)
|
||||
|
||||
def SchemaPlugin_ConstCast(*args):
|
||||
return _system.SchemaPlugin_ConstCast(*args)
|
||||
|
||||
class SchemaBinding(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1236,19 +1024,6 @@ class SchemaBinding(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaBinding in _system:
|
||||
_system.SchemaBinding_swigregister(SchemaBinding)
|
||||
|
||||
def SchemaBinding_ClassName():
|
||||
return _system.SchemaBinding_ClassName()
|
||||
|
||||
def SchemaBinding_TypeInfo():
|
||||
return _system.SchemaBinding_TypeInfo()
|
||||
|
||||
def SchemaBinding_Cast(*args):
|
||||
return _system.SchemaBinding_Cast(*args)
|
||||
|
||||
def SchemaBinding_ConstCast(*args):
|
||||
return _system.SchemaBinding_ConstCast(*args)
|
||||
|
||||
class SchemaDefinitions(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1301,7 +1076,6 @@ class SchemaDefinitions(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SchemaDefinitions in _system:
|
||||
_system.SchemaDefinitions_swigregister(SchemaDefinitions)
|
||||
|
||||
class SchemaVisitor(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -1311,7 +1085,6 @@ class SchemaVisitor(object):
|
||||
|
||||
# Register SchemaVisitor in _system:
|
||||
_system.SchemaVisitor_swigregister(SchemaVisitor)
|
||||
|
||||
class ConfigDelegate(seiscomp.config.Logger):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1349,7 +1122,6 @@ class ConfigDelegate(seiscomp.config.Logger):
|
||||
|
||||
# Register ConfigDelegate in _system:
|
||||
_system.ConfigDelegate_swigregister(ConfigDelegate)
|
||||
|
||||
class SymbolMapItem(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1362,7 +1134,6 @@ class SymbolMapItem(seiscomp.core.BaseObject):
|
||||
|
||||
# Register SymbolMapItem in _system:
|
||||
_system.SymbolMapItem_swigregister(SymbolMapItem)
|
||||
|
||||
class Container(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -1425,7 +1196,6 @@ class Container(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Container in _system:
|
||||
_system.Container_swigregister(Container)
|
||||
|
||||
class Parameter(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1464,6 +1234,7 @@ class Parameter(seiscomp.core.BaseObject):
|
||||
parent = property(_system.Parameter_parent_get, _system.Parameter_parent_set)
|
||||
super = property(_system.Parameter_super_get, _system.Parameter_super_set)
|
||||
definition = property(_system.Parameter_definition_get, _system.Parameter_definition_set)
|
||||
initial = property(_system.Parameter_initial_get, _system.Parameter_initial_set)
|
||||
symbols = property(_system.Parameter_symbols_get, _system.Parameter_symbols_set)
|
||||
symbol = property(_system.Parameter_symbol_get, _system.Parameter_symbol_set)
|
||||
variableName = property(_system.Parameter_variableName_get, _system.Parameter_variableName_set)
|
||||
@ -1471,13 +1242,6 @@ class Parameter(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Parameter in _system:
|
||||
_system.Parameter_swigregister(Parameter)
|
||||
|
||||
def Parameter_ClassName():
|
||||
return _system.Parameter_ClassName()
|
||||
|
||||
def Parameter_TypeInfo():
|
||||
return _system.Parameter_TypeInfo()
|
||||
|
||||
class Structure(Container):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1517,13 +1281,6 @@ class Structure(Container):
|
||||
|
||||
# Register Structure in _system:
|
||||
_system.Structure_swigregister(Structure)
|
||||
|
||||
def Structure_ClassName():
|
||||
return _system.Structure_ClassName()
|
||||
|
||||
def Structure_TypeInfo():
|
||||
return _system.Structure_TypeInfo()
|
||||
|
||||
class Group(Container):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1558,13 +1315,6 @@ class Group(Container):
|
||||
|
||||
# Register Group in _system:
|
||||
_system.Group_swigregister(Group)
|
||||
|
||||
def Group_ClassName():
|
||||
return _system.Group_ClassName()
|
||||
|
||||
def Group_TypeInfo():
|
||||
return _system.Group_TypeInfo()
|
||||
|
||||
class Section(Container):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1600,13 +1350,6 @@ class Section(Container):
|
||||
|
||||
# Register Section in _system:
|
||||
_system.Section_swigregister(Section)
|
||||
|
||||
def Section_ClassName():
|
||||
return _system.Section_ClassName()
|
||||
|
||||
def Section_TypeInfo():
|
||||
return _system.Section_TypeInfo()
|
||||
|
||||
class Binding(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1657,13 +1400,6 @@ class Binding(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Binding in _system:
|
||||
_system.Binding_swigregister(Binding)
|
||||
|
||||
def Binding_ClassName():
|
||||
return _system.Binding_ClassName()
|
||||
|
||||
def Binding_TypeInfo():
|
||||
return _system.Binding_TypeInfo()
|
||||
|
||||
class BindingCategory(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1708,7 +1444,6 @@ class BindingCategory(seiscomp.core.BaseObject):
|
||||
|
||||
# Register BindingCategory in _system:
|
||||
_system.BindingCategory_swigregister(BindingCategory)
|
||||
|
||||
class ModuleBinding(Binding):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1759,13 +1494,6 @@ class ModuleBinding(Binding):
|
||||
|
||||
# Register ModuleBinding in _system:
|
||||
_system.ModuleBinding_swigregister(ModuleBinding)
|
||||
|
||||
def ModuleBinding_ClassName():
|
||||
return _system.ModuleBinding_ClassName()
|
||||
|
||||
def ModuleBinding_TypeInfo():
|
||||
return _system.ModuleBinding_TypeInfo()
|
||||
|
||||
class StationID(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1784,7 +1512,6 @@ class StationID(object):
|
||||
|
||||
# Register StationID in _system:
|
||||
_system.StationID_swigregister(StationID)
|
||||
|
||||
class Module(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1872,13 +1599,6 @@ class Module(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Module in _system:
|
||||
_system.Module_swigregister(Module)
|
||||
|
||||
def Module_ClassName():
|
||||
return _system.Module_ClassName()
|
||||
|
||||
def Module_TypeInfo():
|
||||
return _system.Module_TypeInfo()
|
||||
|
||||
class Station(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -1917,13 +1637,6 @@ class Station(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Station in _system:
|
||||
_system.Station_swigregister(Station)
|
||||
|
||||
def Station_ClassName():
|
||||
return _system.Station_ClassName()
|
||||
|
||||
def Station_TypeInfo():
|
||||
return _system.Station_TypeInfo()
|
||||
|
||||
class Model(seiscomp.core.BaseObject):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2000,13 +1713,6 @@ class Model(seiscomp.core.BaseObject):
|
||||
|
||||
# Register Model in _system:
|
||||
_system.Model_swigregister(Model)
|
||||
|
||||
def Model_ClassName():
|
||||
return _system.Model_ClassName()
|
||||
|
||||
def Model_TypeInfo():
|
||||
return _system.Model_TypeInfo()
|
||||
|
||||
class ModelVisitor(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
|
||||
@ -2016,7 +1722,6 @@ class ModelVisitor(object):
|
||||
|
||||
# Register ModelVisitor in _system:
|
||||
_system.ModelVisitor_swigregister(ModelVisitor)
|
||||
|
||||
class BindingMap(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2124,7 +1829,6 @@ class BindingMap(object):
|
||||
|
||||
# Register BindingMap in _system:
|
||||
_system.BindingMap_swigregister(BindingMap)
|
||||
|
||||
class GroupVector(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2230,7 +1934,6 @@ class GroupVector(object):
|
||||
|
||||
# Register GroupVector in _system:
|
||||
_system.GroupVector_swigregister(GroupVector)
|
||||
|
||||
class ParameterVector(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2336,7 +2039,6 @@ class ParameterVector(object):
|
||||
|
||||
# Register ParameterVector in _system:
|
||||
_system.ParameterVector_swigregister(ParameterVector)
|
||||
|
||||
class StructureVector(object):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
||||
__repr__ = _swig_repr
|
||||
@ -2443,5 +2145,3 @@ class StructureVector(object):
|
||||
# Register StructureVector in _system:
|
||||
_system.StructureVector_swigregister(StructureVector)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user