spike train decoding using metrics etc