Isis 3 Application Documentation
stats | Printer Friendly View | TOC | Home |
Generates statistics about a cube
Overview | Parameters | Example 1 | Example 2 | Example 3 |
Parameter GroupsFiles
Settings
|
The file specification for the input cube. The statistics will be calculated for one band only. The default band is one but can be overridden using the band specifier (e.g., file.cub+3).
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This ascii file will contain the statistics of the individual band. It is written in such a format that the values can be read using the getkey program. This is useful for when developing scripts. In order to generate an output file, an output filename must be included. To specify format, use the format parameter.
Type | filename |
---|---|
File Mode | output |
Internal Default | No Output file will be created |
Filter | *.txt |
Format type for output file. PVL format is default.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | PVL | |||||||||
Option List: |
|
If this option is selected, the output from the application will be appended to the file. If it is not selected, any information in the TO file will be overwritten.
Type | boolean |
---|---|
Default | TRUE |
The statistics will exclude any DN values below this value
Type | double |
---|---|
Internal Default | No minimum DN value |
The statistics will exclude any DN values above this value
Type | double |
---|---|
Internal Default | No maximum DN value |
Example 1Calculating statistics for all bands in a cube Description
This example shows the statistics gathered from all bands in a single
cube. When no band is specified by the user, stats default behavior is
to calculate stats for all bands of a cube.
Command Line
stats
from=peaks.cub to=peaks0_stats.log
Running stats in the command line mode with the only parameter "FROM"
set to no particular band of the cube peaks.cub.
Data File
|
Example 2Calculating statistics for a band in a cube Description
This example shows the statistics gathered from a single band of
a cube. Using the plus on the end of the FROM parameter, a user is able
to specify a single layer to be processed.
Command Line
stats
from=peaks.cub+3 to=peaks1_stats.log
Running stats in the command line mode with the only parameter "FROM"
set to the third band of the cube peaks.cub.
Data File
|
Example 3Calculating statistics for multiple bands in a cube Description
This example shows the statistics gathered from a multiple bands
of a cube. In addition to the plus suffix, one can use commas and
hyphens in order to specify multiple bands of the cube to process.
Command Line
stats
from=peaks.cub+2,4-6 to=peaks2_stats.log
Running stats in the command line mode with the only parameter "FROM"
set to the second, forth, fifth, and sixth bands of the cube peaks.cub.
Data File
|