MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / setStepStop

Method setStepStop

SLiCAP/SLiCAPinstruction.py:949–973  ·  view source on GitHub ↗

End value for parameter stepping methods 'lin' and 'log'. :param stepStop: End value for parameter stepping methods 'lin' and 'log'. :type stepStop: str, int, float :Example: >>> # Create an instance of the instruction object >>> my_instr = instruc

(self, stepStop)

Source from the content-addressed store, hash-verified

947 return
948
949 def setStepStop(self, stepStop):
950 """
951 End value for parameter stepping methods 'lin' and 'log'.
952
953 :param stepStop: End value for parameter stepping methods 'lin' and 'log'.
954 :type stepStop: str, int, float
955
956 :Example:
957
958 >>> # Create an instance of the instruction object
959 >>> my_instr = instruction()
960 >>> # check a netlist file and use the circuit from this file for this
961 >>> # instruction:
962 >>> my_instr.setCircuit('my_circuit.cir')
963 >>> # Define linear stepping:
964 >>> my_instr.stepMethod = 'lin'
965 >>> # Define the start value
966 >>> my_instr.setStepStop('1M') # 1E6
967 >>> my_instr.setStepStop(1e6) # 1E6
968 >>> # Enable parameter stepping
969 >>> my_instr.stepOn()
970 """
971 self.stepStop = stepStop
972 self.checkStepStop()
973 return
974
975 def checkStepStop(self):
976 """

Callers

nothing calls this directly

Calls 1

checkStepStopMethod · 0.95

Tested by

no test coverage detected