GUIBRUSHR.General_Constants.Classes.ValueErrorTP module

Value-error pair container for temperature profile parameters.

This module contains the ValueErrorTP class which stores a value and its associated uncertainty, commonly used for temperature-pressure profile parameters in atmospheric retrieval.

class GUIBRUSHR.General_Constants.Classes.ValueErrorTP.ValueErrorTP(value, error=None)[source]

Bases: object

Container for storing a value with its associated error.

This simple data class holds a parameter value and its optional uncertainty. It is primarily used for temperature profile (TP) parameters where both the central value and error estimate need to be tracked together.

value

The central parameter value

error

The uncertainty/error on the value (optional)

__init__(value, error=None)[source]

Initialize a value-error pair.

Parameters:
  • value – The parameter value

  • error – The uncertainty on the value (optional, defaults to None)