autoradcorr
From DavinciWiki
|
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Calculates a radiance correction for all 50x50 pixel boxes in the scene that meet the following criteria:
Boxes that meet all above criteria are given a Quality of 2 in the quality mask. Quality 1 boxes ignore criterium 5 - this allows for water cloud corrections.
Arguments and Return Values Returns a structure containing:
Usage Syntax: rc = autoradcorr(data [, bandlist = INT] [, b1 = INT] [, b2 = INT] [, sd = FLOAT] [, tempmin = FLOAT] [, pix_fraction = FLOAT] [, first_image = INT] [, ignore = FLOAT]) 'data' is the full projected hdf. You MUST supply this! 'bandlist' is the ordered list of THEMIS bands in the cube. Default is 1-10. 'b1 and b2' are the first and last z values to search for maxbtemp. Default is 3 and 9. 'sd' is the standard deviation of the temperature. Default is 3K. 'tempmin' is the minimum brightness temperature. Default is 225K. 'pix_fraction' is the fraction of usable pixels in a box. Default is 50 percent. 'first_image' = 1 is first 3600-line chunk of single data cube, = 0 is not. Default is 1. 'ignore' is null value of the black space. Default is -32768.
Examples dv> a
345x1000x10 array of float, bsq format [13,800,000 bytes]
dv> emissivity_before = thm.themis_emissivity(a)
.struct, 2 elements
emiss: 345x1000x10 array of float, bsq format [13,800,000 bytes]
maxbtemp: 345x1000x1 array of float, bsq format [1,380,000 bytes]
dv> rc = autoradcorr(a)
...............................
struct, 4 elements
avgdark: 1x1x10 array of float, bsq format [40 bytes]
blackmask: 345x1000x1 array of byte, bsq format [345,000 bytes]
dark: 7x20x10 array of float, bsq format [5,600 bytes]
darkcol: 1x1000x10 array of float, bsq format [40,000 bytes]
dv> a[where a != -32768] = a - rc.darkcol
345x1000x10 array of float, bsq format [13,800,000 bytes]
dv> emissivity_after = thm.themis_emissivity(a)
.struct, 2 elements
emiss: 345x1000x10 array of float, bsq format [13,800,000 bytes]
maxbtemp: 345x1000x1 array of float, bsq format [1,380,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents Contact Developers
All other topics
Major Sub-Functions
Related Functions
Created On: 02-15-2006 |



