FIX indexing error.

chan_data is 1d so the index should be 0.