summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
authorfahim2015-05-14 19:21:26 +0530
committerfahim2015-05-14 19:21:26 +0530
commit9469147242465102059e0703b9532e17d63983bc (patch)
tree5e504a30d6ce7a2677f9108769b406111750011f /src/ngspiceSimulation/pythonPlotting.py
parenta31c044d8d8307060664e2b0025054ca0584016d (diff)
downloadeSim-9469147242465102059e0703b9532e17d63983bc.tar.gz
eSim-9469147242465102059e0703b9532e17d63983bc.tar.bz2
eSim-9469147242465102059e0703b9532e17d63983bc.zip
Subject: openNgspice function completed
Description: openNgspice function completed
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py12
1 files changed, 5 insertions, 7 deletions
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 = []