Hi,
The following pre calculations are done by the ChnTTICalc()function:
reducing the clock rate to 1600Hz (sub sampling)
remove the bias
filter with FIR100
transfer the reduced clock rate to the original one
I hope this is the information you are looking for.
Kind regards
Walter