lima2.client.Pipeline.cache_byproduct(key, data)

Store data into self.byproduct_cache[key].

Assumes data is a structured array with a “frame_idx” column.

If data exceeds BYPRODUCT_CACHE_LIMIT (in number of frames), entries corresponding to the excess frames will be discarded (starting from the oldest data).