create indices key

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...)
 
 
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Description
+
Creates standard key for [[CRISM]] indicies
 
|
 
|
Inputs
+
Inputs: a processed index array
 +
 
 +
Outputs: an array of index keys
 
|
 
|
[[Syntax]]:
+
[[Syntax]]: create_indices_key(indices)
 +
 
 +
or
 +
 
 +
create_indices_key(indicies=VAL)
 +
 
 +
indicies - input index array from [[create_indices|create_indicies()]]
 
|
 
|
Example
+
dv> in
 +
struct, 1 elements
 +
    long: struct, 7 elements
 +
        anc: struct, 5 elements...
 +
        at_array: 320x1x438 array of float, bil format [560,640 bytes]
 +
        data: 320x225x438 array of float, bsq format [126,144,000 bytes]
 +
        id: ""HRS000035B5_07_IF174L_TRR2.IMG""
 +
        index: 320x225x16 array of double, bsq format [9,216,000 bytes]
 +
        wl_array: 320x1x438 array of float, bil format [560,640 bytes]
 +
dv> out=create_indices(in.long.data)
 +
320x225x16 array of double, bsq format [9,216,000 bytes]
 +
dv> key=create_indices_key(out)
 +
Text Buffer with 16 lines of text
 +
    1: Olivine Index
 +
    2: LCP Index
 +
    3: HCP Index
 +
    4: Ferric Coating
 +
    5: BD2290 MG, Fe-OH Minerals
 +
    6: D2300 Hydrates Minerals - Particularily Phyllosilicates
 +
    7: BD2210 AL-OH Minerals
 +
    8: BD1900 H20 - Alternate from CAT code
 +
    9: SINDEX Water Containing Minerals
 +
    10: BD2100 Monohydrated Sulfates
 
|
 
|
Images
+
[[Image:crism_LCP_index.png]]
 
|
 
|
Sub
+
*[[dim]]
 +
*[[cat]]
 
|
 
|
Related
+
*[[crism_destripe]]
 +
*[[process_crism]]
 +
*[[create_indices]]
 
|
 
|
 
*crism_science.dvrc
 
*crism_science.dvrc

Latest revision as of 01:23, 31 March 2009


Description

Creates standard key for CRISM indicies

Arguments and Return Values

Inputs: a processed index array

Outputs: an array of index keys

Usage

Syntax: create_indices_key(indices)

or

create_indices_key(indicies=VAL)

indicies - input index array from create_indicies()

Examples

dv> in
struct, 1 elements
   long: struct, 7 elements
       anc: struct, 5 elements...
       at_array: 320x1x438 array of float, bil format [560,640 bytes]
       data: 320x225x438 array of float, bsq format [126,144,000 bytes]
       id: ""HRS000035B5_07_IF174L_TRR2.IMG""
       index: 320x225x16 array of double, bsq format [9,216,000 bytes]
       wl_array: 320x1x438 array of float, bil format [560,640 bytes]
dv> out=create_indices(in.long.data)
320x225x16 array of double, bsq format [9,216,000 bytes]
dv> key=create_indices_key(out)
Text Buffer with 16 lines of text
   1: Olivine Index
   2: LCP Index
   3: HCP Index
   4: Ferric Coating
   5: BD2290 MG, Fe-OH Minerals
   6: D2300 Hydrates Minerals - Particularily Phyllosilicates
   7: BD2210 AL-OH Minerals
   8: BD1900 H20 - Alternate from CAT code
   9: SINDEX Water Containing Minerals
   10: BD2100 Monohydrated Sulfates

Images

crism LCP index.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Recent Library Changes

Created On: 03-30-2009
Modified On: 03-31-2009

Personal tools