Skip to content

Brightness Config

Module: spectralbridge.brightness_config.

Direct-module reference; consult the linked workflow for processing context.

API glossary ยท Workflow / scientific context

Signatures and documentation below are collected from the current source. Advanced objects are not newly declared stable by inclusion here.

Audience: public. Also exported as spectralbridge.load_brightness_coefficients.

load_brightness_coefficients

load_brightness_coefficients(system_pair: str = 'landsat_to_micasense') -> Dict[int, float]

Load brightness coefficients for a given system pair.

Parameters:

Name Type Description Default
system_pair str

Key identifying the pair of systems, e.g. "landsat_to_micasense".

'landsat_to_micasense'

Returns:

Type Description
dict[int, float]

Mapping from 1-based band index to brightness coefficient (percent).

Notes
  • Values are stored in percent (e.g., -7.3959 means "reduce by 7.3959%").

Examples:

>>> from spectralbridge import load_brightness_coefficients
>>> coefficients = load_brightness_coefficients()
>>> assert all(isinstance(band, int) and band >= 1 for band in coefficients)