From 9469147242465102059e0703b9532e17d63983bc Mon Sep 17 00:00:00 2001 From: fahim Date: Thu, 14 May 2015 19:21:26 +0530 Subject: Subject: openNgspice function completed Description: openNgspice function completed --- src/ngspiceSimulation/pythonPlotting.py | 12 +++++------- src/ngspiceSimulation/pythonPlotting.pyc | Bin 17155 -> 17120 bytes 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'src/ngspiceSimulation') diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py index c7a82851..c3203fe0 100644 --- a/src/ngspiceSimulation/pythonPlotting.py +++ b/src/ngspiceSimulation/pythonPlotting.py @@ -9,15 +9,13 @@ from matplotlib.figure import Figure import tkMessageBox -from configuration.Appconfig import Appconfig - class plotWindow(QtGui.QMainWindow): - def __init__(self): + def __init__(self,fpath,projectName): QtGui.QMainWindow.__init__(self) - #Creating App config object - #self.obj_appconfig = Appconfig() - self.fpath = "/home/fahim/Installed-Software/FreeEDA/Examples/RC" - self.projName = "RC" + self.fpath = fpath+".cir.out" + self.projName = projectName + print "File Path",self.fpath + print "Project Name",self.projName self.createMainFrame() self.combo = [] self.combo1 = [] diff --git a/src/ngspiceSimulation/pythonPlotting.pyc b/src/ngspiceSimulation/pythonPlotting.pyc index 864fa3a6..49fcd283 100644 Binary files a/src/ngspiceSimulation/pythonPlotting.pyc and b/src/ngspiceSimulation/pythonPlotting.pyc differ -- cgit