In [2]:
import numpy as np
import matplotlib.pyplot as plt
import skimage.io as io
%matplotlib inline

In [3]:
orig=io.imread('../data/spotprojection_0001.tif')
oc=io.imread('../data/spotcleaned_0001.tif')
print(orig.shape)
plt.figure(figsize=(12,5))
plt.subplot(211)
plt.imshow(orig,clim=[0,10])
plt.subplot(212)
plt.imshow(oc,clim=[0,10])


(36, 478)
Out[3]:
<matplotlib.image.AxesImage at 0x1160c6a90>

In [39]:
c=io.imread('../../../../../lib/debug/spotcleaned.tif')
print(c.shape)
plt.figure(figsize=(12,5))
plt.subplot(2,1,1)
plt.imshow(c,clim=[0,10])
plt.subplot(2,1,2)
plt.imshow(c-orig,clim=[-5,5])


(36, 478)
Out[39]:
<matplotlib.image.AxesImage at 0x11a7dc5c0>

In [48]:
c=io.imread('../../../../../lib/debug/spotcleaned.tif')
print(c.shape)
plt.figure(figsize=(12,5))
plt.subplot(2,1,1)
plt.imshow(c,clim=[0,10])
plt.subplot(2,1,2)
plt.imshow(c-orig,clim=[-5,5])


(36, 478)
Out[48]:
<matplotlib.image.AxesImage at 0x11bdca9b0>

In [50]:
p=io.imread('../../../../../lib/debug/padded.tif')
print(p.shape)
plt.figure(figsize=(12,6))
plt.subplot(311)
plt.imshow(p[40:46,100:150],clim=[0,10])
plt.subplot(312)
plt.plot(p[-1,:])
plt.plot(p[-2,:])

plt.subplot(313)
plt.imshow(orig[-7:-1,105:155],clim=[0,10])


(46, 488)
Out[50]:
<matplotlib.image.AxesImage at 0x11c2bbe80>

In [7]:
plt.plot(orig[0,:])
plt.plot(orig[1,:])


Out[7]:
[<matplotlib.lines.Line2D at 0x81c1fa630>]

In [ ]: