[Go to Previous] [Go to Next]


Data Analysis

describe - Returns a variety of statistical parameters about an imagery or gridded data objects

Usage: describe(myData1)
Example:
describe(imageryData1, imageryData2)
describe(imageryData1, imageryData2, 'Histogram', 'Mean')
Remarks:
By default, this function returns all of the following statistical parameters of data objects returned from loadADDEImage and loadGrid:

Multiple data objects can be passed through describe() at once, separated by commas (example: describe(imageryIR,imageryVIS)).

Users may select to output only certain statistical parameters for their data. When doing this, the first parameter(s) passed through describe() should be the data objects, and the last parameters should be the statistical parameters to output. These statistical parameters are included in the list above, and they should be entered as strings and quoted (see example 2 above).

By default, off-Earth (unnavigated) pixels are included in the statistical output. These pixels may have a data value of 0 that will be included in the statistical output. To include only navigated pixels in the statistical output, include 'NO_NAV' in the command (example: print(describe(data, 'NO_NAV'). When this is done, an additional value will be output by the describe() command called "# Nav Masked" that will print out how many pixels were excluded from the analysis.

findUnits - Returns the units of a data object

Usage: findUnits(myData)
Keywords - optional:
rangeOnly=

True - returns only the range unit (default)
False - returns all units associated with the data object

Example:
findUnits(imageryData)

sparkline - Returns a histogram of data values in a data object returned from loadADDEImage and loadGrid

Usage: sparkline(myData)
Example:
sparkline(imageryData)
Remarks:
Multiple data objects can be passed through sparkline() at once, separated by commas (example: sparkline(imageryIR,imageryVIS)).

[Go to Previous] [Go to Next]