- lmlib.utils.generator.load_data(name, K=- 1, kstart=0, chIdx=0)#
Loads a single channel signal from the signal catalog, see Signal Catalog.
name (str) – Signal name (from signal catalog)
K (int, optional) – Length of signal to be loaded. Default is -1 which loads to end of the file. If K is larger than the maximal signal length, an assertion is raised.
kstart (int, optional) – Signal load start index. Default=0 If k is larger than the maximal signal length, an assertion is raised.
out – Signal with shape=(K,)
- Return type