In [1]:
from bokeh.plotting import *
output_notebook()


BokehJS successfully loaded.

In [23]:
from iuvs import io
fname = io.l1b_filenames("cruisecal2-mode080-muv", stage=False)
l1b = io.L1BReader(fname[0])
cube = l1b.detector_raw
dark1 = l1b.detector_dark[1]
dark2 = l1b.detector_dark[2]

In [ ]:
def myplot(img):
    figure(x_range(

In [33]:
figure?

In [32]:
for img in cube[:2]:
    height, width = img.shape
    p = figure(x_range=(0, width), y_range=(0, height/2))
    p.image(image=[img], x=[0], y=[0], dw=[width], dh=[height/2], palette="Spectral11")
    show(p)



In [21]:
p.image?

In [ ]: