summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Source.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-24 15:39:01 +0530
committerGitHub2019-06-24 15:39:01 +0530
commitca27e1ab9d418bfece063a38629da4dc09281e45 (patch)
treedb4048b7d093d7827b663b2cac98c5c49e37358e /src/kicadtoNgspice/Source.py
parenta5effc6fcfb55751cd60a08f9774391ed34ba711 (diff)
parente75167f3e98add3912ff5db300f6f4d2535c5325 (diff)
downloadeSim-ca27e1ab9d418bfece063a38629da4dc09281e45.tar.gz
eSim-ca27e1ab9d418bfece063a38629da4dc09281e45.tar.bz2
eSim-ca27e1ab9d418bfece063a38629da4dc09281e45.zip
Merge pull request #92 from nilshah98/sphinx
Resolves #90
Diffstat (limited to 'src/kicadtoNgspice/Source.py')
-rw-r--r--src/kicadtoNgspice/Source.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/kicadtoNgspice/Source.py b/src/kicadtoNgspice/Source.py
index c9d50a26..26555197 100644
--- a/src/kicadtoNgspice/Source.py
+++ b/src/kicadtoNgspice/Source.py
@@ -27,16 +27,21 @@ class Source(QtGui.QWidget):
def createSourceWidget(self, sourcelist, sourcelisttrack):
"""
- - This function dynamically create source widget in the
+ - This function dynamically create source widget in the \
Source tab of KicadtoNgSpice window
- - Depending on the type of source, ac, dc, sine, pwl, etc...
- source tab is created
- - All the entry fields, are kept into the entry_var
+ - Depending on the type of source, sourcetab is created
+ - - ac
+ - - dc
+ - - sine
+ - - pulse
+ - - pwl
+ - - exp
+ - All the entry fields, are kept into the entry_var \
tracked by self.count
- - Finally after each of the sourcelist is mapped to its input component
- we move to adding these to the track widget
- - Also check if any default values present from previous analysis & add
- them by default
+ - Finally after each of the sourcelist is mapped to its input \
+ component we move to adding these to the track widget
+ - Also check if any default values present from previous analysis \
+ & add them by default
- Each line in sourcelist corresponds to a source
- According to the source type modify the source and add it to the tab
"""