helikite.classes.output_schemas
Attributes
Classes
Processing level identifiers. |
|
Definition of a processing flag. |
|
Configuration for plotting a flight profile variable. |
|
Configuration for shaded regions in flight profile and size distribution plots. |
|
Campaign-specific output configuration. |
|
Registry and factory for predefined output schemas. |
Functions
|
Module Contents
- helikite.classes.output_schemas._build_colors_defaultdict()
- class helikite.classes.output_schemas.Level(*args, **kwds)
Bases:
enum.EnumProcessing level identifiers.
- LEVEL0 = 0
- LEVEL1 = 1
- LEVEL1_5 = 1.5
- LEVEL2 = 2
- class helikite.classes.output_schemas.Flag
Definition of a processing flag.
A flag describes a condition derived from instrument data that marks specific flight or environmental states.
- flag_name: str
Name of the flag column in output data.
- column_name: str
Source column used to compute the flag.
- params: helikite.processing.post.fda.FDAParameters
FDA parameters controlling flag detection.
- y_scale: str = 'log'
Plotting scale hint for visualization.
- __str__()
- class helikite.classes.output_schemas.FlightProfileVariable
Configuration for plotting a flight profile variable.
Defines how a variable is displayed in vertical flight profile plots.
- column_name: str
Name of the data column to plot.
- shade_flags: list[str] = []
Flags for which background shading should be applied.
- plot_kwargs: dict
Matplotlib plotting arguments.
- alpha_ascent: float = 1.0
Opacity for ascent segment.
- alpha_descent: float = 0.5
Opacity for descent segment.
- x_min: numbers.Number | None = None
Lower x-axis bound.
- x_max: numbers.Number | None = None
Upper x-axis bound.
- x_divider: numbers.Number | None = None
Tick spacing hint.
- x_label: str | None = None
Axis label override.
- class helikite.classes.output_schemas.FlightProfileVariableShade
Configuration for shaded regions in flight profile and size distribution plots.
- name: str
Source column used to compute shaded regions.
- condition: Callable[[Level, pandas.Series], pandas.Series]
Predicate function that receives a column value and returns True if the corresponding row should be shaded, False otherwise.
- label: str
Legend label.
- span_kwargs: dict
Matplotlib plotting arguments for shaded spans.
- line_name: str | None = None
Optional column name for overlay line to plot in size distribution plot together with the shaded regions.
- line_kwargs: dict | None = None
Matplotlib plotting arguments for overlay line
- helikite.classes.output_schemas.flag_pollution_cpc
- helikite.classes.output_schemas.flag_hovering
- helikite.classes.output_schemas.flag_cloud_mcda
- helikite.classes.output_schemas.shade_pollution_cpc
- helikite.classes.output_schemas.shade_pollution_cpc_ground
- helikite.classes.output_schemas.shade_hovering
- helikite.classes.output_schemas.shade_cloud_mcda
- helikite.classes.output_schemas.filter_shade_condition(level: Level, values: pandas.Series) pandas.Series
- helikite.classes.output_schemas.shade_filter
- class helikite.classes.output_schemas.OutputSchema
Campaign-specific output configuration.
Defines instruments, plotting styles, and metadata expectations for a campaign.
- campaign: str | None
Campaign name
- instruments: list[helikite.instruments.Instrument]
List of instruments whose columns should be present in the output dataframe.
- colors: dict[helikite.instruments.Instrument | str, str]
[Instrument|column]-to-color dictionary for the consistent across a campaign plotting.
- reference_instrument_candidates: list[helikite.instruments.Instrument]
Reference instrument candidates for the automatic instruments detection
- flight_profile_variables: list[FlightProfileVariable] = []
List of flight profile variables to plot.
- flight_profile_shades: list[FlightProfileVariableShade]
- class helikite.classes.output_schemas.OutputSchemas
Registry and factory for predefined output schemas.
Provides access to campaign configurations and allows runtime registration of custom schemas.
- _REGISTRY: dict[str, OutputSchema]
- ORACLES_24_25
- ORACLES_25_26
- TURTMANN
- ALL
- classmethod from_name(name: str) OutputSchema
Retrieve a schema by name.
- Parameters:
name – Schema identifier (case-insensitive).
- Returns:
OutputSchema instance.
- Raises:
KeyError – If schema is not registered.
- classmethod _register_builtin()
- classmethod register(name: str, schema: OutputSchema, *, overwrite: bool = False)
Register a custom output schema.
- Parameters:
name – Schema identifier.
schema – Schema instance.
overwrite – Whether to replace an existing schema in case of conflict.
- Raises:
ValueError – If schema exists and overwrite is False.
- classmethod keys()
List registered schema names.
- Returns:
Iterable of schema identifiers.