{load_file("init-tile.hoc")}
{load_file("tile-off.hoc")}
{load_file("global.hoc")}

createOffTile()
access off[0].soma

// visualization 
{load_file("gui.hoc")}
FIELD_LEFT   = -50
FIELD_BOTTOM = -600
FIELD_WIDTH  = 1100
FIELD_HEIGHT = 1100
// showCell(FIELD_LEFT, FIELD_BOTTOM, FIELD_WIDTH, FIELD_HEIGHT)
guiGraph.addvar("off[0].soma.v(0.5)", 2, 1)
guiGraph.addvar("off[1].soma.v(0.5)", 3, 1)
guiGraph.addvar("off[2].soma.v(0.5)", 4, 1)
guiGraph.addvar("off[3].soma.v(0.5)", 5, 1)
guiGraph.addvar("off[4].soma.v(0.5)", 6, 1)
guiGraph.addvar("off[5].soma.v(0.5)", 7, 1)

// simulation
{load_file("instr.hoc")}