sarkit.cphd.Reader.read_signal
- Reader.read_signal(channel_identifier, *, start_vector=None, stop_vector=None, out=None)
Read signal data from a CPHD file
- Parameters:
- channel_identifier
str Channel unique identifier
- start_vector
intorNone, optional Lowest vector index to retrieve (inclusive). If None, defaults to first vector.
- stop_vector
intorNone, optional Highest vector index to retrieve (exclusive). If None, defaults to one after last vector.
- out
ndarrayorNone, optional Array to store signal data. If None, a new array will be created.
- channel_identifier
- Returns:
ndarraySignal array identified by
channel_identifierWhen standard, shape=(
stop_vector-start_vector, NumSamples), dtype determined by SignalArrayFormat.When compressed, shape=(CompressedSignalSize,), dtype=
numpy.uint8
Notes
start_vectorandstop_vectorare not supported when signal data is compressed