Used to construct the images to manually count synapses in. Jay helped me with this.


In [1]:
import matplotlib.pyplot as plt
%matplotlib inline
import numpy as np
import urllib2
from __future__ import division
from image_scraping import *

In [7]:
from IPython.display import Image, HTML, display

img = bin_to_nparray(2008,3124,721)
plt.figure(figsize=(5, 5), frameon=False)
plt.imshow(img, cmap='Greys_r')
plt.axis('off')
plt.show()



In [ ]: