def inspectABF(abf=exampleABF,saveToo=False,justPlot=False):
pylab.close('<STR_LIT:all>')<EOL>print("<STR_LIT>")<EOL>if type(abf) is str:<EOL><INDENT>abf=swhlab.ABF(abf)<EOL><DEDENT>swhlab.plot.new(abf,forceNewFigure=True)<EOL>if abf.sweepInterval*abf.sweeps<<NUM_LIT>*<NUM_LIT:5>: <EOL><INDENT>pylab.subplot(<NUM_LIT>)<EOL>pylab.title("<STR_LIT>"%(abf.ID,abf.protoComment))<EOL>swhlab.plot.sweep(abf,'<STR_LIT:all>')<EOL>pylab.subplot(<NUM_LIT>)<EOL>swhlab.plot.sweep(abf,'<STR_LIT:all>',continuous=True)<EOL>swhlab.plot.comments(abf)<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL>swhlab.plot.sweep(abf,'<STR_LIT:all>',continuous=True,minutes=True)<EOL>swhlab.plot.comments(abf,minutes=True)<EOL>pylab.title("<STR_LIT>"%(abf.ID,abf.protoComment))<EOL><DEDENT>swhlab.plot.annotate(abf)<EOL>if justPlot:<EOL><INDENT>return<EOL><DEDENT>if saveToo:<EOL><INDENT>path=os.path.split(abf.fname)[<NUM_LIT:0>]<EOL>basename=os.path.basename(abf.fname)<EOL>pylab.savefig(os.path.join(path,"<STR_LIT:_>"+basename.replace("<STR_LIT>","<STR_LIT>")))<EOL><DEDENT>pylab.show()<EOL>return<EOL>
May be given an ABF object or filename.