Calculates the inverse Laplace transform of the detector voltage or current. :param instr: SLiCAP instruction object that holds instruction data. :type instr: SLiCAPinstruction.instruction :return: instr of the execution of the instruction. :rtype: SLiCAPinstruction.instructio
(instr)
| 941 | return instr |
| 942 | |
| 943 | def _doTime(instr): |
| 944 | """ |
| 945 | Calculates the inverse Laplace transform of the detector voltage or current. |
| 946 | |
| 947 | :param instr: SLiCAP instruction object that holds instruction data. |
| 948 | :type instr: SLiCAPinstruction.instruction |
| 949 | |
| 950 | :return: instr of the execution of the instruction. |
| 951 | :rtype: SLiCAPinstruction.instruction |
| 952 | """ |
| 953 | instr.dataType = 'laplace' |
| 954 | instr = _doLaplace(instr) |
| 955 | if instr.step: |
| 956 | instr.time = [] |
| 957 | for laplaceinstr in instr.laplace: |
| 958 | laplaceinstr = laplaceinstr, ini.laplace |
| 959 | instr.time.append(ilt(laplaceinstr, ini.laplace, sp.Symbol('t'))) |
| 960 | else: |
| 961 | laplaceinstr = instr.laplace |
| 962 | instr.time = ilt(laplaceinstr, ini.laplace, sp.Symbol('t')) |
| 963 | instr.dataType = 'time' |
| 964 | instr.dataType = 'time' |
| 965 | return instr |
| 966 | |
| 967 | def _doSolve(instr): |
| 968 | """ |
no test coverage detected