Prefrontal parvalbumin neurons mediate working memory in a task demand-dependent manner.
2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 2 matches
- [1] § Methods › Fiber photometry analysis ↔ photobatch/Processing/Signal/fitting.py, lines 53 to 99 · score 0.55 · linear regression, deviation, fit, isobestic, median, filtered · block
oscr:b:WBM56EJ4TJH42-4· Report a mismatch - [2] § Methods › Fiber photometry ↔ photobatch/Processing/IO/Photometry/doric.py, lines 145 to 282 · score 0.55 · Doric Studio software, TTL, channel, photometry, signals · block
oscr:b:76GN7J9PKGQT2-E· 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
Python · 387 lines · 13 KB · GPL-3.0 · 1 match
- """Signal/fitting.py
- Baseline fitting and delta-F/F computation.
- Entry point: `signal_fit` (previously `doric_fit` on the PhotometryData class).
- Supported fitting strategies
- -----------------------------
- linear / lin
- Ordinary least-squares (polyfit) or robust HuberRegressor.
- irls
- Robust linear model using statsmodels RLM with Huber's T loss.
- expodecay / exp_decay / exp
- Single-component exponential decay fitted over time.
- biexponential / biexp
- Two-component exponential decay fitted over time.
- arpls / ar_pls / ar-pls
- Asymmetrically Reweighted Penalised Least Squares (Baek et al. 2015).
- """
- import logging
- import numpy as np
- import pandas as pd
- import scipy.sparse as sparse
- import statsmodels.api as sm
- from scipy.optimize import curve_fit
- from scipy.sparse.linalg import spsolve
- from sklearn.linear_model import HuberRegressor
- logger = logging.getLogger(__name__)
- def _ols_fit(filtered_f0, filtered_f):
- """Fit the active channel to the control channel with ordinary least squares.
- Parameters
- ----------
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal.
- filtered_f : numpy.ndarray
- Filtered active signal.
- Returns
- -------
- numpy.ndarray
- Predicted active-channel baseline computed from a first-order
- polynomial fit of ``filtered_f0`` onto ``filtered_f``.
- """
- poly = np.polyfit(filtered_f0, filtered_f, 1)
- return np.multiply(poly[0], filtered_f0) + poly[1]
- def _linear_fit(filtered_f0, filtered_f, robust_fit=True, huber_epsilon='auto'):
- """Fit the isobestic channel to the active channel using linear regression.
- Parameters
- ----------
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal.
- filtered_f : numpy.ndarray
- Filtered active signal to be modeled.
- robust_fit : bool, optional
- If ``True``, fit with ``HuberRegressor``. If ``False``, use an
- ordinary least-squares line fit.
- huber_epsilon : str or float, optional
- Huber loss threshold. Values ``"auto"`` and ``"mad"`` derive the
- threshold from the residual median absolute deviation. Numeric values
- are used directly and clipped to be greater than ``1.0``.
- Returns
- -------
- numpy.ndarray
- Predicted active-channel baseline for each sample in
- ``filtered_f0``.
- """
- if robust_fit:
- f0_reshaped = filtered_f0.reshape(-1, 1)
- epsilon_str = str(huber_epsilon).strip().lower()
- if epsilon_str in ('auto', 'mad'):
- f_naive_pred = _ols_fit(filtered_f0, filtered_f)
- residuals = filtered_f - f_naive_pred
- mad_val = np.median(np.abs(residuals - np.median(residuals)))
- epsilon_val = max(1.01, 1.4826 * mad_val)
- logger.debug("Huber epsilon (auto/MAD): %.4f", epsilon_val)
- else:
- try:
- epsilon_val = max(1.01, float(huber_epsilon))
- except (ValueError, TypeError):
- epsilon_val = 1.35
- logger.debug("Huber epsilon (user-specified): %.4f", epsilon_val)
- huber = HuberRegressor(epsilon=epsilon_val)
- huber.fit(f0_reshaped, filtered_f)
- fitted = huber.predict(f0_reshaped)
- else:
- fitted = _ols_fit(filtered_f0, filtered_f)
- return fitted
- def _irls_fit(filtered_f0, filtered_f):
- """Fit the control channel to the active channel with robust IRLS.
- Parameters
- ----------
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal.
- filtered_f : numpy.ndarray
- Filtered active signal to be modeled.
- Returns
- -------
- numpy.ndarray
- Predicted active-channel baseline from a robust linear model fit with
- Huber's T loss.
- """
- design_matrix = sm.add_constant(np.asarray(filtered_f0, dtype=float), has_constant='add')
- response = np.asarray(filtered_f, dtype=float)
- rlm_result = sm.RLM(response, design_matrix, M=sm.robust.norms.HuberT()).fit()
- return rlm_result.predict(design_matrix)
- def _exp_decay_fit(filtered_f0, filtered_f, time_data):
- """Fit the active channel using a single-exponential decay over time.
- Parameters
- ----------
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal. This is only used for fallback
- linear fitting if the exponential optimization fails.
- filtered_f : numpy.ndarray
- Filtered active signal to be modeled.
- time_data : numpy.ndarray
- Time vector associated with the filtered signals.
- Returns
- -------
- numpy.ndarray
- Predicted baseline from a single-exponential decay model. Falls back
- to an OLS control-to-active fit if nonlinear optimization fails.
- """
- yf = np.asarray(filtered_f, dtype=float)
- t = np.asarray(time_data, dtype=float)
- try:
- p_95 = np.percentile(yf, 95)
- p_05 = np.percentile(yf, 5)
- a0 = p_95 - p_05
- k0 = 1.0 / max((t[-1] - t[0]), 1.0)
- c0 = np.min(yf)
- popt, _ = curve_fit(
- lambda tt, amp, decay, offset: amp * np.exp(-decay * tt) + offset,
- t,
- yf,
- p0=[a0, k0, c0],
- maxfev=10000,
- )
- fitted = popt[0] * np.exp(-popt[1] * t) + popt[2]
- except (RuntimeError, TypeError, ValueError):
- fitted = _ols_fit(filtered_f0, filtered_f)
- return fitted
- def _biexp_decay_fit(filtered_f0, filtered_f, time_data):
- """Fit the active channel with a biexponential decay over time.
- Parameters
- ----------
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal. Used for fallback linear fitting
- if the biexponential optimization fails.
- filtered_f : numpy.ndarray
- Filtered active signal to be modeled.
- time_data : numpy.ndarray
- Time vector associated with the filtered signals.
- Returns
- -------
- numpy.ndarray
- Predicted baseline from a two-component exponential decay model.
- Falls back to an OLS control-to-active fit if nonlinear optimization
- fails or the inputs are too short for stable fitting.
- """
- yf = np.asarray(filtered_f, dtype=float)
- control = np.asarray(filtered_f0, dtype=float)
- t = np.asarray(time_data, dtype=float)
- if yf.size < 5 or t.size != yf.size:
- return _ols_fit(control, yf)
- t_shifted = t - t[0]
- duration = max(float(t_shifted[-1]), 1.0)
- p10, p50, p90 = np.percentile(yf, [10, 50, 90])
- signal_span = max(float(p90 - p10), np.finfo(float).eps)
- baseline_floor = float(np.min(yf))
- amp_total = max(float(p90 - baseline_floor), np.finfo(float).eps)
- slow_amp = max(float(p90 - p50), 0.25 * amp_total)
- fast_amp = max(float(p50 - p10), 0.15 * amp_total)
- k_slow_0 = 0.5 / duration
- k_fast_0 = 5.0 / duration
- c0 = baseline_floor
- lower_bounds = [0.0, 0.0, 1e-8, 1e-8, baseline_floor - signal_span]
- upper_bounds = [
- 4.0 * amp_total,
- 4.0 * amp_total,
- 10.0 / duration,
- 100.0 / duration,
- float(np.max(yf)),
- ]
- def biexponential(tt, amp_slow, amp_fast, k_slow, k_fast, offset):
- return amp_slow * np.exp(-k_slow * tt) + amp_fast * np.exp(-k_fast * tt) + offset
- try:
- popt, _ = curve_fit(
- biexponential,
- t_shifted,
- yf,
- p0=[slow_amp, fast_amp, k_slow_0, k_fast_0, c0],
- bounds=(lower_bounds, upper_bounds),
- maxfev=20000,
- )
- fitted = biexponential(t_shifted, *popt)
- except (RuntimeError, TypeError, ValueError):
- fitted = _ols_fit(control, yf)
- return fitted
- def _arpls_drift_fit(
- dff_initial,
- arpls_lambda=1e5,
- arpls_max_iter=50,
- arpls_tol=1e-6,
- arpls_eps=1e-8,
- arpls_weight_scale=2.0,
- ):
- """Estimate baseline drift using Asymmetrically Reweighted Penalised Least Squares.
- Parameters
- ----------
- dff_initial : numpy.ndarray
- Initial delta-F/F trace from which slow baseline drift should be
- estimated.
- arpls_lambda : float, optional
- Smoothness penalty applied to the second-derivative term.
- arpls_max_iter : int, optional
- Maximum number of reweighting iterations.
- arpls_tol : float, optional
- Relative convergence tolerance for weight updates.
- arpls_eps : float, optional
- Lower bound applied to weights for numerical stability.
- arpls_weight_scale : float, optional
- Scaling factor controlling the sharpness of the logistic reweighting
- transition.
- Returns
- -------
- numpy.ndarray
- Estimated slow drift component with the same shape as
- ``dff_initial``.
- """
- y = dff_initial.astype(float)
- n = y.size
- lam = float(arpls_lambda)
- ratio = float(arpls_tol)
- max_iter = int(arpls_max_iter)
- eps = float(arpls_eps)
- weight_scale = float(arpls_weight_scale)
- e = np.ones(n)
- d_matrix = sparse.diags([e, -2 * e, e], [0, 1, 2], shape=(n - 2, n))
- penalty = lam * (d_matrix.transpose().dot(d_matrix))
- weights = np.ones(n)
- baseline = np.zeros(n)
- for _ in range(max_iter):
- weight_matrix = sparse.diags(weights, 0)
- system = (weight_matrix + penalty).tocsc()
- baseline = spsolve(system, weights * y)
- residuals = y - baseline
- negative_residuals = residuals[residuals < 0]
- if negative_residuals.size == 0:
- break
- mean_neg = negative_residuals.mean()
- std_neg = negative_residuals.std()
- if std_neg <= 0:
- break
- next_weights = 1.0 / (1.0 + np.exp(weight_scale * (residuals - (2.0 * std_neg - mean_neg)) / std_neg))
- next_weights = np.clip(next_weights, eps, 1.0)
- if np.linalg.norm(weights - next_weights) / np.linalg.norm(weights) < ratio:
- weights = next_weights
- break
- weights = next_weights
- return baseline
- def signal_fit(
- fit_type,
- filtered_f0,
- filtered_f,
- time_data,
- robust_fit=True,
- baseline_detrend=None,
- arpls_lambda=1e5,
- arpls_max_iter=50,
- arpls_tol=1e-6,
- arpls_eps=1e-8,
- arpls_weight_scale=2.0,
- huber_epsilon='auto',
- ):
- """Fit a baseline to the photometry signals and compute delta-F/F.
- Parameters
- ----------
- fit_type : str
- Baseline fitting strategy. Supported values include ``"linear"``,
- ``"lin"``, ``"irls"``, ``"expodecay"``, ``"exp_decay"``,
- ``"exp"``, ``"biexponential"``, and ``"biexp"``.
- filtered_f0 : numpy.ndarray
- Filtered isobestic/control signal.
- filtered_f : numpy.ndarray
- Filtered active signal.
- time_data : numpy.ndarray
- Time vector corresponding to the filtered signals.
- robust_fit : bool, optional
- If ``True``, the linear fit strategy uses ``HuberRegressor``.
- baseline_detrend : str or None, optional
- Optional post-fit detrending method. Currently ``"arpls"`` applies
- arPLS drift removal; any other value leaves delta-F/F unchanged.
- arpls_lambda : float, optional
- Smoothness penalty used when ``baseline_detrend`` is ``"arpls"``.
- arpls_max_iter : int, optional
- Maximum number of arPLS iterations.
- arpls_tol : float, optional
- Convergence tolerance for arPLS weight updates.
- arpls_eps : float, optional
- Lower clipping bound for arPLS weights.
- arpls_weight_scale : float, optional
- Logistic weight transition scale for arPLS.
- huber_epsilon : str or float, optional
- Huber threshold control for the linear robust fit path.
- Returns
- -------
- pandas.DataFrame
- DataFrame with columns ``Time`` and ``DeltaF`` containing the input
- time vector and the computed delta-F/F trace.
- """
- fit_type_lower = str(fit_type).lower() if fit_type is not None else 'linear'
- if fit_type_lower in ('linear', 'lin'):
- fitted = _linear_fit(filtered_f0, filtered_f, robust_fit=robust_fit, huber_epsilon=huber_epsilon)
- elif fit_type_lower == 'irls':
- fitted = _irls_fit(filtered_f0, filtered_f)
- elif fit_type_lower in ('expodecay', 'exp_decay', 'exp'):
- fitted = _exp_decay_fit(filtered_f0, filtered_f, time_data)
- elif fit_type_lower in ('biexponential', 'biexp'):
- fitted = _biexp_decay_fit(filtered_f0, filtered_f, time_data)
- else:
- fitted = _ols_fit(filtered_f0, filtered_f)
- with np.errstate(divide='ignore', invalid='ignore'):
- delta_f = (filtered_f - fitted) / fitted
- delta_f = np.nan_to_num(delta_f)
- if baseline_detrend == 'arpls':
- drift_fit = _arpls_drift_fit(
- delta_f,
- arpls_lambda=arpls_lambda,
- arpls_max_iter=arpls_max_iter,
- arpls_tol=arpls_tol,
- arpls_eps=arpls_eps,
- arpls_weight_scale=arpls_weight_scale,
- )
- delta_f -= drift_fit
- result_pd = pd.DataFrame({'Time': time_data, 'DeltaF': delta_f})
- return result_pd
fitting.py at commit 25f8e4a, under GPL-3.0 · at the source
Overview
- Neuroscience Program, Schulich School of Medicine & Dentistry, Western University,London, ON Canada
- Department of Physiology and Pharmacology, Schulich School of Medicine & Dentistry, Western University,London, ON Canada
- Department of Pharmacology and Toxicology, Faculty of Pharmacy, Alexandria University,Alexandria, Egypt
- Department of Anatomy and Cell Biology, Schulich School of Medicine & Dentistry, Western University,London, ON Canada
- Department of Psychiatry, Schulich School of Medicine & Dentistry, Western University,London, ON Canada
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.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
dpalmer9/photobatch
25f8e4a52a4e2b9911fe59895be8f9dc33f7cb6f, 22 June 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
30 files
- main.py, Python, 162 lines
- photobatch/
GUI/ , Python, 1 line__init__.py - photobatch/
GUI/ , Python, 3,097 linesinterface.py - photobatch/
GUI/ , Python, 11 lineslaunch.py - photobatch/
Processing/ , Python, 17 linesIO/ Behaviour/ __init__.py - photobatch/
Processing/ , Python, 469 linesIO/ Behaviour/ abet.py - photobatch/
Processing/ , Python, 9 linesIO/ Photometry/ __init__.py - photobatch/
Processing/ , Python, 282 lines, 1 matchIO/ Photometry/ doric.py - photobatch/
Processing/ , Python, 28 linesIO/ __init__.py - photobatch/
Processing/ , Python, 162 linesIO/ output.py - photobatch/
Processing/ , Python, 153 linesIO/ sync.py - photobatch/
Processing/ , Python, 2 linesProcess/ __init__.py - photobatch/
Processing/ , Python, 753 linesProcess/ advanced_analysis.py - photobatch/
Processing/ , Python, 407 linesProcess/ event.py - photobatch/
Processing/ , Python, 4 linesSignal/ __init__.py - photobatch/
Processing/ , Python, 166 linesSignal/ filter.py - photobatch/
Processing/ , Python, 387 lines, 1 matchSignal/ fitting.py - photobatch/
Processing/ , Python, 86 linesSignal/ utilities.py - photobatch/
Processing/ , Python, 1 line__init__.py - photobatch/
Processing/ , Python, 1,096 linesdata_processor.py - photobatch/
Processing/ , Python, 585 lineshdf_store.py - photobatch/
__init__.py , Python, 49 lines - photobatch/
config_manager.py , Python, 344 lines - photobatch/
exceptions.py , Python, 19 lines - tests/
conftest.py , Python, 18 lines - tests/
test_integration.py , Python, 405 lines - tests/
test_signal_processing.p , Python, 117 linesy - tests/
test_sync.py , Python, 52 lines - LICENCE, License, 674 lines
- README.md, Text, 188 lines
Zenodo 7577053
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
3 files
- Photometry Analyzer BATCH.py, Python, 1,098 lines
- LICENCE, License, 674 lines
- README.md, Text, 46 lines
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:
- it points to the authors' code: dpalmer9/
photobatch , Zenodo 7577053
Read it in the paper: doi.org/10.1038/s41467-026-73818-2.
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 29 scripts, each with its path and the digest of its content;
- 2 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.
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41467-026-73818-2.
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, 11 authors, 3 keywords, 11 MeSH terms, 7 funders, 94 references.
Cite
This paper
Dexter, T. D., Machado, M. M. F., Hamidullah, S., Palmer, D., Hashad, A. M., Doyle, M., Attard, M., Allman, B. L., Inoue, W., Saksida, L. M., & Bussey, T. J. (2026). Prefrontal parvalbumin neurons mediate working memory in a task demand-dependent manner. Nature communications, 17(1), 7349. https://
BibTeX
@article{dexter2026prefr
author = {Dexter, Tyler D. and Machado, Meira M. F. and Hamidullah, Shahnaza and Palmer, Daniel and Hashad, Ahmed. M. and Doyle, Marcus and Attard, Megan and Allman, Brian L. and Inoue, Wataru and Saksida, Lisa M. and Bussey, Timothy J.},
title = {{Prefrontal parvalbumin neurons mediate working memory in a task demand-dependent manner}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7349},
publisher = {Nature Portfolio},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42265093},
pmcid = {PMC13402680}
}
RIS
TY - JOUR
AU - Dexter, Tyler D.
AU - Machado, Meira M. F.
AU - Hamidullah, Shahnaza
AU - Palmer, Daniel
AU - Hashad, Ahmed. M.
AU - Doyle, Marcus
AU - Attard, Megan
AU - Allman, Brian L.
AU - Inoue, Wataru
AU - Saksida, Lisa M.
AU - Bussey, Timothy J.
TI - Prefrontal parvalbumin neurons mediate working memory in a task demand-dependent manner
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 7349
SN - 2041-1723
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Prefrontal parvalbumin neurons mediate working memory in a task demand-dependent manner",
"container-title": "Nature communications",
"author": [
{
"family": "Dexter",
"given": "Tyler D."
},
{
"family": "Machado",
"given": "Meira M. F."
},
{
"family": "Hamidullah",
"given": "Shahnaza"
},
{
"family": "Palmer",
"given": "Daniel"
},
{
"family": "Hashad",
"given": "Ahmed. M."
},
{
"family": "Doyle",
"given": "Marcus"
},
{
"family": "Attard",
"given": "Megan"
},
{
"family": "Allman",
"given": "Brian L."
},
{
"family": "Inoue",
"given": "Wataru"
},
{
"family": "Saksida",
"given": "Lisa M."
},
{
"family": "Bussey",
"given": "Timothy J."
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "7349",
"DOI": "10.1038/
"PMID": "42265093",
"PMCID": "PMC13402680",
"ISSN": "2041-1723",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
10
]
]
}
}
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.1016/j.pneurobio.2022.102372 [code]
- Oscillations without cortex: Working memory modulates brainwaves in the endbrain of crows.Journal: Progress in neurobiologyIn common: cognitive, 12 references
- [2] doi:10.1038/s41467-022-35601-x [code]
- Continuous cholinergic-dopaminergic
updating in the nucleus accumbens underlies approaches to reward-predicting cues. Journal: Nature communicationsIn common: mouse, 3 authors - [3] doi:10.7554/elife.79471 [code]
- <i>Disrupted-in-schizoph
renia-1</ i> is required for normal pyramidal cell-interneuron communication and assembly dynamics in the prefrontal cortex. Journal: eLifeIn common: schizophrenia / psychosis, mouse, 11 references - [4] doi:10.1016/j.neuroimage.2026.121718 [code]
- Frontotemporal bursting supports human working memory.Journal: NeuroImageIn common: scikit-learn, pandas, SciPy, 2 other tools, cognitive, 9 references
- [5] doi:10.1371/journal.pcbi.1010776 [code]
- Robust and brain-like working memory through short-term synaptic plasticity.Journal: PLoS computational biologyIn common: statsmodels, scikit-learn, pandas, 3 other tools, cognitive, 8 references
- [6] doi:10.1016/j.isci.2023.107532
- Task-specific oscillatory synchronization of prefrontal cortex, nucleus reuniens, and hippocampus during working memory.Journal: iScienceIn common: cognitive, 9 references
- [7] doi:10.1371/journal.pbio.3003140
- The dorsal and ventral hippocampus contribute differentially to spatial working memory and spatial coding in the prefrontal cortex.Journal: PLoS biologyIn common: mouse, 9 references
- [8] doi:10.1016/j.cub.2023.02.029 [code]
- Distinct hippocampal-prefrontal neural assemblies coordinate memory encoding, maintenance, and recall.Journal: Current biology : CBIn common: cognitive, 9 references
- [9] doi:10.1038/s42003-026-10071-9 [code]
- Alpha phase coding supports feature binding during working memory maintenance.Journal: Communications biologyIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, cognitive, 7 references
- [10] doi:10.1038/s41467-023-42777-3 [code]
- Striatum-projecting prefrontal cortex neurons support working memory maintenance.Journal: Nature communicationsIn common: scikit-learn, pandas, SciPy, 2 other tools, mouse, 6 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 29 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:e0eddeec551d9da8…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1038/s41467-026-73818-2)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-73818-2.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-73818-2
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-73818-2"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-73818-2.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.
