Adds all prameter definitions from the specList to the circuit 'cir'. :param specList: List with spec items :type specList: list :param cir: circuit to which the parameters definitions will be added :type cir: SLiCAPprotos.circuit :return: None :rtype: NoneType
(specList, cir)
| 209 | return specList |
| 210 | |
| 211 | def specs2circuit(specList, cir): |
| 212 | """ |
| 213 | Adds all prameter definitions from the specList to the circuit 'cir'. |
| 214 | |
| 215 | :param specList: List with spec items |
| 216 | :type specList: list |
| 217 | |
| 218 | :param cir: circuit to which the parameters definitions will be added |
| 219 | :type cir: SLiCAPprotos.circuit |
| 220 | |
| 221 | :return: None |
| 222 | :rtype: NoneType |
| 223 | """ |
| 224 | for item in specList: |
| 225 | if item.value != '': |
| 226 | cir.defPar(item.symbol, item.value) |
| 227 | |
| 228 | def createSubstDict(specs): |
| 229 | """ |