firingRates = np.array([])

mapBoundariesReceived = False
x_grid = []
y_grid = []
neuronNumber = 0

t_curr = time.time()
t_pass = time.time()
n_received = long(0)


# Create GUI widgets
root = Tk()
root.wm_title("Place Field Visualizer")
root.columnconfigure(0, weight=1)
root.rowconfigure(0, weight=1)

# CONTENT FRAME
content = Frame(root, bg=grey)
content.grid(column=0, row=0, sticky=N+S+E+W, columnspan=5, rowspan = 4)
# 4 x 5
for row in range(0, 3):
    content.rowconfigure(row, weight=1)
for col in range(0, 4):
    content.columnconfigure(col, weight=1)

# PLOT FRAME
plotframe = Frame(content, bg=grey)  # , padding="3 3 3 3"
plotframe.grid(column=1, row=0, columnspan=4, rowspan=4, sticky=N+S+E+W)
# 4 x 4