Retrieval of the quasi-optimal signal activating the excitable systems using preceding noise samples