|
hysteresis_model
|
Functions | |
| def | query_yes_no (question, default="yes") |
| def | differentiate (x, t, smooth_factor) |
| def | DEG (x) |
| def | RAD (x) |
| def | getData (FILE) |
| def | plot (data) |
| def | computeTorque (data, s) |
| def | writeToFile (FILE, data, torque) |
| def | findStationaryParts (data, min_length=1000, max_length=5000) |
| def | main () |
Variables | |
| int | DATA_JUMP = 30000 |
| float | DELTA_ANGLE = 0.1 |
| int | MIN_LENGTH = 1000 |
| int | MAX_LENGTH = 4000 |
| int | g_angle = 0 |
| int | SMOOTH = 300 |
| int | TIME = 0 |
| int | wPOS = 1 |
| int | wVEL = 2 |
| int | wACC = 3 |
| int | mPOS = 4 |
| int | mVEL = 5 |
| int | dPOS = 6 |
| int | dVEL = 7 |
| int | mCUR = 8 |
| def ExtractCouplingCalibrationData.computeTorque | ( | data, | |
| s | |||
| ) |
| def ExtractCouplingCalibrationData.DEG | ( | x | ) |
| def ExtractCouplingCalibrationData.differentiate | ( | x, | |
| t, | |||
| smooth_factor | |||
| ) |
| def ExtractCouplingCalibrationData.findStationaryParts | ( | data, | |
min_length = 1000, |
|||
max_length = 5000 |
|||
| ) |
| def ExtractCouplingCalibrationData.getData | ( | FILE | ) |
| def ExtractCouplingCalibrationData.main | ( | ) |
| def ExtractCouplingCalibrationData.plot | ( | data | ) |
| def ExtractCouplingCalibrationData.query_yes_no | ( | question, | |
default = "yes" |
|||
| ) |
Ask a yes/no question via raw_input() and return their answer.
"question" is a string that is presented to the user.
"default" is the presumed answer if the user just hits <Enter>.
It must be "yes" (the default), "no" or None (meaning
an answer is required of the user).
The "answer" return value is one of "yes" or "no".
| def ExtractCouplingCalibrationData.RAD | ( | x | ) |
| def ExtractCouplingCalibrationData.writeToFile | ( | FILE, | |
| data, | |||
| torque | |||
| ) |
| int ExtractCouplingCalibrationData.DATA_JUMP = 30000 |
| float ExtractCouplingCalibrationData.DELTA_ANGLE = 0.1 |
| int ExtractCouplingCalibrationData.dPOS = 6 |
| int ExtractCouplingCalibrationData.dVEL = 7 |
| int ExtractCouplingCalibrationData.g_angle = 0 |
| int ExtractCouplingCalibrationData.MAX_LENGTH = 4000 |
| int ExtractCouplingCalibrationData.mCUR = 8 |
| int ExtractCouplingCalibrationData.MIN_LENGTH = 1000 |
| int ExtractCouplingCalibrationData.mPOS = 4 |
| int ExtractCouplingCalibrationData.mVEL = 5 |
| int ExtractCouplingCalibrationData.SMOOTH = 300 |
| int ExtractCouplingCalibrationData.TIME = 0 |
| int ExtractCouplingCalibrationData.wACC = 3 |
| int ExtractCouplingCalibrationData.wPOS = 1 |
| int ExtractCouplingCalibrationData.wVEL = 2 |
1.8.11