thm.deplaid
From DavinciWiki
{{DavinciWiki_Function| Removes [[plaid] from multiband THEMIS spectral cubes.
Located in "thm" module. | Accepts geometrically projected and rectified radiance cubes of at most 10 bands
Returns a cleaned cube of the same size|
Syntax: b = thm.deplaid(data,ignore,tmask_max,tmask_min,filt_len,b10) data: geometrically projected and rectified radiance cube of at most 10 bands ignore: the value of non-data pixels - default is -32768 tmask_max: max threshold used to create the temperature mask - default is 1.15 tmask_min: min threshold used to create the temperature mask - default is 0.80 filt_len: length of filter used in plaid removal - default is 150 b10: the band (1 - 10) in the data that is THEMIS band 10 - default is 10 TROUBLESHOOTING You should designate b10 when NOT feeding deplaid 10 band data, b10 = 0 for no band-10 data. You can return the blackmask/temperature mask by using "dump=1". If you get brightness smear, then bring the tmask_max and/or min closer to 1.0. If you still see long-wavelength plaid, such as in cold images, increase filt_len. If the image looks washed-out check your null value.
|
b = thm.deplaid(a) b = thm.deplaid(data=a,ignore=-32768,tmask_max=1.25,tmask_min=.85,filt_len=200,b10=3) b = thm.deplaid(a,0,tmask_max=1.21) b = thm.deplaid(a,0,1.10,.90,180,8)
|
| }}