OSCR

Assistive algorithms influence neural representations in motor brain-computer interfaces.

Code ↔ Paper

11 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 11 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › Data analysis › Rank-ordered neuron adding curve ↔ neural_data_analysis/compactness.ipynb, lines 142 to 234 · score 0.85 · normalized prediction accuracy, early days, ranked units, Adding Curve, late days, scores · Report a mismatch
  2. [2] § Methods › Model › Arm model ↔ model/src/TorqueBasedArm.cpp, lines 88 to 124 · score 0.83 · end effector acceleration, friction matrix, end effector velocity, end effector position, inertia, torques · Report a mismatch
  3. [3] § Results › Credit assignment to readout units during long-term learning with adaptive decoders ↔ neural_data_analysis/credit_assignment.ipynb, lines 141 to 207 · score 0.67 · cross validation, logistic regression, credit assignment, predict, accuracies, neural · Report a mismatch
  4. [4] § Methods › Data analysis › Logistic regression model ↔ neural_data_analysis/compactness.ipynb, lines 142 to 234 · score 0.65 · max iters, late days, L2, Logistic, regression, accuracy · Report a mismatch
  5. [5] § Methods › Experiment › BCI control with adaptive decoders ↔ model/params/bci-model-clda0.5/copy_sim_bci_model.cpp, lines 1 to 14 · score 0.62 · closed loop decoder, velocity Kalman filter, KF, BCI, adaptation, trained · Report a mismatch
  6. [6] § Methods › Experiment › BCI control with adaptive decoders ↔ model/params/bci_model1/copy_sim_bci_model.cpp, lines 1 to 14 · score 0.62 · closed loop decoder, velocity Kalman filter, KF, BCI, adaptation, trained · Report a mismatch
  7. [7] § Methods › Model › Analysis of the model ↔ model/analysis/plot_weight_change.py, lines 102 to 175 · score 0.60 · weight change, recurrent weight, linregress, scatter, fixed decoder, seed · Report a mismatch
  8. [8] § Methods › Data analysis › Logistic regression model ↔ neural_data_analysis/credit_assignment.ipynb, lines 141 to 207 · score 0.59 · logistic regression, flattened, scored, splits, predict, accuracy · Report a mismatch
  9. [9] § Methods › Experiment › BCI control with adaptive decoders ↔ model/params/bci-model-clda0.5/copy_sim_bci_model.cpp, lines 1 to 14 · score 0.54 · unit swaps, closed loop, KF, BCI, loss, decoder · Report a mismatch
  10. [10] § Methods › Experiment › BCI control with adaptive decoders ↔ model/params/bci_model1/copy_sim_bci_model.cpp, lines 1 to 14 · score 0.54 · unit swaps, closed loop, KF, BCI, loss, decoder · Report a mismatch
  11. [11] § Methods › Model › Network model ↔ model/params/arm_model/copy_sim_arm_model.cpp, the whole file · a weak match · score 0.54 · activation function, weight matrix, membrane, ReLU, recurrent, RNN · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Jupyter notebook · 289 lines · 11 KB · no license · 2 matches

  1. # %%
  2. import os
  3. import numpy as np
  4. import pickle
  5. from tqdm import tqdm
  6. import pandas as pd
  7. import seaborn as sns
  8. import matplotlib.pyplot as plt
  9. import copy
  10. from sklearn.utils import resample, shuffle
  11. from sklearn.model_selection import PredefinedSplit
  12. from sklearn.pipeline import Pipeline
  13. from sklearn.model_selection import PredefinedSplit
  14. from sklearn.preprocessing import StandardScaler
  15. from sklearn import model_selection
  16. from sklearn import linear_model
  17. # %%
  18. # functions
  19. ###### helper functions #######
  20. def pkl_read(file_to_read, write_dir):
  21. this = pickle.load(open(os.path.join(write_dir,file_to_read), "rb"))
  22. # print(this)
  23. return this
  24. def pkl_write(file_to_write, values_to_dump, write_dir):
  25. os.chdir(write_dir)
  26. with open(os.path.join(write_dir,file_to_write), 'wb') as pickle_file:
  27. pickle.dump(values_to_dump, pickle_file)
  28. def getdata_day(data,id,data_day):
  29. if id == 1:
  30. # var_name = data[0:data_day[id]+1,:,:]
  31. var_name = data[0:data_day[id],:,:]
  32. else:
  33. day_idx = np.where(np.array(list(data_day))== id)[0].astype(int) - 1
  34. #print(day_idx[0])
  35. prev_day_id = list(data_day)[day_idx[0]]
  36. #print(prev_day_id)
  37. var_name = data[data_day[prev_day_id]:data_day[id],:,:]
  38. return var_name
  39. def gettarget_day(target_direction, id, day):
  40. if id == 1:
  41. target = target_direction[:day[id]]
  42. else:
  43. day_idx = np.where(np.array(list(day))== id)[0].astype(int) - 1
  44. #print(day_idx[0])
  45. prev_day_id = list(day)[day_idx[0]]
  46. target = target_direction[day[prev_day_id]:day[id]]
  47. return target
  48. def get_numtrials_perday(datasize_day):
  49. '''
  50. datasize_day: dictionary with key as day and value as end trial index for that day . Comes from getdata_day()
  51. '''
  52. num_trials_perday = np.zeros(len(datasize_day))
  53. num_trials_perday[0] = np.array(list(datasize_day.values()))[0]
  54. num_trials_perday[1:] = np.diff(np.array(list(datasize_day.values())))
  55. # print(num_trials_perday)
  56. return num_trials_perday
  57. def trial_concatenate_data(data):
  58. '''
  59. data is on shape n_trials x n_units x n_bins
  60. '''
  61. n,u,t = data.shape
  62. new_arr = np.transpose(data, (0,2,1))
  63. new_arr = new_arr.reshape(n*t, u)
  64. # print(new_arr.shape)
  65. return new_arr
  66. ###### LR analysis functions #########
  67. def get_equal_target_dist_predefinedsplit(idx, target, n_samples_per_target):
  68. random_idx = []
  69. for it in range(8):
  70. this_idx = np.where(target== it+1)
  71. r_idx = np.random.choice(this_idx[0], n_samples_per_target, replace = False)
  72. # print(r_idx)
  73. random_idx.append(r_idx)
  74. # print(np.shape(random_idx))
  75. rand_idx = np.array(random_idx).reshape(n_samples_per_target*8)
  76. ps = np.zeros(len(target))
  77. ps[rand_idx] = -1 # index for training
  78. # ps[ps == 0] = 1 # index for test set
  79. # to genereate 2 fold cross validation
  80. test_idx = np.argwhere(~np.in1d(np.arange(len(ps)), rand_idx))
  81. first_fold = test_idx[:len(test_idx)//2]
  82. second_fold = test_idx[len(test_idx)//2:]
  83. ps[first_fold] = 0 # index for test set for fold 1
  84. ps[second_fold] = 1 # index for test set for fold 2
  85. # print(ps[ps == -1].shape, ps[ps == 0].shape, ps[ps == 1].shape)
  86. return ps
  87. def flatten_data(data):
  88. # Flattens the last two dimensions of the data
  89. return data.reshape(data.shape[0], -1)
  90. def matrix_similarity(A, B):
  91. """
  92. Compute the R^2 similarity between two matrices by treating them as vectors.
  93. Args:
  94. - A: First 2D matrix.
  95. - B: Second 2D matrix.
  96. Returns:
  97. - R^2 value representing the similarity between the matrices.
  98. """
  99. assert A.shape == B.shape, "Matrices must have the same shape"
  100. # Flatten the matrices to vectors
  101. A_flat = A.ravel()
  102. B_flat = B.ravel()
  103. # Compute the correlation coefficient
  104. correlation_matrix = np.corrcoef(A_flat, B_flat)
  105. r = correlation_matrix[0, 1]
  106. # Square the correlation coefficient to get R^2 value
  107. r2 = r #**2
  108. return r2
  109. # %%
  110. neural_recordings = pkl_read('neural_data.pkl', './example_data/') # Shape: n_tr x n_units x n_timebins; top 16 units are readouts
  111. target_direction = pkl_read('target_labels.pkl', './example_data/')
  112. datasize_day = pkl_read('trial_day_label.pkl', './example_data/')
  113. days = np.arange(2,18) # just for example. In the paper, we considered all days that had a minimum of 25 trials of successful reaches per target direction, minimum 200 trials in total.
  114. n_readouts = 20
  115. # %%
  116. # ranked unit adding curve with readout units only
  117. early_day = days[1]
  118. late_day = days[-1]
  119. n_neurons = n_readouts
  120. neural_recordings = neural_recordings[:,:n_readouts, :]
  121. # 2) Load neural data belonging to the days we want to check
  122. days_to_check = (early_day, late_day)
  123. n_bs = 10 # 100
  124. accuracy_inc_days_bs = np.zeros((len(days_to_check), n_bs, n_neurons)) # Individual unit accuracy : n_days x n_bs x n_sortedunits
  125. n_cont_idx_days_bs = np.zeros((len(days_to_check), n_bs, n_neurons))
  126. accuracy_ndc_days_bs = np.zeros((len(days_to_check), n_bs, n_neurons)) # Accuracy from ranked unit adding
  127. for i_, i in enumerate(days_to_check):
  128. data = getdata_day(neural_recordings,i, datasize_day )
  129. target = gettarget_day(target_direction, i, datasize_day)
  130. for j in tqdm(range(n_bs)):
  131. # Bootstrap trails with equal distribution of all targets and define train-test set
  132. idx = np.arange(0,len(data),1)
  133. test_fold = get_equal_target_dist_predefinedsplit(idx,target, 25) # function that returns 200 random trials ids with equal distribution of target directions in the dataset
  134. ps = PredefinedSplit(test_fold)
  135. # Get prediction accuracy for each neuron
  136. accuracy_inc = []
  137. for iN in range(n_neurons):
  138. sample_data = data[:,iN,:]
  139. data_train = np.squeeze(sample_data)
  140. data_flat = flatten_data(data_train)
  141. outcome_train = np.squeeze(target)
  142. # Logistic Regression Model
  143. my_model = linear_model.LogisticRegression(penalty = 'l2', max_iter=1000, C = 1)
  144. # Creating a pipeline
  145. pipe = Pipeline([
  146. ('scale', StandardScaler()),
  147. ('logistic', my_model)
  148. ])
  149. cv_results = model_selection.cross_validate(pipe, data_flat, outcome_train, cv= ps, return_estimator=True)
  150. results = cv_results['test_score']
  151. accuracy_inc.append(results)
  152. # print('inc')
  153. inc_mean = np.mean(accuracy_inc,1) # mean across 2 fold
  154. # print(inc_mean.shape)
  155. n_idx = np.argsort(inc_mean)[::-1] # sort units based on individual unit accuracy
  156. # print(n_idx)
  157. accuracy_inc_days_bs[i_, j, :] = inc_mean[n_idx] # days_to_check x n_bs x n_units
  158. n_cont_idx_days_bs[i_,j, :] = n_idx
  159. # Run unit adding curve based on rank from above
  160. for iN in range(1,n_neurons+1):
  161. neuron_idx = n_idx[:iN]
  162. sample_data = data[:,neuron_idx,:]
  163. data_train = np.squeeze(sample_data)
  164. data_flat = flatten_data(data_train) # Concatenating the third dimension
  165. outcome_train = np.squeeze(target)
  166. # Logistic Regression Model
  167. my_model = linear_model.LogisticRegression(penalty = 'l2', max_iter=1000, C = 1)
  168. # Creating a pipeline
  169. pipe = Pipeline([
  170. ('scale', StandardScaler()),
  171. ('logistic', my_model)
  172. ])
  173. #cross validate coef
  174. cv_results = model_selection.cross_validate(pipe, data_flat, outcome_train, cv= ps, return_estimator=True)
  175. # accuracy_draw[id] = cv_results['test_score']
  176. results = cv_results['test_score']
  177. accuracy_ndc_days_bs[i_,j,iN-1] = np.mean(results)
  178. acc_early = accuracy_ndc_days_bs[0,:,:]
  179. m_a_early = np.mean(acc_early,axis = 0) # mean along bootstrap
  180. norm_acc_early =( m_a_early - np.min(m_a_early)) /(np.max(m_a_early)- np.min(m_a_early))
  181. print(acc_early.shape)
  182. acc_late = accuracy_ndc_days_bs[1,:,:]
  183. m_a_late = np.mean(acc_late,axis = 0)
  184. norm_acc_late =( m_a_late - np.min(m_a_late)) / (np.max(m_a_late)- np.min(m_a_late))
  185. print(acc_late.shape)
  186. compactness_early = np.argwhere(norm_acc_early > 0.8)[0][0]
  187. compactness_late = np.argwhere(norm_acc_late > 0.8)[0][0]
  188. print(f'No. of units to reach 80% normalized prediction during early day is {compactness_early} and late day is {compactness_late}')
  189. # %%
  190. print(accuracy_inc_days_bs.shape) # n_days x n_bs x n_rankedunits
  191. sns.set_context('paper')
  192. sns.set_style('ticks')
  193. plt.figure(figsize=(2.2,1.5))
  194. plt.errorbar(np.arange(n_neurons)+1,np.mean(accuracy_inc_days_bs[0,:,:], axis = 0), yerr = np.std(accuracy_inc_days_bs[0,:,:], axis = 0), color = 'tab:cyan', label = 'early', linewidth = 1.0)
  195. plt.errorbar(np.arange(n_neurons)+1,np.mean(accuracy_inc_days_bs[1,:,:], axis = 0), yerr = np.std(accuracy_inc_days_bs[1,:,:], axis = 0), color = 'tab:purple', label = 'late', linewidth = 1.0)
  196. plt.ylabel('Classification accuracy', fontsize = 8)
  197. plt.xlabel('Ranked units', fontsize = 8)
  198. plt.legend(frameon = False, labelcolor = 'linecolor')
  199. plt.xticks(fontsize = 8)
  200. plt.yticks(fontsize = 8)
  201. sns.despine()
  202. plt.figure(figsize=(2.2,1.5))
  203. sns.set_context('paper')
  204. sns.set_style('ticks')
  205. plt.errorbar(np.arange(n_neurons)+1,np.mean(accuracy_ndc_days_bs[0,:,:], axis = 0), yerr = np.std(accuracy_ndc_days_bs[0,:,:], axis = 0), color = 'tab:cyan', label = 'early', linewidth = 1.0)
  206. plt.errorbar(np.arange(n_neurons)+1,np.mean(accuracy_ndc_days_bs[1,:,:], axis = 0), yerr = np.std(accuracy_ndc_days_bs[1,:,:], axis = 0), color = 'tab:purple', label = 'late', linewidth = 1.0)
  207. plt.ylabel('Classification accuracy', fontsize = 8)
  208. plt.xlabel('# of ranked units', fontsize = 8)
  209. plt.legend(frameon = False, labelcolor = 'linecolor', fontsize = 8)
  210. plt.xticks(fontsize = 8)
  211. plt.yticks(fontsize = 8)
  212. sns.despine()
  213. # f_name = os.path.join(PLOTS_DIR, 'RankOrderedNDC_all_paper.pdf')
  214. # plt.savefig(f_name, dpi = 300)
  215. # Normalizing to align
  216. sns.set_context('paper')
  217. sns.set_style('ticks')
  218. plt.figure(figsize=(2.2, 1.5))
  219. acc_early = accuracy_ndc_days_bs[0,:,:]
  220. m_a_early = np.mean(acc_early,axis = 0) # mean along bootstrap
  221. norm_acc_early =( m_a_early - np.min(m_a_early)) /(np.max(m_a_early)- np.min(m_a_early))
  222. print(acc_early.shape)
  223. acc_late = accuracy_ndc_days_bs[1,:,:]
  224. m_a_late = np.mean(acc_late,axis = 0)
  225. norm_acc_late =( m_a_late - np.min(m_a_late)) / (np.max(m_a_late)- np.min(m_a_late))
  226. print(acc_late.shape)
  227. plt.errorbar(np.arange(n_neurons)+1, norm_acc_early, yerr=np.std(acc_early,axis =0) ,color = 'tab:cyan', label = 'early')
  228. plt.errorbar(np.arange(n_neurons)+1, norm_acc_late, yerr=np.std(acc_late,axis =0), color = 'tab:purple', label = 'late')
  229. plt.axhline(y = 0.8, color = 'k', alpha = 0.8, linestyle = '-.')
  230. plt.legend(frameon = False, labelcolor = 'linecolor')
  231. plt.xlabel('# of ranked units')
  232. plt.ylabel('Classification accuracy \n normalized')
  233. plt.title('Rank Ordered NAC')
  234. sns.despine()

compactness.ipynb at commit 571dfc0, no license · at the source

Overview

  1. Department of Bioengineering, University of Washington, Seattle, WA USA
  2. Department of Mathematics and Statistics, Université de Montréal, Montréal, QC Canada
  3. Mila - Québec Artificial Intelligence Institute, Montréal, QC Canada
  4. Department of Electrical and Computer Engineering, University of Washington, Seattle, WA USA
  5. Washington National Biomedical Research Center, Seattle, WA USA
Journal: Nature communications, volume 17, issue 1, article 9832
Dates: received 25 April 2025; accepted 20 July 2026; published online 15 September 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-76109-y · PMID 42744792 · PMCID PMC13578456 · OpenAlex W7213337904
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: non-human primate (organism), systems (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, Single-unit activity, calcium imaging
Keywords: Brain-machine interface, Motor cortex, Neural decoding, Learning algorithms
MeSH: Algorithms*, Brain-Computer Interfaces*, Motor Cortex*, Animals, Learning, Macaca mulatta, Male, Models, Neurological, Movement, Neural Networks, Computer, Neurons (* major topic)
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NICHD NIH HHS (K12 HD073945); Canada First Research Excellence Fund (Fonds d'excellence en recherche Apog&ée Canada) (IVADO postdoctoral fellowship); NINDS NIH HHS (R01 NS134634); Simons Foundation (898220); U.S. Department of Health & Human Services | NIH | National Institute of Neurological Disorders and Stroke (NINDS) (NS134634); National Science Foundation (NSF) (Accelnet INBIC fellowship); U.S. Department of Health & Human Services | NIH | Eunice Kennedy Shriver National Institute of Child Health and Human Development (NICHD) (K12HD073945); Canadian Network for Research and Innovation in Machining Technology, Natural Sciences and Engineering Research Council of Canada (NSERC Canadian Network for Research and Innovation in Machining Technology) (RGPIN-2018-04821)
Citations: not cited yet (Europe PMC); 82 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.

pavi-rajes/assistive-sensory-motor-perturbations-influence-learned-neural-representations

License: none: the authors keep all their rights
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 571dfc0479b74a21f4b95bfda5671cf27d2ba36c, 1 May 2024
Languages: C++ (40), Python (7), Jupyter (3), Shell (2)
Size: 109 files, 52 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, environment (neural_data_analysis/requirements.txt, model/analysis/environment.yml), 3 notebooks
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: Matplotlib (10 files), NumPy (10 files), seaborn (10 files), SciPy (5 files), scikit-learn (4 files), pandas (3 files), Numba (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
53 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-76109-y.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 52 scripts, each with its path and the digest of its content;
  • 11 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-76109-y.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 4 keywords, 11 MeSH terms, 8 funders, 73 references.

Cite

This paper

Rajeswaran, P., Payeur, A., Lajoie, G., & Orsborn, A. L. (2026). Assistive algorithms influence neural representations in motor brain-computer interfaces. Nature communications, 17(1), 9832. https://doi.org/10.1038/s41467-026-76109-y

BibTeX

@article{rajeswaran2026assistive,
author = {Rajeswaran, Pavithra and Payeur, Alexandre and Lajoie, Guillaume and Orsborn, Amy L},
title = {{Assistive algorithms influence neural representations in motor brain-computer interfaces}},
journal = {Nature communications},
year = {2026},
month = sep,
volume = {17},
number = {1},
pages = {9832},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-76109-y},
url = {https://doi.org/10.1038/s41467-026-76109-y},
pmid = {42744792},
pmcid = {PMC13578456}
}

RIS

TY - JOUR
AU - Rajeswaran, Pavithra
AU - Payeur, Alexandre
AU - Lajoie, Guillaume
AU - Orsborn, Amy L
TI - Assistive algorithms influence neural representations in motor brain-computer interfaces
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/09/15
VL - 17
IS - 1
SP - 9832
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-76109-y
UR - https://doi.org/10.1038/s41467-026-76109-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-76109-y",
"type": "article-journal",
"title": "Assistive algorithms influence neural representations in motor brain-computer interfaces",
"container-title": "Nature communications",
"author": [
{
"family": "Rajeswaran",
"given": "Pavithra"
},
{
"family": "Payeur",
"given": "Alexandre"
},
{
"family": "Lajoie",
"given": "Guillaume"
},
{
"family": "Orsborn",
"given": "Amy L"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "9832",
"DOI": "10.1038/s41467-026-76109-y",
"PMID": "42744792",
"PMCID": "PMC13578456",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-76109-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
15
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.7554/elife.89421 [code]
An emerging view of neural geometry in motor cortex supports high-performance decoding.
Journal: eLife
In common: seaborn, scikit-learn, pandas, 3 other tools, non-human primate, systems, 18 references
[2] doi:10.1038/s41598-022-20218-3
Selective modulation of cortical population dynamics during neuroprosthetic skill learning.
Journal: Scientific reports
In common: non-human primate, systems, 19 references
[3] doi:10.1016/j.celrep.2025.116030 [code]
Effective cerebellar neuroprosthetic control after stroke.
Journal: Cell reports
In common: Numba, scikit-learn, pandas, 3 other tools, systems, 13 references
[4] doi:10.7554/elife.82598 [code]
The impact of task context on predicting finger movements in a brain-machine interface.
Journal: eLife
In common: Numba, scikit-learn, SciPy, 1 other tool, non-human primate, 14 references
[5] doi:10.1088/1741-2552/ad1053 [code]
Multimodal subspace identification for modeling discrete-continuous spiking and field potential population activity.
Journal: Journal of neural engineering
In common: 16 references
[6] doi:10.1038/s41467-024-54738-5 [code]
A neural implementation model of feedback-based motor learning.
Journal: Nature communications
In common: scikit-learn, Matplotlib, NumPy, non-human primate, systems, 13 references
[7] doi:10.1038/s41598-023-44405-y
Distinct neural representations during a brain-machine interface and manual reaching task in motor cortex, prefrontal cortex, and striatum.
Journal: Scientific reports
In common: systems, 13 references
[8] doi:10.1371/journal.pone.0286742
Rhesus monkeys learn to control a directional-key inspired brain machine interface via bio-feedback.
Journal: PloS one
In common: non-human primate, 13 references
[9] doi:10.1038/s41467-025-59652-y [code]
Stabilizing brain-computer interfaces through alignment of latent dynamics.
Journal: Nature communications
In common: Numba, scikit-learn, pandas, 3 other tools, non-human primate, systems, 10 references
[10] doi:10.1038/s41467-024-48008-7 [code]
De novo motor learning creates structure in neural activity that shapes adaptation.
Journal: Nature communications
In common: seaborn, scikit-learn, pandas, 3 other tools, systems, 11 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-76109-y.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.