crism speclib
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...) |
|||
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | + | Search through the standard VNIR spectral library | |
+ | |||
+ | *[http://speclib.rsl.wustl.edu/ PDS Spectral Library Tool] | ||
+ | *[https://pds-geosciences.wustl.edu/missions/mro/spectral_library.htm PDS Spectral Library] | ||
| | | | ||
− | Inputs | + | Inputs: a search string |
+ | |||
+ | Outputs: a structure containing the data matches and title | ||
| | | | ||
− | [[Syntax]]: | + | [[Syntax]]: crism_speclib(search [,search location=STRING] [,speclib=STRING]) |
+ | |||
+ | search - string to search for usually in all capital letters | ||
+ | |||
+ | search location - location in the strucutre to search in, default is lib.class | ||
+ | |||
+ | sepclib - structure to search in, default is $DV_SCRIPT_FILES/crism_speclib.hdf | ||
| | | | ||
− | + | dv> out=crism_speclib("FAYALITE") | |
+ | searching in lib.class | ||
+ | |||
+ | struct, 13 elements | ||
+ | index: 4x1x1 array of int, bsq format [16 bytes] | ||
+ | name: Text Buffer with 4 lines of text | ||
+ | 1: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" | ||
+ | 2: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" | ||
+ | 3: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" | ||
+ | 4: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" | ||
+ | data: struct, 4 elements | ||
+ | id0694_1: 2x491x1 array of float, bsq format [3,928 bytes] | ||
+ | id0702_2: 2x2314x1 array of float, bsq format [18,512 bytes] | ||
+ | id0845_3: 2x461x1 array of float, bsq format [3,688 bytes] | ||
+ | id0933_4: 2x461x1 array of float, bsq format [3,688 bytes] | ||
+ | id: Text Buffer with 4 lines of text | ||
+ | 1: "C1PO58" | ||
+ | 2: "LAPO05" | ||
+ | 3: "C3PO59" | ||
+ | 4: "CAPO05" | ||
+ | type: Text Buffer with 4 lines of text | ||
+ | 1: "VNIR" | ||
+ | 2: "VNIR-MIR" | ||
+ | 3: "VNIR" | ||
+ | 4: "VNIR" | ||
+ | version_id: Text Buffer with 4 lines of text | ||
+ | 1: "1.0" | ||
+ | 2: "1.0" | ||
+ | 3: "1.0" | ||
+ | 4: "1.0" | ||
+ | specimen_name: Text Buffer with 4 lines of text | ||
+ | 1: "OLV011" | ||
+ | 2: "OLV112" | ||
+ | 3: "OLV011" | ||
+ | 4: "OLV112" | ||
+ | specimen_description: Text Buffer with 4 lines of text | ||
+ | 1: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST. #351" | ||
+ | 2: "SAMPLE SOMEWHAT OXIDIZED" | ||
+ | 3: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST.#35117.SPECTRA ALSO EXISTS FOR 45-75" | ||
+ | 4: "SAMPLE SOMEWHAT OXIDIZED" | ||
+ | min_particle_size: 1x4x1 array of float, bsq format [16 bytes] | ||
+ | max_particle_size: 1x4x1 array of float, bsq format [16 bytes] | ||
+ | collection_location: Text Buffer with 4 lines of text | ||
+ | 1: "UNK" | ||
+ | 2: "UNK" | ||
+ | 3: "UNK" | ||
+ | 4: "UNK" | ||
+ | current_location: Text Buffer with 4 lines of text | ||
+ | 1: "UNIVERSITY OF WINNIPEG" | ||
+ | 2: "UNIVERSITY OF WINNIPEG" | ||
+ | 3: "UNIVERSITY OF WINNIPEG" | ||
+ | 4: "UNIVERSITY OF WINNIPEG" | ||
+ | reference: Text Buffer with 4 lines of text | ||
+ | 1: "MUSTARD&PIETERS1989" | ||
+ | 2: "BISHOPETAL1995" | ||
+ | 3: "MUSTARD&PIETERS1989" | ||
+ | 4: "MUSTARD&PIETERS1989" | ||
| | | | ||
− | + | [[Image:crism_speclib.png|600px]] | |
| | | | ||
− | + | *[[HasValue]] | |
+ | *[[read]] | ||
+ | *[[dim]] | ||
+ | *[[strlen]] | ||
| | | | ||
− | + | *[[crism_resample]] | |
+ | *[[process_crism]] | ||
+ | *[[create_indices]] | ||
| | | | ||
*crism_science.dvrc | *crism_science.dvrc |
Latest revision as of 11:25, 2 April 2020
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.00
Description Search through the standard VNIR spectral library
Arguments and Return Values Inputs: a search string Outputs: a structure containing the data matches and title
Usage Syntax: crism_speclib(search [,search location=STRING] [,speclib=STRING]) search - string to search for usually in all capital letters search location - location in the strucutre to search in, default is lib.class sepclib - structure to search in, default is $DV_SCRIPT_FILES/crism_speclib.hdf
Examples dv> out=crism_speclib("FAYALITE") searching in lib.class struct, 13 elements index: 4x1x1 array of int, bsq format [16 bytes] name: Text Buffer with 4 lines of text 1: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" 2: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" 3: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" 4: "NATURAL, SOLID, EARTH, MINERAL, UNCLASSIFIED,NESOSILICATE, UNCLASSIFIED, FAYALITE" data: struct, 4 elements id0694_1: 2x491x1 array of float, bsq format [3,928 bytes] id0702_2: 2x2314x1 array of float, bsq format [18,512 bytes] id0845_3: 2x461x1 array of float, bsq format [3,688 bytes] id0933_4: 2x461x1 array of float, bsq format [3,688 bytes] id: Text Buffer with 4 lines of text 1: "C1PO58" 2: "LAPO05" 3: "C3PO59" 4: "CAPO05" type: Text Buffer with 4 lines of text 1: "VNIR" 2: "VNIR-MIR" 3: "VNIR" 4: "VNIR" version_id: Text Buffer with 4 lines of text 1: "1.0" 2: "1.0" 3: "1.0" 4: "1.0" specimen_name: Text Buffer with 4 lines of text 1: "OLV011" 2: "OLV112" 3: "OLV011" 4: "OLV112" specimen_description: Text Buffer with 4 lines of text 1: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST. #351" 2: "SAMPLE SOMEWHAT OXIDIZED" 3: "FOR 0.1% -- FAY 99.9% SMITHSONIAN INST.#35117.SPECTRA ALSO EXISTS FOR 45-75" 4: "SAMPLE SOMEWHAT OXIDIZED" min_particle_size: 1x4x1 array of float, bsq format [16 bytes] max_particle_size: 1x4x1 array of float, bsq format [16 bytes] collection_location: Text Buffer with 4 lines of text 1: "UNK" 2: "UNK" 3: "UNK" 4: "UNK" current_location: Text Buffer with 4 lines of text 1: "UNIVERSITY OF WINNIPEG" 2: "UNIVERSITY OF WINNIPEG" 3: "UNIVERSITY OF WINNIPEG" 4: "UNIVERSITY OF WINNIPEG" reference: Text Buffer with 4 lines of text 1: "MUSTARD&PIETERS1989" 2: "BISHOPETAL1995" 3: "MUSTARD&PIETERS1989" 4: "MUSTARD&PIETERS1989"
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 03-31-2009 |