API
Configuration
Point Target Analysis Configuration.
Attributes
Classes
IonosphericCorrectionsConf
dataclass
SCT Point Target Analysis ionospheric corrections configuration
Attributes
tec_incidence_angle_method
class-attribute
instance-attribute
tec_incidence_angle_method: TECIncidenceAngleMethod = TECIncidenceAngleMethod.GROUND_CONVERTED
Methods:
TroposphericCorrectionsConf
dataclass
SCTPointTargetAnalysisCorrectionsConf
dataclass
SCT Point Target Analysis corrections configuration
Attributes
enable_solid_tides_correction
class-attribute
instance-attribute
enable_plate_tectonics_correction
class-attribute
instance-attribute
enable_sensor_specific_processing_corrections
class-attribute
instance-attribute
enable_ionospheric_correction
class-attribute
instance-attribute
enable_tropospheric_correction
class-attribute
instance-attribute
ionosphere
class-attribute
instance-attribute
troposphere
class-attribute
instance-attribute
Methods:
__init__
__init__(enable_solid_tides_correction: bool = False, enable_plate_tectonics_correction: bool = True, enable_sensor_specific_processing_corrections: bool = True, enable_ionospheric_correction: bool = False, enable_tropospheric_correction: bool = False, ionosphere: IonosphericCorrectionsConf | None = None, troposphere: TroposphericCorrectionsConf | None = None) -> None
from_dict
classmethod
Convert from dict
SCTPointTargetAnalysisConfig
dataclass
Bases: AnalysisConfigABC
SCT Point Target Analysis configuration
Attributes
base_config
class-attribute
instance-attribute
corrections
class-attribute
instance-attribute
corrections: SCTPointTargetAnalysisCorrectionsConf = field(default_factory=SCTPointTargetAnalysisCorrectionsConf)
config_group_name
class-attribute
instance-attribute
Methods:
__init__
__init__(base_config: PointTargetAnalysisConfig = PointTargetAnalysisConfig(), corrections: SCTPointTargetAnalysisCorrectionsConf = SCTPointTargetAnalysisCorrectionsConf()) -> None
base_config_to_dict
staticmethod
Convert base config to dict with SCT configuration conventions.
base_config_from_dict
staticmethod
Convert base config from dict with SCT configuration conventions.
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
Point Target Analysis implementation.
Attributes
Classes
Functions:
full_point_target_analysis
full_point_target_analysis(product: Path, point_target_source: Path, output_directory: Path, external_orbit: Path | None, external_corrections_product: Path | None, config: SCTPointTargetAnalysisConfig | None, graphs: bool) -> Path
Full implementation of Point Target Analysis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product
|
Path
|
Path to the product to be analyzed |
required |
point_target_source
|
Path
|
Path to the point target source file |
required |
output_directory
|
Path
|
Path to the output directory |
required |
external_orbit
|
Path | None
|
Path to the external orbit file, if any |
required |
external_corrections_product
|
Path | None
|
Path to the external corrections product, if any |
required |
config
|
SCTPointTargetAnalysisConfig | None
|
analysis configuration parameters, if needed |
required |
graphs
|
bool
|
flag to enable graphs generation |
required |
Returns:
| Type | Description |
|---|---|
Path
|
Path to the CSV file containing the point target analysis results |
Command Line Interface Command
Command Line Interface for Point Target Analysis.
Attributes
Classes
Functions:
target_analysis
target_analysis(ctx: Context, product: InputProductOption, point_target_source: InputPointTargetSource, output_directory: OutputDirectoryOption, external_orbit: ExternalOrbitInputOption = None, external_corrections_product: ExternalCorrectionInputProductOption = None, graphs: GraphsOption = False) -> None
Point Target Analysis (IRF, Localization and RCS).
target_analysis_implementation
target_analysis_implementation(product: Path, external_orbit: Path | None, external_corrections_product: Path | None, point_target_source: Path, output_directory: Path, config: SCTPointTargetAnalysisConfig, graphs: bool, dump_config: bool) -> None
Implement the point target analysis command.
Core implementation
Point Target Analysis
Attributes
Classes
Functions:
sct_point_target_analysis_with_corrections
sct_point_target_analysis_with_corrections(product_path: str | Path, external_target_source: str | Path, external_orbit_path: str | Path | None = None, external_corrections_product: str | Path | None = None, config: SCTPointTargetAnalysisConfig | None = None) -> tuple[pd.DataFrame, list[PointTargetGraphicalData]]
Point Target Analysis high-level function that executes the proper wrapper of PERSEO-Quality point_target_analysis function based on input product type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product_path
|
str | Path
|
Path to the input product |
required |
external_target_source
|
str | Path
|
path to external point target source (file or folder) |
required |
external_orbit_path
|
str | Path | None
|
Path to the external orbit file, by default None |
None
|
external_corrections_product
|
str | Path | None
|
Path to the external ALE corrections product, by default None |
None
|
config
|
SCTPointTargetAnalysisConfig
|
config file SCTPointTargetAnalysisConfig dataclass to enable and manage different features, if provided, by default None |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
pandas data frame containing all the computed features for each point target |
list[PointTargetGraphicalData]
|
dict of data stored for graphical output needs |