new spike analysis class