SearcharxivSearch

arXiv subjects

Pranav Mamidanna

Publications and source records attributed to Pranav Mamidanna.

3 recordsLinked to original sources

emgforge: an automated end-to-end pipeline for simulating surface EMG on MRI-based volume conductors

Simulated electromyograms are used to understand what an electrode records, to test decomposition and estimation algorithms on signals with known ground truth, and to train learning-based decoders. Most simulators fix the geometry to a cylinder or a slab, or stop at the lead field and leave the rest to the user. We present emgforge, an open pipeline that takes a labelled MRI segmentation of a limb to surface EMG in one command: a tetrahedral mesh with conductivity tensors aligned with each muscle's fibres; one reciprocal finite-element solve per electrode, valid for every fibre of every muscle; fibre beds that are straight or follow the muscle's shape; a motor-unit pool obeying the size principle; motor-unit action potentials on any electrode layout; and a motoneuron-pool and twitch layer that turns a drive or a movement into interference EMG and force. We describe the pipeline stage by stage, and at each stage we show, with an example, why the choice was made. The step that turns a lead field into a single-fibre action potential -- direct line-source synthesis -- is checked against a closed-form solution ($r = 1.0000$, zero lag), and the whole chain against fifty checks with numeric criteria from the physiological literature. We then use the pipeline for four studies: what an electrode sees as a function of depth, fat, spacing and montage; whether fibre geometry changes the signal; how much crosstalk a grid over one muscle receives from its neighbours; and how interference EMG scales with drive. The code, the validation suite and three datasets with ground truth are released.

cs.CE

Quasi-Linear ICA for Motor Unit Decomposition during Dynamic Contractions

Decomposing surface electromyography (EMG) into the spike trains of individual motor neurons is a long-standing inverse problem and a key step toward motor-neuron-driven neural interfaces such as prosthetics and exoskeletons. The standard approach, independent component analysis (ICA) of the multichannel signal, assumes that the mixing from neurons to electrodes is stationary in time. This assumption fails during movement, when volume-conductor deformation makes the mixing time-varying, and current decomposition algorithms are correspondingly restricted to isometric contractions. We introduce a quasi-linear ICA formulation in which a static linear separator is preceded by a learned, low-rank, time-varying invertible transformation. The separator is trained with an independence loss on the uncompensated projection, and the transformation with a stationarity loss on the recovered source. Gradients are not shared between the two, so the source-extraction step reduces to classical linear ICA and inherits its identifiability guarantee, while non-stationary distortion is absorbed by the transformation. The closed-form inverse of the transformation enables per-spike subtraction with a time-varying template during sequential peel-off. On a public benchmark of dynamic high-density EMG with ground-truth spike trains, the method outperforms four adaptive ICA baselines at every recall threshold, recovering more units at a higher accuracy.

cs.HC

Markerless tracking of user-defined features with deep learning

Quantifying behavior is crucial for many applications in neuroscience. Videography provides easy methods for the observation and recording of animal behavior in diverse settings, yet extracting particular aspects of a behavior for further analysis can be highly time consuming. In motor control studies, humans or other animals are often marked with reflective markers to assist with computer-based tracking, yet markers are intrusive (especially for smaller animals), and the number and location of the markers must be determined a priori. Here, we present a highly efficient method for markerless tracking based on transfer learning with deep neural networks that achieves excellent results with minimal training data. We demonstrate the versatility of this framework by tracking various body parts in a broad collection of experimental settings: mice odor trail-tracking, egg-laying behavior in drosophila, and mouse hand articulation in a skilled forelimb task. For example, during the skilled reaching behavior, individual joints can be automatically tracked (and a confidence score is reported). Remarkably, even when a small number of frames are labeled ($\approx 200$), the algorithm achieves excellent tracking performance on test frames that is comparable to human accuracy.

cs.CV