libera_utils.packet_configs.AggregationGroup#

class libera_utils.packet_configs.AggregationGroup(name: str, field_pattern: str, field_count: int, dtype: ~numpy.dtype = <factory>)#

Bases: object

Configuration for aggregating multiple sequential fields into a single binary blob.

This class defines how to combine multiple numbered fields (e.g., ICIE__WFOV_DATA_0 through ICIE__WFOV_DATA_971) into a single bytes object per packet.

name#

Name for the aggregated variable (e.g., “ICIE__WFOV_DATA”)

Type:

str

field_pattern#

Pattern with %i placeholder for field index (e.g., “ICIE__WFOV_DATA_%i”)

Type:

str

field_count#

Expected number of fields to aggregate (e.g., 972)

Type:

int

dtype#

Resulting numpy dtype for the aggregated data (e.g., np.dtype(’|S972’))

Type:

np.dtype

__init__(name: str, field_pattern: str, field_count: int, dtype: ~numpy.dtype = <factory>) None#

Attributes