Sphinxs:

the values of the channels 0 and 2 are transformed to  inf , is that right ?


Of course not.
Obviously, you have ‘division by zero’ somewhere. Try to debug the code to figure out the source of error.