Enviar Registro por Correo electrónico: A Generalized ideal observer model for decoding sensory neural responses