Addition of keoni.fbf module based on cvs/TOOLS/dev/maciek and cvs/TOOLS/dev/librkg toolboxes

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@142 b7ca1e74-3157-0410-8c33-a17d4927038d
addition of uint types and long longs to keoni.fbf; rev 0.7.2

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@151 b7ca1e74-3157-0410-8c33-a17d4927038d
propset, fix for 64-bit integers in numfbf

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@221 b7ca1e74-3157-0410-8c33-a17d4927038d
now with memory mapped files!

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@443 b7ca1e74-3157-0410-8c33-a17d4927038d
0.8.2 with fix for numfbf not using sfx_remap for .sta files

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@474 b7ca1e74-3157-0410-8c33-a17d4927038d
zip_safe and extract_indices_to_file

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@496 b7ca1e74-3157-0410-8c33-a17d4927038d
bugfix for indices_to_file

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@497 b7ca1e74-3157-0410-8c33-a17d4927038d
added .variables() and .var call similar to pycdf also fixed ambiguity problem with using glob* - changed to glob.* so that W.Wavenumber works

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@499 b7ca1e74-3157-0410-8c33-a17d4927038d
migrated fbfb.py over to keoni.fbf.plots, requires pyqt4

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@526 b7ca1e74-3157-0410-8c33-a17d4927038d
m keoni.fbf import Workspace W = Workspace('.') import keoni.fbf.plots as gui reim = lambda re,im,n: abs(re[n] + 1j*im[n]) fhy = lambda r: abs(W.CalHotRefLWReal[r] + 1j* W.CalHotRefLWImag[r]) fsy = lambda r: abs(W.CalSceneLWReal[r] + 1j* W.CalSceneLWImag[r]) fcy = lambda r: abs(W.CalColdRefLWReal[r] + 1j* W.CalColdRefLWImag[r]) figure() subplot(311); pah=plot(fhy(0)) subplot(312); pas=plot(fsy(0)) subplot(313); pac=plot(fcy(0))

gui.follow(list(range(len(W.CalSceneLWReal))), [fhy,fsy,fcy], autoscale=True)

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@528 b7ca1e74-3157-0410-8c33-a17d4927038d
handling of lines as well as axes

from keoni.fbf import Workspace; import keoni.fbf.plots as gui

W = Workspace('.')
fhy = lambda r: abs(W.CalHotRefLWReal[r] + 1j* W.CalHotRefLWImag[r])
fsy = lambda r: abs(W.CalSceneLWReal[r] + 1j* W.CalSceneLWImag[r])
fcy = lambda r: abs(W.CalColdRefLWReal[r] + 1j* W.CalColdRefLWImag[r])

fhry = lambda r: W.CalHotRefLWReal[r]
fsry = lambda r: W.CalSceneLWReal[r]
fcry = lambda r: W.CalColdRefLWReal[r]

fhiy = lambda r: W.CalHotRefLWImag[r]
fsiy = lambda r: W.CalSceneLWImag[r]
fciy = lambda r: W.CalColdRefLWImag[r]

fcshy = lambda r: [fcy(r), fsy(r), fhy(r)]
fcshry = lambda r: [fcry(r), fsry(r), fhry(r)]
fcshiy = lambda r: [fciy(r), fsiy(r), fhiy(r)]

figure()
subplot(311)
yc,ys,yh = fcshy(0)
plot(yc); plot(ys); plot(yh)
subplot(312)
title('real')
yc,ys,yh = fcshry(0)
plot(yc); plot(ys); plot(yh)
subplot(313)
title('imag')
yc,ys,yh = fcshiy(0)
plot(yc); plot(ys); plot(yh)

def labby(r, W=W):
    subplot(311)
    ccrfor, ccrfov, ccrsd, ccrdt = W.CalColdRefLWFieldOfRegard[r], W.CalColdRefLWFieldOfView[r], W.CalColdRefLWSweepDir[r], W.CalColdRefLWDogTag[r]
    csfor, csfov, cssd, csdt = W.CalSceneLWFieldOfRegard[r], W.CalSceneLWFieldOfView[r], W.CalSceneLWSweepDir[r], W.CalSceneLWDogTag[r]
    chrfor, chrfov, chrsd, chrdt = W.CalHotRefLWFieldOfRegard[r], W.CalHotRefLWFieldOfView[r], W.CalHotRefLWSweepDir[r], W.CalHotRefLWDogTag[r]
    good = ((ccrfor == csfor == chrfor), (ccrfov == csfov == chrfov), (ccrsd == cssd == chrsd))
    title( '???' if not good else 'FOR %d FOV %d SWP %d TAGS H%d C%d S%d' % (csfor, csfov, cssd, chrdt, ccrdt, csdt) )

scenes = W.CalSceneLWFieldOfRegard[:]
dex = find((scenes>0) & (scenes<31))
gui.follow(dex, [fcshy, fcshry, fcshiy], callbacks=labby)

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@529 b7ca1e74-3157-0410-8c33-a17d4927038d
0.8.6 - support for full filenames being given in fbf workspace getitem

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@549 b7ca1e74-3157-0410-8c33-a17d4927038d
Workspace changes such that workspace['rsh2fbf.sta'] works - getitem uses ___* glob while getattr uses ___.* glob logging changes to numfbf (DHoese) version rev to 0.8.8

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@551 b7ca1e74-3157-0410-8c33-a17d4927038d
0.9.1 fixes stemname when using getattr, getitem

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@597 b7ca1e74-3157-0410-8c33-a17d4927038d
explicit > implicit

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@598 b7ca1e74-3157-0410-8c33-a17d4927038d
removal of wildcards in explicit case

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@599 b7ca1e74-3157-0410-8c33-a17d4927038d
0.9.2 - addition of keoni.fbf.filename()

git-svn-id: https://svn.ssec.wisc.edu/repos/rayg/trunk@602 b7ca1e74-3157-0410-8c33-a17d4927038d
applescript to expire volatile reminders over 2 days old, more work on numfbf
migrated with history from svn/rayg/pykeoni/keoni/fbf