Home

User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
AstroDiscuss
GitHub
API Reference

Documentation Versions


ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


hifringe

Standard View | TOC | Home

Gathers statistics on the first and last several samples of a channel

Description
Categories
Groups
Examples
History


Description

Gathers several statistics on the "fringe" of a channel file. These statistics are then output to a pvl file that can be viewed to see if several channel files, based upon those statistics, are suitable for stitching together. The number of lines that are gathered is a function of the binning mode of the channel file being input as follows:
  binning mode 1          48 rightmost and 48 leftmost samples gathered
  binning mode 2          24 rightmost and 24 leftmost samples gathered
  binning mode 3          16 rightmost and 16 leftmost samples gathered
  binning mode 4          12 rightmost and 12 leftmost samples gathered
  binning mode 8           6 rightmost and  6 leftmost samples gathered
  
The following statistics are gathered:
  Valid Pixels
  Standard Deviation
  Average
  Minimum
  Maximum
  

Categories


Related Objects and Documents

Applications


Parameter Groups

Files

Name Description
FROM Single hirise channel in cub form
TO Output file to contain statistics

sections

Name Description
SECTIONSNumber of sections
LINESIZENumber of lines in each section

Files: FROM

Description

input channel file. Although this program is meant to be used solely for stitching channel files together, it could be used on any hirise image at all.

Type cube
File Mode input
Filter *.cub

Files: TO

Description

This pvl file will contain two groups. The first group will be statistics for the leftmost samples, and the second group will be statistics for the rightmost samples.

Type filename
File Mode output
Filter *.pvl

sections: SECTIONS

Description

This is the number of sub-areas that are extracted from each side of the cube. They will be spaced in such a way that there will be a section starting at the

l/n
th line where
l
is the total number of lines in the cube and
n
is the number of sections specified.

Type integer
Default 5

sections: LINESIZE

Description

This is the number of lines in each section. If the user does not enter anything, or specifies an invalid number of lines (i.e. more lines than exist in the cube), the sections will be stretched to cover as many lines of the cube as possible

Type integer
Internal Default complete coverage

Examples


Example 1

Calculating statistics for a band in a cube

Description

This example shows the statistics gathered from a single band of a cube.

Command Line

hifringe from= ATL_MarsCube_RED5_0.cub to= red5.pvl
Running hifringe on a channel file.

Data File

Output from stats This is the output captured in "red5.pvl".

History

Drew Davidson2006-05-15 Original version
Drew Davidson2006-05-26 Added the ability to sample multiple sections
Steven Lambright2008-05-13 Removed references to CubeInfo
Kelvin Rodriguez2016-08-28 Removed unused const ID