A brain stem circuit integrating reflexive and anticipatory salivation.
The 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § STAR★METHODS › METHOD DETAILS › Fiber photometry and stimuli presentation ↔ pMAT v1-2 MATLAB/Debleach v2/FP_DEBLEACHED.m, the whole file · a weak match · score 0.50 · Fiber Photometry, calcium, median, bin, signals, window
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 78 lines · 3.3 KB · GPL-3.0 · 1 match
- function [DF_norm, DF_MAD] = FP_DEBLEACHED(DeltaFlour,Window, ITERATIONS)
- %% By David Estrin & David Barker for the Barker Laboratory
- % Code is written for ____ et al., 2020
- % The purpose of this code is to take a calcium trace from fiber
- % photometry and detrend/debleach the trace.
- %% The following are Inputs:
- % 1--DeltaFlour- Experimental Channel
- % 2--Threshold-Enter Manual Threshold Value. This will change depending on if you are
- % using normal Z Score or the Robust Z Score (DF_MAD).
- % 3--Window- Change the amount of time to bin and debleach.
- % 4--ITERATIONS- Number of times this code will calculate a debleached
- % calcium signal. These interations will be averaged at the end.
- %% The following are Outputs:
- % 1--DF_norm- The de-bleached Z score normal line
- % 2--DF_MAD- The de-bleached robuse Z score line
- %% Example use of this function:
- %
- % [Fiber_Photometry_Trace]=DeltaF(Ch490,Ch405); Get trace
- %
- % [Fiber_Photometry_Trace_Debleached_1, Fiber_Photometry_Trace_Debleached_2] = ...
- % FP_DEBLEACHED(Fiber_Photometry_Trace, 15, 100); Get debleached
- % trace
- %
- DF=DeltaFlour;
- Parse=Window*1000; % 15000 Miliseconds (15 Seconds) is what we are dividing data into.
- cuts=round(Parse/ITERATIONS);
- for l=1:Parse:length(DF) % Loop through Percentiles
- if l+Parse>length(DF) %Based on the parsing, cut off some of the data at end of recording, typicall few points
- MEAN=mean(DF(l:end)); % Find mean of moving window
- DF_Transpose(l:length(DF),1)=(DF(l:length(DF),1)-MEAN); %This will be the rescalled version of DF
- MEDIAN=median(DF(l:end)); %% Median Absolute Deviation
- DF_MAD(l:length(DF),1)=((DF(l:length(DF),1)-MEDIAN)); %% Median Absolute Deviation
- break
- end
- MEAN=mean(DF(l:(l+Parse))); % Find mean of moving window
- DF_Transpose(l:(l+Parse),1)=(DF(l:(l+Parse),1)-MEAN); %This will be the rescalled version of DF
- MEDIAN=median(DF(l:(l+Parse))); %% Median Absolute Deviation
- DF_MAD(l:(l+Parse),1)=((DF(l:(l+Parse),1)-MEDIAN)); %% Median Absolute Deviation
- end
- MAD_MATRIX(:,1)=DF_MAD;
- clear DF_MAD;
- tic
- matrix=zeros(length(DF), ITERATIONS);
- parfor k=1:(ITERATIONS-1)
- DF_MAD=zeros(length(DF),1);
- for l=(k*cuts):Parse:length(DF) % Loop through Percentiles
- if l+Parse>length(DF) %Based on the parsing, cut off some of the data at end of recording, typicall few points
- MEDIAN=median(DF(l:end)); %% Median Absolute Deviation
- DF_MAD(l:length(DF),1)=((DF(l:length(DF))-MEDIAN)); %% Median Absolute Deviation
- break
- end
- if l==(k*cuts)
- MEDIAN=median(DF(1:l)); %% Median Absolute Deviation
- DF_MAD(1:l,1)=((DF(1:l,1)-MEDIAN)); %% Median Absolute Deviation
- end
- MEDIAN=median(DF(l:(l+Parse))); %% Median Absolute Deviation
- DF_MAD(l:(l+Parse),1)=((DF(l:(l+Parse),1)-MEDIAN)); %% Median Absolute Deviation
- end
- matrix(:,k)=DF_MAD;
- end
- VeryMad=median(matrix');
- toc
- clear matrix DF_MAD matrix2 DF_Z DF_Slope matrix3;
- VeryMad=VeryMad';
- VeryMad=VeryMad./mad(VeryMad); %De-bleached Robust Normalized Delta F
- DF_MAD=VeryMad;
- DF_norm=DF_Transpose./std(DF_Transpose); %De-bleached Normalized Delta F.
- end
FP_DEBLEACHED.m at commit 320c349, under GPL-3.0 · at the source
Overview
- Department of Neurobiology, Northwestern University, Evanston, IL, USA
- Senior author
- Lead contact
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 1 match between paragraphs and lines of code.
djamesbarker/pMAT
320c349fe5068ae1104ce8ba6f862e151459075e, 26 July 2021Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
35 files
- pMAT v1-2 MATLAB/
Debleach v2/ , MATLAB, 43 linesBASIC_PHOTOMETRY_SCRIPT_ FOR_DEBUGGING.m - pMAT v1-2 MATLAB/
Debleach v2/ , MATLAB, 51 linesDeltaF.m - pMAT v1-2 MATLAB/
Debleach v2/ , MATLAB, 78 lines, 1 matchFP_DEBLEACHED.m - pMAT v1-2 MATLAB/
Debleach v2/ , MATLAB, 236 linesFP_SPIKECOUNT.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 253 linesAUCPeak.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 48 linesDeltaF.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 138 linesDeltaFevent.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 28 linesDownSample.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 21 linesExcelPrint.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 15 linesFastPrint.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 45 linesFastPrintv2.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 254 linesTrialPETHAUC.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 246 linesTrialPETHDeltaF.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 209 linesTrialPETHTrace.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 213 linesTrialPETHZScore.m - pMAT v1-2 MATLAB/
Functions/ , MATLAB, 162 linesshadedErrorBar.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 148 linesOpenExLive/ OpenExLive.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 388 linesOpenExLive/ TDEV.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 215 linesRZUDP/ TDTUDP.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 54 linesSynapseAPI/ BH32.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 644 linesSynapseAPI/ SynapseAPI.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 374 linesSynapseAPI/ support/ urlread2.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 171 linesSynapseLive/ SynapseLive.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 805 linesSynapseLive/ TDT2mat.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 419 linesTDTbin2mat/ SEV2mat.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 1,649 linesTDTbin2mat/ TDTbin2mat.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 134 linesTDTbin2mat/ TDTdigitalfilter.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 205 linesTDTbin2mat/ TDTfft.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 524 linesTDTbin2mat/ TDTfilter.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 261 linesTDTbin2mat/ TDTthresh.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 3 linesTDTbin2mat/ rms.m - pMAT v1-2 MATLAB/
TDTSDK/ , MATLAB, 63 linesTDTbin2mat/ vals2colormap.m - pMAT v1-2 MATLAB/
pmat.m , MATLAB, 2,144 lines - LICENSE, License, 674 lines
- README.md, Text, 77 lines
The paper's code and data availability statement is in the Data section.
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;
- 33 scripts, each with its path and the digest of its content;
- 1 match 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
Datasets cited
- doi:10.5061/
dryad.bcc2fqzsz , at Dryad; found in DataCite
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:
- it points to the authors' code: djamesbarker/
pMAT - it says that the data are available on request
- it says that the code is available on request
Read it in the paper: doi.org/10.1016/j.celrep.2026.117067.
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 8 keywords, 9 MeSH terms, 8 funders, 46 references, 2 RRIDs.
Cite
This paper
Park, G., & Lee, H. (2026). A brain stem circuit integrating reflexive and anticipatory salivation. Cell reports, 45(3), 117067. https://
BibTeX
@article{park2026brain,
author = {Park, Gyujin and Lee, Hojoon},
title = {{A brain stem circuit integrating reflexive and anticipatory salivation}},
journal = {Cell reports},
year = {2026},
month = mar,
volume = {45},
number = {3},
pages = {117067},
publisher = {Cell Press},
issn = {2211-1247},
doi = {10.1016/
url = {https://
pmid = {41832958},
pmcid = {PMC13056588}
}
RIS
TY - JOUR
AU - Park, Gyujin
AU - Lee, Hojoon
TI - A brain stem circuit integrating reflexive and anticipatory salivation
T2 - Cell reports
J2 - Cell Rep
PY - 2026
DA - 2026/
VL - 45
IS - 3
SP - 117067
SN - 2211-1247
PB - Cell Press
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "A brain stem circuit integrating reflexive and anticipatory salivation",
"container-title": "Cell reports",
"author": [
{
"family": "Park",
"given": "Gyujin"
},
{
"family": "Lee",
"given": "Hojoon"
}
],
"container-title-short":
"volume": "45",
"issue": "3",
"page": "117067",
"DOI": "10.1016/
"PMID": "41832958",
"PMCID": "PMC13056588",
"ISSN": "2211-1247",
"publisher": "Cell Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
14
]
]
}
}
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.109313 [code]
- Linear and categorical coding units in the mouse gustatory cortex drive population dynamics and behavior in taste decision-making.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, mouse, 6 references
- [2] doi:10.1038/s41467-026-72221-1 [code]
- Targeting insulo-frontal pathway to reduce stress-evoked cognitive rigidity.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, mouse, 2 references
- [3] doi:10.7554/elife.107099 [code]
- Local inhibitory dynamics underpin temporal integration and functional segregation between barrels and septa in the mouse barrel cortex.Journal: eLifeIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [4] doi:10.1038/s41467-026-76581-6 [code]
- Thalamocortical bursts encode reward contingencies and drive associative learning.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [5] doi:10.1038/s41467-026-75492-w [code]
- Place and behavioral modulation of hippocampal neurons during immobility.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [6] doi:10.1038/s41467-026-75347-4 [code]
- Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [7] doi:10.1016/j.celrep.2026.117646 [code]
- Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.Journal: Cell reportsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [8] doi:10.1038/s41467-026-75371-4 [code]
- Cerebellar neural populations orchestrate dopamine reward signaling with single-trial precision.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [9] doi:10.1038/s41467-026-74576-x [code]
- Behavioral correlates of Purkinje cell ensemble covariance.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
- [10] doi:10.1073/pnas.2603966123 [code]
- Oxytocin selectively biases sensory-prefrontal communication through network-level suppression and theta coupling.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse
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: 1 repository of the authors' code, each at its verified commit and with its license, 33 scripts, and 1 match 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:3effc479e3661678…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
