curryer.correction.kernel_ops ============================= .. py:module:: curryer.correction.kernel_ops .. autoapi-nested-parse:: SPICE kernel file management for the correction pipeline. This module creates and applies parameter-specific SPICE kernels: - :func:`apply_offset` -- modifies telemetry/science data for ``OFFSET_KERNEL`` and ``OFFSET_TIME`` parameters. - :func:`_create_dynamic_kernels` -- writes SC-SPK/SC-CK kernels from telemetry data (once per image pair, not per parameter set). - :func:`_create_parameter_kernels` -- writes parameter-specific kernels and applies time offsets for each iteration. Attributes ---------- .. autoapisummary:: curryer.correction.kernel_ops.logger Functions --------- .. autoapisummary:: curryer.correction.kernel_ops.apply_offset Module Contents --------------- .. py:data:: logger .. py:function:: apply_offset(config: curryer.correction.config.ParameterConfig, param_data, input_data) Apply parameter offsets to input data based on parameter type. :param config: ParameterConfig specifying how to apply the offset :param param_data: The parameter values to apply (offset amounts) :param input_data: The input dataset to modify :returns: Modified copy of input_data with parameter offsets applied