API Reference
Plugin Interface
Spectral Analysis plugin entry point.
Lightweight module: importing it must not pull in the heavy analysis implementation or the scientific stack. All heavy imports are deferred to the accessor methods.
Attributes
Classes
SpectralAnalysisPlugin
Spectral Analysis plugin.
Attributes
short_help
class-attribute
instance-attribute
Methods:
Main API entry point
Spectral Analysis implementation.
Classes
Functions:
full_spectral_analysis
full_spectral_analysis(product: Path, point_target_source: Path | None, output_directory: Path, config: SCTSpectralAnalysisConfig | None, graphs: bool) -> Path
Full implementation of Spectral Analysis, both distributed and point target.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product
|
Path
|
Path to the product to be analyzed |
required |
point_target_source
|
Path | None
|
Path to the point target source file, if not provided the analysis will be a Distributed Spectral Analysis |
required |
output_directory
|
Path
|
Path to the output directory |
required |
config
|
SCTSpectralAnalysisConfig | None
|
analysis configuration parameters, if needed |
required |
graphs
|
bool
|
flag to enable graphs generation |
required |
Returns:
| Type | Description |
|---|---|
Path
|
Path to the NetCDF file containing the results |
CLI commands
Command Line Interface for Spectral Analysis.
Classes
Functions:
spectral_analysis
spectral_analysis(ctx: Context, product: InputProductOption, output_directory: OutputDirectoryOption, point_target_source: InputPointTargetSource = None, graphs: GraphsOption = False) -> None
Point and Distributed Target Spectral Analysis.
It can be performed: - at each visible target location providing a point target source file -pt/--point-target-source - on distributed targets by partitioning the data into azimuth blocks/bursts
Configuration
Spectral Analysis Configuration.