A system for providing therapy to a patient, comprising: a sensor array comprising sensors arranged to be distributed across a predetermined spatial zone of the body surface of the patient that provides a surrogate that maps deterministically to at least one predetermined region of interest of the heart of the patient; a memory; a therapy system; a control system configured to: provide at least one parameter to control a therapy that is applied to the heart of the patient by the therapy system; obtain electrical data from the patient via the sensor array during each of a plurality of iterations of the therapy; automatically analyze the electrical data associated with a respective value of the at least one parameter of the therapy at each of the plurality of iterations of the applied therapy to compute an indication of at least one function of the heart of the patient at each respective iteration of the applied therapy; store the indication of the at least one function of the at least one internal anatomical structure of the patient in the memory; and adjust the at least one parameter of the therapy for delivery in a subsequent one of the plurality of iterations based on the indication of the at least one function. a sensor array comprising sensors arranged to be distributed across a predetermined spatial zone of the body surface of the patient that provides a surrogate that maps deterministically to at least one predetermined region of interest of the heart of the patient; a memory; a therapy system; a control system configured to: provide at least one parameter to control a therapy that is applied to the heart of the patient by the therapy system; obtain electrical data from the patient via the sensor array during each of a plurality of iterations of the therapy; automatically analyze the electrical data associated with a respective value of the at least one parameter of the therapy at each of the plurality of iterations of the applied therapy to compute an indication of at least one function of the heart of the patient at each respective iteration of the applied therapy; store the indication of the at least one function of the at least one internal anatomical structure of the patient in the memory; and adjust the at least one parameter of the therapy for delivery in a subsequent one of the plurality of iterations based on the indication of the at least one function. provide at least one parameter to control a therapy that is applied to the heart of the patient by the therapy system; obtain electrical data from the patient via the sensor array during each of a plurality of iterations of the therapy; automatically analyze the electrical data associated with a respective value of the at least one parameter of the therapy at each of the plurality of iterations of the applied therapy to compute an indication of at least one function of the heart of the patient at each respective iteration of the applied therapy; store the indication of the at least one function of the at least one internal anatomical structure of the patient in the memory; and adjust the at least one parameter of the therapy for delivery in a subsequent one of the plurality of iterations based on the indication of the at least one function.