API
Configuration
Interferometric Analysis Configuration.
Attributes
Classes
SCTInterferometricAnalysisConfig
dataclass
Bases: AnalysisConfigABC
SCT Interferometric Analysis configuration
Attributes
base_config
class-attribute
instance-attribute
config_group_name
class-attribute
instance-attribute
Methods:
from_dict
classmethod
Convert from dict
from_toml
classmethod
to_toml
Saving to disk a .toml file from the dataclass instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
out_file
|
Path
|
path to the output .toml file |
required |
Main Analysis Interface
Interferometric Analysis implementation.
Attributes
Classes
Functions:
full_interferometric_analysis
full_interferometric_analysis(product: Path, product_2: Path | None, output_directory: Path, config: SCTInterferometricAnalysisConfig | None, graphs: bool) -> Path
Full implementation of Interferometric Analysis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product
|
Path
|
Path to the product to be analyzed |
required |
product_2
|
Path | None
|
Second co-registered product, must be provided if the first product is not an interferogram |
required |
config
|
SCTInterferometricAnalysisConfig | None
|
analysis configuration parameters, if needed |
required |
output_directory
|
Path
|
Path to the output directory |
required |
graphs
|
bool
|
flag to enable graphs generation |
required |
Returns:
| Type | Description |
|---|---|
Path
|
Path to the NetCDF file containing the results |
Command Line Interface Command
Command Line Interface for Interferometric Analysis.
Attributes
Classes
Functions:
interf_coherence_analysis
interf_coherence_analysis(ctx: Context, product: InputProductOption, output_directory: OutputDirectoryOption, product_2: Path | None = typer.Option(None, '--product_2', '-pp', exists=True, dir_okay=True, help='Second co-registered product, must be provided if the first product is not an interferogram'), graphs: GraphsOption = False) -> None
Interferometric Analysis (Coherence and Coherence intensity 2D histograms).
It can be performed: - using a single interferogram product, via -p/--product argument - using two co-registered products, respectively with -p/--product and -pp/--product_2
Core implementation
Interferometric Analysis
Attributes
Classes
Functions:
sct_interferometric_coherence_analysis
sct_interferometric_coherence_analysis(product_path: str | Path, second_product_path: str | Path | None = None, config: SCTInterferometricAnalysisConfig | None = None) -> list[InterferometricCoherenceOutput]
Computing the interferometric analysis of the input product. Product can contain interferogram information or coherence information. In the first case, coherence is computed before generating the 2D azimuth and range coherence intensity histograms, if enabled in configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product_path
|
str | Path
|
path to the product to be analyzed. it must be an interferogram product or a co-registered product but in that case a second product must be provided |
required |
second_product_path
|
str | Path | None
|
path to the second co-registered product to be analyzed, by default None |
None
|
config
|
SCTInterferometricAnalysisConfig | None
|
SCTInterferometricAnalysisConfig configuration dataclass, by default None |
None
|
Returns:
| Type | Description |
|---|---|
list[InterferometricCoherenceOutput]
|
an InterferometricCoherenceOutput dataclass for each channel |