Example:
from neuron import h, gui
p = h.PWManager()
print(p.count())
Example:
from neuron import h, gui
p = h.PWManager()
# not mapped
print(p.is_mapped(1))
p.map(1)
# mapped
print(p.is_mapped(1))
Example:
from neuron import h, gui
p = h.PWManager()
# mapped
p.map(1)
Example:
from neuron import h, gui
p = h.PWManager()
# mapped
p.map(1)
print(p.is_mapped(1))
# not mapped
p.hide(1)
print(p.is_mapped(1))
Example:
from neuron import h, gui
p = h.PWManager()
p.map(1)
p.close(1)
Example:
from neuron import h, gui
p = h.PWManager()
p.map(1)
p.iconify()
Example:
from neuron import h, gui
p = h.PWManager()
print(p.manager())
n = p.save("filename", group_object, ["header"])
n = p.save("filename", selected, ["header"])
Create a session file with the given filename consisting oo all windows associated with a particular group_object in a session file
If selected == 0 then all windows are saved. If selected==1 then only the windows on the paper icon are saved in the session file.
If the header argument exists, it is copied to the beginning of the file.
See also
Example:
from neuron import h, gui
p = h.PWManager()
p.map(1)
selected = 1
n = p.save("file", selected, "Header")
group_obj = p.group(index, group_obj)
group_obj = p.group(index)
Example:
from neuron import h, gui
p = h.PWManager()
g1 = p.group(0)
g2 = p.group(1, g1)
p.snap()
p.snap("filename")
Example:
from neuron import h, gui
p = h.PWManager()
p.snape("filename")
Example:
from neuron import h, gui
p = h.PWManager()
p.scale(2)
Example:
from neuron import h, gui
p = h.PWManager()
print(p.name(0))
Example:
from neuron import h, gui
p = h.PWManager()
p.window_place(0, 1000, 1000)
p.paper_place(index, show)
p.paper_place(index, left, bottom, scale)
Shows or hides the ith window on the paper icon. If showing, this constitutes adding this window to the list of selected windows.
The 4 arg form shows, places, and scales the index window on the paper icon. The scale and location only has an effect when the paper is printed in postscript mode.
When printing in postscript mode, 0 print only the interior of the window.
1 print the interior and the title above each window
2 print the interior and all window decorations including the window title.