curryer.correction.kernel_ops

SPICE kernel file management for the correction pipeline.

This module creates and applies parameter-specific SPICE kernels:

  • apply_offset() – modifies telemetry/science data for OFFSET_KERNEL and OFFSET_TIME parameters.

  • _create_dynamic_kernels() – writes SC-SPK/SC-CK kernels from telemetry data (once per image pair, not per parameter set).

  • _create_parameter_kernels() – writes parameter-specific kernels and applies time offsets for each iteration.

Attributes

Functions

apply_offset(config, param_data, input_data)

Apply parameter offsets to input data based on parameter type.

Module Contents

curryer.correction.kernel_ops.logger
curryer.correction.kernel_ops.apply_offset(config: curryer.correction.config.ParameterConfig, param_data, input_data)

Apply parameter offsets to input data based on parameter type.

Parameters:
  • config – ParameterConfig specifying how to apply the offset

  • param_data – The parameter values to apply (offset amounts)

  • input_data – The input dataset to modify

Returns:

Modified copy of input_data with parameter offsets applied