expand_calstate

expand_calstate(calstate: IntervalCalState) list[tuple[CalToArgs, list[CalFrom]]][source]

Convert an IntervalCalState into the equivalent consolidated list of (CalToArgs, [CalFrom..]) 2-tuples.

This function is the top-level entry point for converting a calibration state to 2-tuples. It consolidates data selections and converts numeric data selection IDs to friendly equivalents through downstream processing,

Parameters:

calstate -- The IntervalCalState to convert.

Returns:

A list of (CalToArgs, [CalFrom..]) tuples.