For example I have a poorly documented library. I have an object from it and I want to know what are the types of the arguments certain method accepts.
In IPython I can run
In [28]: tdb.getData?
Signature: tdb.getData(time, point_coords, sinterp=0, tinterp=0, data_set='isotropic1024coarse', getFunction='getVelocity', make_modulo=False)
Docstring: <no docstring>
File: ~/.local/lib/python3.5/site-packages/pyJHTDB/libJHTDB.py
Type: method
but it does not give me the types of the arguments. I don't know exactly what is the type of point_coords.
point_coords.test_plainfunction, which seems to indicatepoint_coordsshould be an Nx3 NumPy array of float32 dtype.??) to see the function definition. It might help to understand what is expected.