def summarise_all(cls): from morphforge.stdimports import PostSynapticTemplateLibrary, CellLibrary, ChannelLibrary, MorphologyLibrary types = mrd.SectionNewPage( "Available class types", cls.summarise_channeltypes(), cls.summarise_currentclamptypes(), cls.summarise_voltageclamptypes(), cls.summarise_presynaptictriggertypes(), cls.summarise_postsynaptictemplatetypes(), cls.summarise_tracemethods(), ) libraries = mrd.SectionNewPage( "Library Contents", ChannelLibrary.summary_table(), MorphologyLibrary.summary_table(), PostSynapticTemplateLibrary.summary_table(), CellLibrary.summary_table(), ) return mrd.SectionNewPage("Morphforge Configuration", types, libraries)
import mredoc from morphforge.stdimports import PluginMgr, CellLibrary, ChannelLibrary, MorphologyLibrary, PostSynapticTemplateLibrary import morphforgecontrib.stdimports as mfc from modelling import * from modelling.sensory_pathway import * fname = '~/Desktop/morphforge_registered_templates.pdf' mredoc.Section('Summary', CellLibrary.summary_table(), ChannelLibrary.summary_table(), MorphologyLibrary.summary_table(), PostSynapticTemplateLibrary.summary_table(), ).to_pdf(fname) print 'Cell & Channel summary stored at: %s'%fname