Skip to content

hyperproc.spectral

Source-derived reference

Generated from the current hyperproc 0.1.2 checkout.

Implementation: hyperproc/spectral/__init__.py. Signatures, defaults, docstrings, and expandable source are extracted statically; the module is not imported or executed. Names beginning with _ are implementation details, not a stable public API.

Use the function signature as the authority for individual parameter defaults and return annotations. Original docstrings sometimes group parameter names or wrap return descriptions across lines; these descriptions are preserved rather than inferred or rewritten.

Exported entry points

Importable name Definition
hyperproc.spectral.bands Module
hyperproc.spectral.continuum Module
hyperproc.spectral.derivatives Module
hyperproc.spectral.resampling Module
hyperproc.spectral.smoothing Module
hyperproc.spectral.srf Module
hyperproc.spectral.TOLERANCE hyperproc.spectral.bands.TOLERANCE
hyperproc.spectral.band_at hyperproc.spectral.bands.band_at
hyperproc.spectral.good_bands hyperproc.spectral.bands.good_bands
hyperproc.spectral.runs_of_good_bands hyperproc.spectral.bands.runs_of_good_bands
hyperproc.spectral.continuum_removal hyperproc.spectral.continuum.continuum_removal
hyperproc.spectral.derivative hyperproc.spectral.derivatives.derivative
hyperproc.spectral.smooth_spectra hyperproc.spectral.smoothing.smooth_spectra
hyperproc.spectral.find_spikes hyperproc.spectral.smoothing.find_spikes
hyperproc.spectral.spline_gapfill hyperproc.spectral.smoothing.spline_gapfill
hyperproc.spectral.PRISMA_ARTEFACT_RANGES hyperproc.spectral.smoothing.PRISMA_ARTEFACT_RANGES
hyperproc.spectral.PRISMA_MASK_AFTER hyperproc.spectral.smoothing.PRISMA_MASK_AFTER
hyperproc.spectral.METHODS hyperproc.spectral.resampling.METHODS
hyperproc.spectral.build_fwhm hyperproc.spectral.resampling.build_fwhm
hyperproc.spectral.resample hyperproc.spectral.resampling.resample
hyperproc.spectral.resampling_matrix hyperproc.spectral.resampling.resampling_matrix
hyperproc.spectral.target_grid hyperproc.spectral.resampling.target_grid

Per-spectrum transforms: a cube goes in, a cube comes out.

hyperproc.spectral.bands        addressing a band by wavelength
hyperproc.spectral.smoothing    Savitzky-Golay and moving-average smoothing
hyperproc.spectral.continuum    continuum removal by convex hull
hyperproc.spectral.derivatives  first and second derivatives
hyperproc.spectral.resampling   putting a cube on another band set
hyperproc.spectral.srf          published response functions, fetched and cached

Operations that reduce a spectrum to one number per pixel - spectral indices and absorption depths - live in :mod:hyperproc.features instead, because what comes out of them is a map, not a cube.