emcal
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.01
Description emcal() - Emissivity Calculation of Laboratory Spectra at ASU Computes an instrument response function from measured emission, spectra of hot and warm blackbody and known blackbody temperatures. Then calculates emissivity using previously calculated response function, hot bb spectrum, hot sample spectrum, and known environment temperature.
Arguments and Return Values Arguments: A directory containing spectra files (*.CSV), bbhot.CSV and bbwarm.CSV Return Value: Writes either a single .hdf file or if indi is selected individual .txt files to be used with readvm
Usage Syntax: emcal(dir=STRING, hotbbT=FLOAT, warmbbT=FLOAT, filename=STRING [,indiv="yes/no"] [,bbhot=STRING] [,bbwarm=STRING] [,dehyd="yes/no"] [,libspec="yes/no"] [,field_spec="yes/no"] [,resample="yes/no"] [,ratw="yes/no"] [,cold="yes/no"] [,temp=VAL] [,wn=VAL]) 'dir' - A string defining the directory containing appropriate spectra 'hotbbT' - Temperature of hot blackbody 'warmbbT' - Temperature of the warm blackbody 'filename' - A string containing the desired name of the output file 'resample' - resample spectra to the response function xaxis 'bbhot' - hot black body filename (Default="bbhot.CSV") 'bbwarm' - warm black body filename (Default="bbwarm.CSV") 'dehyd' - add dehydrated spectra to the output structure (Uses dehyd2()) 'indiv' - write spectra as individual text files 'libspec' - prompt for input data for ASU spectral library uploads 'field_spec' - calibrate D & P spectra 'ratw' - calibrate spectra using a "Rock Around the World" standard procedure 'cold' - calibrate spectra which have been measured colder than the chamber temperature 'temp'- prompt for temperature when sample temperature is known in degrees C 'wn' -prompt for wavenumber for sample determination
Examples dv> out=emcal(".",100.114,71.15,"output.hdf") Displaying Response Function; Press "Enter" to continue Instrument T is: 27.99 Sample T for "silica5_oliv_pel" is: 93.52 Sample T for sample "silica5_oliv_pel" is determined at: 1205.31 What is the chamber T for "silica5_oliv_pel"? 24.5 Instrument T is: 27.99 Sample T for "silica5_oliv_aug_pel" is: 94.64 Sample T for sample "silica5_oliv_aug_pel" is determined at: 1205.31 What is the chamber T for "silica5_oliv_aug_pel"? 22.35 Continue through all spectra. Instrument T is: 27.99 Sample T for "bbh_01.04.08" is: 100.26 Sample T for sample "bbh_01.04.08" is determined at: 345.20 What is the chamber T for "bbh_01.04.08"? 22.85 struct, 13 elements xaxis: 1x1x934 array of float, bsq format [3,736 bytes] hbb: 1x1x934 array of float, bsq format [3,736 bytes] hotbb_temperature: 100.1139984 wbb: 1x1x934 array of float, bsq format [3,736 bytes] warmbb_temperature: 71.15000153 response: 1x1x934 array of float, bsq format [3,736 bytes] raw: 1x21x934 array of float, bsq format [78,456 bytes] sample_name: Text Buffer with 21 lines of text 1: silica5_oliv_pel 2: silica5_oliv_aug_pel 3: silica5_oliv_and_pel 4: silica2.5_oliv_pel 5: silica2.5_oliv_aug_pel 6: silica2.5_oliv_and_pel 7: silica10_oliv_pel 8: silica10_oliv_aug_pel 9: silica10_oliv_and_pel 10: olivine_76-105_pellet sample_temperature: Text Buffer with 21 lines of text 1: 93.52 2: 94.64 3: 79.59 4: 78.35 5: 91.37 6: 88.21 7: 94.78 8: 83.86 9: 82.48 10: 75.66 chamber_temperature: Text Buffer with 21 lines of text 1: 24.5 2: 22.35 3: 22.22 4: 22.45 5: 23.45 6: 24.66 7: 23.54 8: 23.66 9: 24.22 10:22.54 radiance: 1x21x934 array of float, bsq format [78,456 bytes] btemp: 1x21x934 array of float, bsq format [78,456 bytes] data: 1x21x934 array of float, bsq format [78,456 bytes] dv>
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Recent Library Changes Created On: 08-03-2006 |