Returns the detector voltage or current (Inverse Laplace Transform). The (Laplace) values of all independent sources are taken as input signals. Application of initial conditions has not yet ben implemented. The arguments for source and transfer will be ignored and both co
(cir, source='circuit', detector='circuit', lgref='circuit',
transfer=None, convtype=None, pardefs=None, numeric=False,
stepdict=None)
| 615 | return result |
| 616 | |
| 617 | def doTime(cir, source='circuit', detector='circuit', lgref='circuit', |
| 618 | transfer=None, convtype=None, pardefs=None, numeric=False, |
| 619 | stepdict=None): |
| 620 | """ |
| 621 | Returns the detector voltage or current (Inverse Laplace Transform). |
| 622 | |
| 623 | The (Laplace) values of all independent sources are taken as input signals. |
| 624 | Application of initial conditions has not yet ben implemented. |
| 625 | |
| 626 | The arguments for source and transfer will be ignored and both considered: |
| 627 | None). |
| 628 | |
| 629 | :return: SLiCAP results object of which the following attributes with be |
| 630 | set as a result of this instruction: |
| 631 | |
| 632 | :rtype: SLiCAP.SLiCAPinstruction.instruction object |
| 633 | |
| 634 | **Return value attributes** |
| 635 | |
| 636 | - doTime<circuit>).M: MNA matrix (sympy.Matrix) |
| 637 | - doLaplaceVI(<circuit>.Iv: Vector with independent variables |
| 638 | (sympy.Matrix) |
| 639 | - doTime<circuit>).Dv: Vector with dependent variables (sympy.Matrix) |
| 640 | - doTime(<circuit>).numer: Numerator of the Laplace Transform of the |
| 641 | detector voltage or current (sympy.Expr) |
| 642 | - doTime<circuit>).denom: Denominator of the Laplace Transfor of the |
| 643 | detector voltage or current (sympy.Expr) |
| 644 | - doTime(<circuit>).laplace: Laplace Transform of the detector voltage |
| 645 | or current (sympy.Expr) |
| 646 | - doTime(<circuit>).time: Detector voltage or current |
| 647 | |
| 648 | If parameter stepping is applied, all above attributes are lists of values |
| 649 | or expressions for each step. |
| 650 | |
| 651 | **Parameters** |
| 652 | |
| 653 | See section `General instruction format`_. |
| 654 | |
| 655 | **Example** |
| 656 | |
| 657 | .. code-block:: python |
| 658 | |
| 659 | import SLiCAP as sl |
| 660 | sl.initProject("My First RC Network") |
| 661 | # Generate the circuit object from the netlist |
| 662 | cir = sl.makeCircuit("myFirstRCnetwork.cir") |
| 663 | # Obtain the Lapace transform of the detector voltage V_out: |
| 664 | V_out = sl.doLaplaceVI(cir).laplace |
| 665 | |
| 666 | """ |
| 667 | result = _executeInstruction(cir, transfer=None, source=None, |
| 668 | detector=detector, lgref=lgref, |
| 669 | convtype=convtype, datatype='time', |
| 670 | pardefs=pardefs, numeric=numeric, |
| 671 | stepdict=stepdict) |
| 672 | return result |
| 673 | |
| 674 | def doImpulse(cir, source='circuit', detector='circuit', lgref='circuit', |
nothing calls this directly
no test coverage detected