curryer.correction.parameters¶
Parameter set generation for the correction pipeline.
This module provides load_param_sets(), which generates parameter sets
for correction analysis. Three search strategies are supported:
RANDOM(default)Monte Carlo random walk. Each parameter is sampled from a normal distribution centered on
current_valuewith the configuredsigma, clipped tobounds. Controlled byseedandn_iterations.GRID_SEARCHDeterministic cartesian-product sweep.
grid_points_per_paramevenly-spaced offset values are produced for each parameter (spanning its fullboundsrange) and the cartesian product of all per-parameter grids is enumerated.n_iterationsis ignored for this strategy.SINGLE_OFFSETDeterministic single-parameter sweep. Each parameter is varied independently across
n_iterationsevenly-spaced values while all other parameters are held at their nominalcurrent_value.
Supported parameter types:
- CONSTANT_KERNEL – 3-D attitude corrections (roll, pitch, yaw) stored as
a
pandas.DataFramewithugps,angle_x,angle_y,angle_z.
OFFSET_KERNEL– single-axis angle bias (float, in radians).OFFSET_TIME– timing correction (float, in seconds).
Attributes¶
Functions¶
|
Generate parameter sets for correction iterations. |
Module Contents¶
- curryer.correction.parameters.logger¶
- curryer.correction.parameters.load_param_sets(sweep: curryer.correction.config.Sweep) list[list[tuple[curryer.correction.config.ParameterConfig, Any]]]¶
Generate parameter sets for correction iterations.
Dispatches to the appropriate generator based on
sweep.search_strategy:RANDOM– Monte Carlo random walk (default).GRID_SEARCH– deterministic cartesian-product sweep acrossgrid_points_per_paramevenly-spaced values per parameter.SINGLE_OFFSET– deterministic single-parameter sweep; each parameter is varied independently while others stay at nominal.
- Parameters:
sweep (Sweep) – The parameter-variation experiment: parameters, search strategy, and sampling settings.
- Returns:
Outer list: one element per parameter set (iteration). Inner list: one
(ParameterConfig, sampled_value)pair per parameter.sampled_valueis aDataFrameforCONSTANT_KERNELand afloatforOFFSET_KERNEL/OFFSET_TIME.- Return type:
list[list[tuple[ParameterConfig, Any]]]