Functions | |
def | get_number |
get number from command line. | |
Variables | |
tuple | checkerboard_number |
tuple | height = get_number('Enter height of the mechanism checkerboard origin (top left hand corner).', dtype = float) |
tuple | radius = get_number('Enter distance of handle (hooking location) from the hinge of door. (-1 for drawer)', dtype = float) |
dictionary | s |
def initialise_experiment.get_number | ( | prompt, | |
dtype | |||
) |
get number from command line.
Check if the number is of the appropriate dataype.
dtype | - int, float etc. |
Definition at line 8 of file initialise_experiment.py.
00001 get_number('Enter visible hook checkerboard number (number on top right hand corner of checkerboard)', 00002 dtype = int)
Definition at line 26 of file initialise_experiment.py.
tuple initialise_experiment::height = get_number('Enter height of the mechanism checkerboard origin (top left hand corner).', dtype = float) |
Definition at line 28 of file initialise_experiment.py.
tuple initialise_experiment::radius = get_number('Enter distance of handle (hooking location) from the hinge of door. (-1 for drawer)', dtype = float) |
Definition at line 29 of file initialise_experiment.py.
dictionary initialise_experiment::s |
00001 { 00002 'checkerboard_number': checkerboard_number, 00003 'height': height, 00004 'radius': radius 00005 }
Definition at line 33 of file initialise_experiment.py.