How can you use the 'direct calculation' function via python? I did not find it in the python tutorial on github