"Body-In-The-Loop": Optimizing Device Parameters Using Measures of Instantaneous Energetic Cost | Synapse