| Environments | PYTHON :: EASI |
| Quick links | Description :: Parameters :: Parameter descriptions :: Return Value :: Details :: Example |
| Back to top |
| Back to top |
adsadjust(fili, mmseg, filo, backup)
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILI * | str | Input file name | 1 - | |
| MMSEG | List[int] | Input math-model segment | 0 - 1 | |
| FILO * | str | ADS file for model adjustment | 1 - | |
| BACKUP | str | Create backup copy of adjustment files | 0 - 5 | TRUE|FALSE Default: TRUE |
| Back to top |
FILI
The name of a PCIDSK file that contains the ADS math model.
MMSEG
The input ADS math-model segment of the input raw image. If no value is specified for this parameter, the last math-model segment in the input file is used.
FILO
The file name of the ADS dataset for which to adjust the model.
BACKUP
If you already have an existing adjusted orientation data file (*odf.adj), you can create a backup copy of the file. The name of the backup file will be *.odf.adj.backup.
If no value is specified for this parameter, any existing adjustment orientation data files are overwritten by default.
| Back to top |
Returns: execution status
Type: PCI_INT
| Back to top |
| Back to top |
The following example updates the adjusted orientation files (*.adf.adj) in the output folder.
from pci.adsadjust import adsadjust
from pci.exceptions import *
fili = "demo/L1/pix" # input folder with updated math model in PIX files
mmseg = []
filo = "demo/L1/sup" # output folder of ADS L1 support (*.sup) and related files
backup = "" # if .odf.adj file is exists, create backup
adsadjust(fili, mmseg, filo, backup)
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.