sarkit.cphd.Reader.read_channel

Reader.read_channel(channel_identifier, *, start_vector=None, stop_vector=None, out_signal=None, out_pvp=None)

Read signal and pvp data from a CPHD file channel

Parameters:
channel_identifierstr

Channel unique identifier

start_vectorint or None, optional

Lowest vector index to retrieve (inclusive). If None, defaults to first vector.

stop_vectorint or None, optional

Highest vector index to retrieve (exclusive). If None, defaults to one after last vector.

out_signalndarray or None, optional

Array to store signal data. If None, a new array will be created.

out_pvpndarray or None, optional

Array to store PVP data. If None, a new array will be created.

Returns:
signal_arrayndarray

Signal array for channel = channel_identifier

pvp_arrayndarray

PVP array for channel = channel_identifier