Sensor Panel Plots¶
Module: spectralbridge.sensor_panel_plots.
Generate multi-panel sensor comparison scatter plots from merged Parquet tables.
This module promotes the plotting helpers that previously lived only inside the
deprecated/pixel_extraction notebooks. The functions exposed here replicate
the layout and styling of the legacy figures so that the modern processing
pipeline can emit the same QA artifacts automatically.
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.make_sensor_vs_neon_panels.
make_sensor_vs_neon_panels ¶
make_sensor_vs_neon_panels(merged_dir: str | Path, out_dir: str | Path | None = None, *, max_points: int = 50000, sentinel_at_or_below: float = -9999.0) -> List[Path]
Render matched sensor products against corrected NEON bands.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
merged_dir
|
str | Path
|
Directory of existing merged Parquets with recognized sensor-labelled spectral columns. |
required |
out_dir
|
str | Path | None
|
Directory for generated products; bulk outputs must be outside the read-only input tree. |
None
|
max_points
|
int
|
Maximum sampled points per plotted pair; controls rendering cost rather than total source-row coverage. |
50000
|
sentinel_at_or_below
|
float
|
Exclude values at or below this numeric sentinel in stored reflectance units before paired plotting. |
-9999.0
|
Returns:
| Type | Description |
|---|---|
List[Path]
|
Paths to saved paired-scatter panel images; unsupported/missing sensor groups are skipped. |
See Also
spectralbridge.pipelines.pipeline.process_one_flightline : Related source-derived API contract.
Audience: public. Also exported as spectralbridge.make_micasense_vs_landsat_panels.
make_micasense_vs_landsat_panels ¶
make_micasense_vs_landsat_panels(merged_dir: str | Path, out_dir: str | Path | None = None, *, max_points: int = 50000, sentinel_at_or_below: float = -9999.0) -> List[Path]
Render wavelength-matched MicaSense and Landsat diagnostic panels.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
merged_dir
|
str | Path
|
Directory of existing merged Parquets with recognized sensor-labelled spectral columns. |
required |
out_dir
|
str | Path | None
|
Directory for generated products; bulk outputs must be outside the read-only input tree. |
None
|
max_points
|
int
|
Maximum sampled points per plotted pair; controls rendering cost rather than total source-row coverage. |
50000
|
sentinel_at_or_below
|
float
|
Exclude values at or below this numeric sentinel in stored reflectance units before paired plotting. |
-9999.0
|
Returns:
| Type | Description |
|---|---|
List[Path]
|
Paths to saved wavelength-matched MicaSense/Landsat panel images; common-source synthetic pairs are diagnostic, not independent calibration. |
See Also
spectralbridge.pipelines.pipeline.process_one_flightline : Related source-derived API contract.