Defines the number of steps for 'lin' and 'log' parameter stepping. :param stepNumber: Number of steps for stepping methods 'lin' and 'log'. :type stepStop: int :Example: >>> # Create an instance of the instruction object >>> my_instr = instruction
(self, stepNum)
| 991 | return |
| 992 | |
| 993 | def setStepNum(self, stepNum): |
| 994 | """ |
| 995 | Defines the number of steps for 'lin' and 'log' parameter stepping. |
| 996 | |
| 997 | :param stepNumber: Number of steps for stepping methods 'lin' and 'log'. |
| 998 | :type stepStop: int |
| 999 | |
| 1000 | :Example: |
| 1001 | |
| 1002 | >>> # Create an instance of the instruction object |
| 1003 | >>> my_instr = instruction() |
| 1004 | >>> # check a netlist file and use the circuit from this file for this |
| 1005 | >>> # instruction: |
| 1006 | >>> my_instr.setCircuit('my_circuit.cir') |
| 1007 | >>> # Define linear stepping: |
| 1008 | >>> my_instr.stepMethod = 'lin' |
| 1009 | >>> # Define the start value |
| 1010 | >>> my_instr.setStepStop('1M') # 1E6 |
| 1011 | >>> my_instr.setStepStop(1e6) # 1E6 |
| 1012 | >>> # Enable parameter stepping |
| 1013 | >>> my_instr.stepOn() |
| 1014 | """ |
| 1015 | self.stepNum = stepNum |
| 1016 | self.checkStepNum() |
| 1017 | return |
| 1018 | |
| 1019 | def checkStepNum(self): |
| 1020 | """ |
nothing calls this directly
no test coverage detected