. . . we want to change the calculation before output files have been generated.
What sorts of changes?
The python interface and its access to data in the run time database (RTDB) allow you great flexibility, although the best python documentation is in the source files.