|
gstlal 1.13.0
|
Go to the source code of this file.
Functions | |
| python.pipeio.repack_complex_array_to_real (arr) | |
| python.pipeio.repack_real_array_to_complex (arr) | |
| python.pipeio.get_unit_size (caps) | |
| python.pipeio.numpy_dtype_from_caps (caps) | |
| python.pipeio.format_string_from_numpy_dtype (dtype, formats_dict={ numpy.dtype("float32"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.F32), numpy.dtype("float64"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.F64), numpy.dtype("int8"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S8), numpy.dtype("uint8"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U8), numpy.dtype("int16"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S16), numpy.dtype("uint16"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U16), numpy.dtype("int32"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S32), numpy.dtype("uint32"):GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U32), numpy.dtype("complex64") :"Z64LE", numpy.dtype("complex128") :"Z128LE" }) | |
| python.pipeio.caps_from_array (arr, rate=None) | |
| python.pipeio.array_from_audio_sample (sample) | |
| python.pipeio.audio_buffer_from_array (arr, timestamp, offset, rate) | |
| python.pipeio.parse_spectrum_message (message) | |
| python.pipeio.parse_framesrc_tags (taglist) | |
| python.pipeio.format_property (prop) | |
| python.pipeio.to_gvalue_array (arr) | |
| python.pipeio.is_nested_listlike (obj) | |
| python.pipeio.is_listlike (obj) | |
| format_property | ( | prop | ) |
Formats a property suitable for use in a GStreamer element. Used to convert 2-dimensional data structures to an appropriate type as needed, since the mechanics of how they are treated differ between versions of pygobject. Acts as a no-op depending on the property type and version of pygobject.
| format_string_from_numpy_dtype | ( | dtype, | |
| formats_dict = { numpy.dtype("float32"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.F32), numpy.dtype("float64"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.F64), numpy.dtype("int8"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S8), numpy.dtype("uint8"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U8), numpy.dtype("int16"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S16), numpy.dtype("uint16"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U16), numpy.dtype("int32"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.S32), numpy.dtype("uint32"): GstAudio.AudioFormat.to_string(GstAudio.AudioFormat.U32), numpy.dtype("complex64") : "Z64LE", numpy.dtype("complex128") : "Z128LE" } ) |
| is_nested_listlike | ( | obj | ) |
| parse_spectrum_message | ( | message | ) |
| repack_complex_array_to_real | ( | arr | ) |
Repack a complex-valued array into a real-valued array with twice as many columns. Used to set complex arrays as values on elements that expose them as real-valued array properties (gobject doesn't understand complex numbers). The return value is a view into the input array.
| repack_real_array_to_complex | ( | arr | ) |
Repack a real-valued array into a complex-valued array with half as many columns. Used to retrieve complex arrays from elements that expose them as real-valued array properties (gobject doesn't understand complex numbers). The return value is a view into the input array.