Environments | PYTHON :: EASI :: MODELER |
Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example :: Acknowledgements |
Back to top |
Back to top |
Name | Type | Caption | Length | Value range |
---|---|---|---|---|
SPECFILI* | String | Input spectrum library file name | 1 - 192 | |
SPECFILO* | String | Output spectrum library file name | 1 - 192 | |
SPRECS | Integer | Spectrum records | 0 - | |
FILOTYPE | String | Type of File to be Created | 0 - 16 | SPCB | XLS | TXT Default: SPCB |
Back to top |
SPECFILI
Specifies the name of the input spectra library file.
SPECFILO
Specifies the name of the output spectra library file. If a file with the specified name exists, it will be overwritten.
SPRECS
Specifies the record numbers (1 to N) of the spectra in the input file to be copied to the output file. If this parameter is not specified, all spectra in the input file is copied to the output.
Ranges of channels or segments can be specified with negative values. For example, {1,-4,10} is internally expanded to {1,2,3,4,10}. When you are not specifying a range in this way, only 48 numbers can be specified explicitly.
FILOTYPE
Specifies the type of the output file.
Back to top |
Both the input and output files must be GDB-recognized spectra library files.
Back to top |
Read all spectra from a SPCB-format file and write them to an XLS-format file.
EASI>specfili = "splib04a-part.spl" EASI>specfilo = "splib04a-part-spl2.xls" EASI>sprecs = EASI>filotype = "xls" EASI>RUN SP2SP
Back to top |
PCI Geomatics received financial support from the Canadian Space Agency/L'Agence Spatiale Canadienne through the Earth Observation Application Development Program (EOADP) for the development of this software, under contract 9F028-0-4902/12.
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.