Coverage for /opt/obspy/update-docs/src/obspy/obspy/signal/headers : 86%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*- Defines the libsignal and evalresp structures and blockettes. """
# Import shared libsignal depending on the platform. # create library names # platform specific library name 'libsignal-%s-%s-py%s' % (platform.system(), platform.architecture()[0], ''.join([str(i) for i in platform.python_version_tuple()[:2]])), # fallback for pre-packaged libraries 'libsignal'] # get default file extension for shared objects # initialize library 'lib', lib_name + lib_extension)) except Exception, e: pass else: msg = 'Could not load shared library for obspy.signal.\n\n %s' % (e) raise ImportError(msg)
# Import shared libevresp depending on the platform. # create library names # platform specific library name 'libevresp-%s-%s-py%s' % (platform.system(), platform.architecture()[0], ''.join([str(i) for i in platform.python_version_tuple()[:2]])), # fallback for pre-packaged libraries 'libevresp'] # initialize library 'lib', erlib_name + lib_extension)) except Exception, e: pass else: msg = 'Could not load shared library for ' + \ 'obspy.signal.invsim.evalresp\n\n %s' % (e) raise ImportError(msg)
C.c_int, C.c_int, C.c_int, C.c_int, C.c_int, C.c_float, np.ctypeslib.ndpointer(dtype='f4', ndim=3, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='c16', ndim=4, flags='C_CONTIGUOUS'), ]
np.ctypeslib.ndpointer(dtype='f8', ndim=2, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='f8', ndim=2, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='c16', ndim=4, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='c16', ndim=3, flags='C_CONTIGUOUS'), C.c_int, C.c_int, C.c_int, C.c_int, C.c_int, C.c_int, C.c_int, C.c_double, C.c_int, ]
np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='float64', ndim=1, flags='C_CONTIGUOUS'), C.c_int, C.c_int, C.c_int, C.POINTER(C.c_int), C.POINTER(C.c_double)]
np.ctypeslib.ndpointer(dtype='float64', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='float64', ndim=1, flags='C_CONTIGUOUS'), C.c_int, C.c_int, C.c_int]
np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), C.c_int, C.POINTER(C.c_int), C.c_char_p, C.c_float, C.c_int, C.c_int, C.c_float, C.c_float, C.c_int, C.c_int]
np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='float32', ndim=1, flags='C_CONTIGUOUS'), C.c_int, C.c_float, C.c_float, C.c_float, C.c_float, C.c_float, C.c_float, C.c_float, C.c_int, C.c_int, C.POINTER(C.c_float), C.POINTER(C.c_float), C.c_double, C.c_double, C.c_int]
C.POINTER(C.c_double), C.POINTER(C.c_double)]
('N', 'u4', 1), ('nsta', 'u4', 1), ('nlta', 'u4', 1), ], align=True)
np.ctypeslib.ndpointer(dtype=head_stalta_t, ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='f8', ndim=1, flags='C_CONTIGUOUS'), np.ctypeslib.ndpointer(dtype='f8', ndim=1, flags='C_CONTIGUOUS'), ]
("imag", C.c_double)]
("network", C.c_char * NETLEN), ("locid", C.c_char * LOCIDLEN), ("channel", C.c_char * CHALEN), ("rvec", C.POINTER(C_COMPLEX)), ("nfreqs", C.c_int), ("freqs", C.POINTER(C.c_double)), ("next", C.POINTER(RESPONSE))]
C.c_char_p, C.c_char_p, C.c_char_p, C.c_char_p, C.c_char_p, C.c_char_p, C.c_char_p, np.ctypeslib.ndpointer(dtype='float64', ndim=1, flags='C_CONTIGUOUS'), C.c_int, C.c_char_p, C.c_char_p, C.c_int, C.c_int, C.c_int, C.c_int]
|