Regulation of the decision threshold by the locus coeruleus.
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 › Drift diffusion model ↔ R/pulse_diffusion_model.R, lines 539 to 600 · score 0.71 · Wiener diffusion, diffusion model, lower boundary, upper boundary, drift rate, variable · block
oscr:b:KZMF9ZGSQS4ED-L· Report a mismatch - [2] § Methods › Drift diffusion model ↔ R/drift_diffusion_model.R, lines 378 to 448 · score 0.68 · drift diffusion model, Wiener diffusion, lower boundary, drift rate, noise, DDM · block
oscr:b:P2DEK4QFC95HV-P· 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
R · 600 lines · 22 KB · GPL-3.0 · 1 match
- #####################################
- # Helper functions for pulse model object
- pulse_fp_obj <- function(pars,
- dat=NULL,
- transform_pars=F,
- check_constraints=T,
- debug=F,
- ...){
- ### check constraints
- checks = private$objective_checks(pars,
- transform_pars,
- check_constraints,
- reverse_v=F,
- debug)
- pars = checks[[1]]
- pass = checks[[2]]
- if (!is.na(pass) & !pass) {
- nll = 1e10
- if(debug) cat("nll =", nll, "\n")
- return(nll)
- }
- if(is.null(dat)) {
- dat = self$data
- }
- ### loop through conditions to get likelihood
- nll = 0
- if (private$par_matrix[, .N] < dat[, .N]) {
- for(i in 1:private$par_matrix[, .N]){
- sub_dat = copy(dat)
- for(j in 1:length(private$sim_cond)){
- sub_dat = sub_dat[get(private$sim_cond[j]) == private$par_matrix[i, get(private$sim_cond[j])]]
- }
- sub_nll = do.call(pulse_nll, c(list(choice = sub_dat[, response],
- rt = sub_dat[, rt],
- stimuli = private$stim_list[[i]]),
- as.list(private$par_matrix[i, -(1:length(private$sim_cond))]),
- private$fixed,
- v_scale=private$v_scale,
- bounds=private$bounds,
- urgency=private$urgency,
- ...))
- nll = nll + sub_nll
- }
- } else {
- nll = do.call(pulse_nll, c(list(choice=dat[,response]),
- list(rt=dat[, rt]),
- stimuli=list(private$stim_list[[1]]),
- as.list(private$par_matrix),
- private$fixed,
- v_scale=private$v_scale,
- bounds=private$bounds,
- urgency=private$urgency,
- ...))
- }
- if (is.nan(nll)) browser()
- if(debug) cat("nll =", round(nll, 3), "\n")
- nll
- }
- #' @noRd
- #' @importFrom foreach %do% %dopar%
- pulse_x2_obj = function(pars,
- data_q=NULL,
- n_sim=1,
- min_p=1e-10,
- transform_pars=F,
- check_constraints=T,
- debug=F,
- seed=-1L,
- ...) {
- if (seed > 0) {
- set.seed(seed)
- }
- ### check constraints
- checks = private$objective_checks(pars,
- transform_pars,
- check_constraints,
- reverse_v=F,
- debug)
- pars = checks[[1]]
- pass = checks[[2]]
- if (!is.na(pass) & !pass) {
- chisq = 1e10
- if(debug) cat(chisq, "\n")
- return(chisq)
- }
- if (is.null(data_q)) {
- data_q = copy(self$data_q)
- }
- ### loop through conditions to get chisquare
- pars_only_mat = copy(private$par_matrix)
- pars_only_mat = pars_only_mat[, -(1:(length(private$sim_cond)))]
- rt_q_cols = (length(data_q)-length(private$p_q)+2):length(data_q)
- chisq = 0
- for (i in 1:private$par_transform[, .N]) {
- # simulate trials
- par_list = as.list(pars_only_mat[i])
- this_sim = setDT(do.call(sim_pulse, c(n=n_sim,
- list(stimuli=private$stim_list[[i]]),
- par_list,
- private$fixed,
- v_scale=private$v_scale,
- bounds=private$bounds,
- urgency=private$urgency,
- ...))$behavior)
- # get rt quantile matrix
- sub_q = copy(data_q)
- for(j in 1:length(private$sim_cond)) {
- sub_q = sub_q[get(private$sim_cond[j]) == private$par_matrix[i, get(private$sim_cond[j])]]
- }
- rt_q_mat = as.matrix(sub_q[, rt_q_cols, .(response), with=F])
- n_rt = sub_q[, n_response, .(response)][, n_response]
- sim_rts = list(this_sim[response == 0, rt],
- this_sim[response == 1, rt],
- this_sim[is.na(response), rt])
- chisq = chisq + quantile_chisquare(sim_rts, rt_q_mat, private$p_q, n_rt)
- }
- if(is.na(chisq)) chisq = 1e10
- if(debug) cat(chisq, "\n")
- chisq
- }
- #' @noRd
- #' @importFrom foreach %do% %dopar%
- pulse_qmpe_obj = function(pars,
- data_q=NULL,
- n_sim=1,
- min_p=1e-10,
- transform_pars=F,
- check_constraints=T,
- debug=F,
- seed=-1L,
- ...) {
- if (seed > 0) {
- set.seed(seed)
- }
- ### check constraints
- checks = private$objective_checks(pars,
- transform_pars,
- check_constraints,
- reverse_v=F,
- debug)
- pars = checks[[1]]
- pass = checks[[2]]
- if (!is.na(pass) & !pass) {
- qmpe_nll = 1e10
- if(debug) cat(qmpe_nll, "\n")
- return(qmpe_nll)
- }
- if (is.null(data_q)) {
- data_q = copy(self$data_q)
- }
- ### loop through conditions to get chisquare
- pars_only_mat = copy(private$par_matrix)
- pars_only_mat = pars_only_mat[, -(1:(length(private$sim_cond)))]
- rt_q_cols = (length(data_q)-length(private$p_q)+2):length(data_q)
- qmpe_nll = 0
- for (i in 1:private$par_transform[, .N]) {
- # simulate trials
- par_list = as.list(pars_only_mat[i])
- this_sim = setDT(do.call(sim_pulse, c(n=n_sim,
- list(stimuli=private$stim_list[[i]]),
- par_list,
- private$fixed,
- v_scale=private$v_scale,
- bounds=private$bounds,
- urgency=private$urgency,
- seed=seed,
- ...))$behavior)
- # get rt quantile matrix
- sub_q = copy(data_q)
- for(j in 1:length(private$sim_cond)) {
- sub_q = sub_q[get(private$sim_cond[j]) == private$par_matrix[i, get(private$sim_cond[j])]]
- }
- rt_q_mat = as.matrix(sub_q[, rt_q_cols, .(response), with=F])
- n_rt = sub_q[, n_response, .(response)][, n_response]
- sim_rts = list(this_sim[response == 0, rt],
- this_sim[response == 1, rt],
- this_sim[is.na(response), rt])
- qmpe_nll = qmpe_nll + qmpe(sim_rts, rt_q_mat, private$p_q, n_rt, min_p=min_p)
- }
- if(is.na(qmpe_nll)) qmpe_nll = 1e10
- if(debug) cat(qmpe_nll, "\n")
- qmpe_nll
- }
- check_pdm_constraints <- function(){
- par_matrix_names = names(private$par_matrix)
- checks = sum(private$par_matrix[, (a <= 0)]) # a
- checks = checks + sum(private$par_matrix[, (t0 < 0)]) # t0
- if ("s" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, s <= 0]) # s
- if ("z" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (z <= 0) | (z >= 1)]) # z
- else
- z = 0.5
- if ("sv" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (sv < 0)]) # sv
- if ("sz" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (sz < 0) | (sz >= 1)]) # sz
- if ("st0" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (st0 < 0) | (st0 >= 1)]) # st0
- if ("lambda" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (lambda < 0)]) # lambda
- if ("aprime" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, (aprime < 0) | (aprime > 1)]) # aprime
- if ("kappa" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, kappa < 0]) # kappa
- if ("tc" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, tc <= 0]) # tc
- if ("uslope" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, uslope <= 0]) # uslope
- if ("udelay" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, udelay <= 0]) # udelay
- if ("umag" %in% par_matrix_names)
- checks = checks + sum(private$par_matrix[, umag <= 0]) # umag
- return(checks == 0)
- }
- #' set diffusion model objective function (for internal use)
- #'
- #' Change the objective function used to fit the diffusion model. Options include:
- #' \describe{
- #' \item{fp}{use the fast-dm method implemented in the rtdists package}
- #' \item{chisq}{simulate the first passage time distribution using the Euler-Maruyama method, and compare simulated and observed distrubtions using the chisquare statistic}
- #' }
- #'
- #' @usage model$set_objective(objective)
- #'
- #' @param objective string; the objective function to be used; either "fp", "chisq", or "qmpe"
- #'
- #' @return modifies the field \code{obj}
- #'
- set_pdm_objective <- function(objective="chisq") {
- if (objective == "fp") {
- self$obj = private$fp_obj
- } else if (objective == "chisq") {
- self$obj = private$chisq_obj
- } else if (objective == "qmpe") {
- self$obj = private$qmpe_obj
- } else {
- stop("specified objective not supported")
- }
- invisible(self)
- }
- #' predict pulse model (for internal use)
- #'
- #' Predict behavior with given pulse model parameters.
- #' This function is only intended for use with a diffusion model object,
- #' and should not be called directly outside of the diffusion model class.
- #'
- #' @usage model$predict(pars=NULL, n=10000, ...)
- #'
- #' @param pars numeric vector; vector of parameters. If NULL, uses model$solution$pars.
- #' @param n integer; number of decisions to simulate for each condition. If the number of conditions is equal to the length of the data, e.g. if using as_function with a continuous predictor, ignores \code{n} and simulates one decision per condition
- #' @param method string; "euler" for euler-maruyama simulation or "fp" for Fokker-Planck method
- #' @param stim_list list of arrays; 2 x timepoints x trials array of stimuli to simulate for each condition
- #' @param trial_code list of integer vector; trial indexes to which the new stimuli are associated with.
- #' @param ... additional arguments passed to method (either \code{sim_pulse} or \code{pulse_fp_fpt})
- #'
- #' @return data.table with simulation conditions, decision (upper or lower boundary) and response time
- #'
- #' @keywords internal
- #'
- predict_pulse_model = function(pars=NULL, n=1, method="euler", stim_list=NULL, trial_code=NULL, ...){
- if (is.null(stim_list) | (length(stim_list) != private$par_transform[, .N])) {
- stim_list = private$stim_list
- }
- if(is.null(pars)) {
- if (is.null(self$solution)) {
- stop("if parameters have not been fit (i.e. no model solution), must supply pars!")
- }
- pars = self$solution$pars
- }
- private$set_params(pars, reverse_v=F)
- ### loop through conditions
- d_pred = data.table()
- if (private$par_matrix[, .N] < self$data[, .N]) {
- for (i in 1:private$par_matrix[, .N]) {
- this_stim_trials = dim(stim_list[[i]])[3]
- # check stimulus lengths and trial code
- if (is.null(trial_code)) {
- if ((this_stim_trials != dim(private$stim_list[[i]])[3])) {
- stop(paste("new stimulus array length for condition", i, "is not equal to number of trials"))
- } else {
- this_trial_code = 1:this_stim_trials
- }
- } else {
- if (this_stim_trials != length(trial_code[[i]])) {
- stop(paste("new stimulus array length for condition", i, "is not equal to length of trial code"))
- } else {
- this_trial_code = trial_code[[i]]
- }
- }
- # get predicted behavior
- if (method == "euler") {
- this_par_list = as.list(private$par_matrix[i, -(1:length(private$sim_cond))])
- this_par_values = as.numeric(this_par_list)
- this_par_names = names(this_par_list)
- this_sim = setDT(self$simulate(n,
- stimuli=stim_list[[i]],
- this_par_values,
- ...)$behavior)
- } else {
- stop("method not implemented")
- }
- d_pred = rbind(d_pred,
- data.table(private$par_matrix[i, 1:length(private$sim_cond)],
- this_sim))
- }
- }
- d_pred
- }
- #' simulate pulse model (for internal use)
- #'
- #' simulate pulse DDM with given stimulus and model parameters..
- #' This function is only intended for use with a pulse model object,
- #' and should not be called directly outside of the pulse model class.
- #' Please use \code{sim_pulse} as a standalone function.
- #'
- #' @usage model$simulate(n, stimuli, par_values, par_names=NULL, ...)
- #'
- #' @param n integer; number of decisions to simulate per stimulus
- #' @param pars numeric vector; vector of parameters
- #' @param par_names character vector; vector of parameter names. If pars is not named list, must supply parameter name vector!
- #' @param ... additional arguments passed to \code{sim_pulse}
- #'
- #' @return data.table with simulation conditions, decision (upper or lower boundary) and response time
- #'
- #' @keywords internal
- #'
- simulate_pulse_model = function(n, stimuli, pars, ...) {
- if (length(pars) != length(self$par_names)) {
- stop("supplied parameter vector must be the same length as the number of parameters in the model")
- }
- names(pars) = self$par_names
- if (is.null(stimuli) | class(stimuli) != "array") stop("Must provide stimuli as a 3-d array (2 x timepoint x trials)")
- do.call(sim_pulse, c(n=n,
- list(stimuli=stimuli),
- as.list(pars),
- v_scale=private$v_scale,
- bounds=private$bounds,
- urgency=private$urgency,
- ...))
- }
- init_pulse_model = function(dat,
- model_name="pdm",
- stim_var=NULL,
- stim_sep="",
- stim_dur=.01,
- stim_interval=.1,
- stim_pre=0,
- dt=.001,
- include=NULL,
- depends_on=NULL,
- as_function=NULL,
- start_values=NULL,
- fixed_pars=NULL,
- extra_condition=NULL,
- v_scale=1,
- bounds=NULL,
- urgency=NULL,
- objective="chisq",
- max_time=10,
- verbose=TRUE,
- ...){
- if (is.null(stim_var)) {
- stop("must provide \"stim_var\" argument, referencing the data column that contains the stimulus train.")
- }
- # set default parameter values
- all_pars = c("v", "a", "t0",
- "s", "z", "dc",
- "sv", "sz", "st0",
- "lambda", "aprime", "kappa", "tc",
- "uslope", "udelay", "umag")
- values = c(1, 2, .3,
- 1, .5, 0,
- 0, 0, 0,
- 0, 0.5, 1, .25,
- 0, 0, 0)
- lower = c(-100, .1, 1e-10,
- 1e-10, .05, -100,
- 0, 0, 0,
- 0, 0, 0, 1e-10,
- 0, 0, 0)
- upper = c(100, 25, 5,
- 100, .95, 100,
- 1, 1, 1,
- 100, 1, 5, 5,
- 10, 10, 10)
- default_pars = c("v", "a", "t0")
- start_if_include = c(sv=0.1,
- sz=0.1,
- st0=0.1,
- lambda=1,
- uslope=1,
- umag=1,
- udelay=1)
- super$initialize(dat,
- model_name,
- par_names=all_pars,
- par_values=values,
- par_lower=lower,
- par_upper=upper,
- default_pars=default_pars,
- start_if_include=start_if_include,
- include=include,
- depends_on=depends_on,
- as_function=as_function,
- start_values=start_values,
- fixed_pars=fixed_pars,
- max_time=max_time,
- extra_condition=extra_condition,
- bounds=bounds,
- urgency=urgency,
- verbose=verbose,
- ...)
- private$v_scale = v_scale
- self$set_objective(objective)
- private$stim_list = list()
- for(i in 1:private$par_transform[, .N]) {
- dsub = copy(self$data)
- for (c in private$sim_cond) {
- dsub = dsub[get(c) == private$par_transform[i, get(c)]]
- }
- up_stims = dsub[, get(stim_var[1])]
- if (length(stim_var) > 1) {
- down_stims = dsub[, get(stim_var[2])]
- } else {
- down_stims = NULL
- }
- private$stim_list[[i]] = pulse_stimulus(up_stims,
- down_stims,
- pattern=stim_sep,
- dur=stim_dur,
- isi=stim_interval,
- pre_stim=stim_pre,
- dt=dt,
- as_array=T)
- }
- }
- #' Pulse diffusion model R6 Class
- #'
- #' @description
- #'
- #' R6 Class that defines a pulse diffusion model (Brunton et al., 2012, Science) to be applied to a set of behavioral data.
- #'
- #' @details
- #'
- #' For details regarding other methods, see:
- #' \itemize{
- #' \item{pm$set_objective: \code{\link{set_pdm_objective}}}
- #' \item{pm$fit: \code{\link{fit_diffusion_model}}}
- #' \item{pm$predict: \code{\link{predict_pulse_model}}}
- #' \item{pm$simulate: \code{\link{simulate_pulse_model}}}
- #' }
- #'
- #' @usage pm <- pulse_model$new(dat, stim_var, stim_sep="", stim_dur=.01, stim_interval=.1, model_name="pdm", include=NULL, depends_on=NULL, as_function=NULL, start_values=NULL, fixed_pars=NULL, extra_condition=NULL, bounds=0L, objective="fp")
- #' @usage pm$set_objective(objective="fp")
- #' @usage pm$fit(use_bounds=TRUE, transform_pars=FALSE, ...)
- #' @usage pm$predict(pars=NULL, n=10000, ...)
- #' @usage pm$simulate(n, stimuli, par_values, par_names=NULL, ...)
- #'
- #' @param dat data table; contains at least 2 columns: rt - response time for trial, response - upper or lower boundary (1 or 0)
- #' @param stim_var string; name of stimulus column in dat. If two names, first is upper boundary evidence and second is lower boundary evidence. If one variable name, assumes binary evidence with 1=evidence to upper boundary and 0=evidence to lower boundary
- #' @param stim_sep string; pattern separating timepoint by timepoint evidence within evidence string
- #' @param stim_dur numeric; stimulus pulse duration (in seconds)
- #' @param stim_interval numeric; inter-stimulus interval (in seconds)
- #' @param stim_pre numeric; time before stimulus pulse within stimulus bin
- #' @param dt numeric; time step to simulate/solve for first passage times
- #' @param model_name string; name to identify model, default = "ddm"
- #' @param include character; vector of parameters to include in model. drift rate v, boundary a, and non-decision time t0 are included by default always. Can specify ddm parameters starting point z, drift rate variability sv, non decision time variability st0, starting point variability sz, and wiener diffusion noise s. Also can include collapsing bound parameters: degree of collapse aprime (weibull only), slope of collapse kappa, time constant of collapse tc.
- #' @param depends_on named character; if a parameter value depends on a task condition, for example drift rate depends on task difficulty, specify here: c("v" = "task difficulty"). Can specify multiple dependent parameters as a vector
- #' @param as_function list; list specifying parameters whose value is a function of other parameters
- #' @param start_values named numeric; to change default starting parameter values, specify as named vector. E.g. c("v"=2, "a"=3) to set drift rate to 2 and boundary to 3
- #' @param fixed_pars named numeric; to fix a parameter at a specified value, use a named vector as with start_values
- #' @param extra_condition character; vector of task condition names. Will calculate first passage times for each condition. Recommended only when comparing a model without depends_on with a model that contains a depends_on parameter.
- #' @param bounds string: either "fixed" for fixed bounds, or "weibull" or "hyperbolic" for collapsing bounds according to weibull or hyperbolic ratio functions
- #' @param objective character; "fp" for fokker-planck simulation, "chisq" for euler simluaton with chisq metric, "qmpe" for euler simultion with qmpe metric
- #' @param verbose logical: If TRUE, print messages related to model initation. Default = TRUE
- #'
- #' @return definition of pulse diffusion model object
- #'
- #' @export
- pulse_model = R6::R6Class("pulse_model",
- inherit=base_diffusion_model,
- public=list(
- initialize=init_pulse_model,
- set_objective=set_pdm_objective,
- predict=predict_pulse_model,
- simulate=simulate_pulse_model,
- get_stimulus=function() return(private$stim_list)
- ), private=list(
- dt=NULL,
- as_function=NULL,
- stim_list=NULL,
- v_scale=NULL,
- check_par_constraints=check_pdm_constraints,
- fp_obj = pulse_fp_obj,
- chisq_obj = pulse_x2_obj,
- qmpe_obj = pulse_qmpe_obj
- ))
pulse_diffusion_model.R at commit 57e9c3b, under GPL-3.0 · at the source
Overview
- Department of Biology, Boston University,Boston, MA USA
- Département d’Études Cognitives, École Normale Supérieure, Université PSL,Paris, France
- Department of Psychological and Brain Sciences, Boston University,Boston, MA USA
- Center for Systems Neuroscience, Boston University,Boston, MA USA
Abstract
A fundamental challenge for decision-making under uncertainty lies in balancing speed and accuracy. Humans and animals solve this problem by adjusting decision thresholds—the criterion that determines how much information is required before committing to a choice. While brain regions associated with this process have been identified, the neural circuits that directly alter decision thresholds remain unknown. Here, we investigate the role of the locus coeruleus (LC) norepinephrine (NE) system in controlling this balance. Through cell-type-specific chemogenetic manipulations, we discovered that LC-NE activation increased decision thresholds. This effect is replicated by administration of the α2-adrenergic receptor (α2-AR) agonist clonidine. Notably, α2-AR activation altered decision threshold specifically, without reproducing other LC-NE activation effects such as promoting task engagement. Together, these results suggest that LC-NE regulates decision thresholds, possibly via downstream α2-ARs.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
gkane26/rddm
57e9c3bbaa10038b4af7d6b9e4675f5ec1ef17d0, 5 May 2022Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
33 files
- R/
RcppExports.R , R, 436 lines - R/
base_diffusion_model.R , R, 438 lines - R/
diffusion_model_objectiv , R, 367 lineses.R - R/
drift_diffusion_model.R , R, 448 lines, 1 match - R/
evacc_model.R , R, 329 lines - R/
get_rt_quantiles.R , R, 32 lines - R/
misc.R , R, 34 lines - R/
objectives.R , R, 73 lines - R/
pulse_diffusion_model.R , R, 600 lines, 1 match - R/
pulse_stimulus.R , R, 132 lines - R/
rddm-package.R , R, 6 lines - R/
sim_fpt.R , R, 44 lines - R/
transform.R , R, 25 lines - src/
RcppExports.cpp , C++, 528 lines - src/
bounds.cpp , C++, 147 lines - src/
bounds.h , C/C++, 10 lines - src/
ddm_fpt.cpp , C++, 180 lines - src/
fast_rand.cpp , C++, 38 lines - src/
fast_rand.h , C/C++, 8 lines - src/
pulse_nll.cpp , C++, 324 lines - src/
pulse_nll.h , C/C++, 23 lines - src/
pulse_predict.cpp , C++, 102 lines - src/
pulse_trial_stimulus.cpp , C++, 37 lines - src/
pulse_trial_stimulus.h , C/C++, 5 lines - src/
sim_ddm.cpp , C++, 377 lines - src/
sim_evacc.cpp , C++, 741 lines - src/
sim_pulse.cpp , C++, 360 lines - src/
sim_pulse.h , C/C++, 16 lines - src/
urgency.cpp , C++, 96 lines - src/
urgency.h , C/C++, 9 lines - vignettes/
getting-started.Rmd , R, 93 lines - LICENSE.md, License, 595 lines
- README.md, Text, 57 lines
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;
- 31 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
All data will be provided upon request.
Reproduced under the paper's license (CC BY), from the paper cited above.
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, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 2 keywords, 9 MeSH terms, 2 funders, 79 references.
Cite
This paper
Xia, H., Maheu, M., Kane, G. A., & Scott, B. B. (2026). Regulation of the decision threshold by the locus coeruleus. Neuropsychopharmacology : official publication of the American College of Neuropsychopharmacology,
BibTeX
@article{xia2026regulati
author = {Xia, Hongjie and Maheu, Maxime and Kane, Gary A. and Scott, Benjamin B.},
title = {{Regulation of the decision threshold by the locus coeruleus}},
journal = {Neuropsychopharmacology
year = {2026},
month = apr,
volume = {51},
number = {9},
pages = {1680--1689},
publisher = {Nature Publishing Group},
issn = {0893-133X},
doi = {10.1038/
url = {https://
pmid = {41974997},
pmcid = {PMC13389323}
}
RIS
TY - JOUR
AU - Xia, Hongjie
AU - Maheu, Maxime
AU - Kane, Gary A.
AU - Scott, Benjamin B.
TI - Regulation of the decision threshold by the locus coeruleus
T2 - Neuropsychopharmacology : official publication of the American College of Neuropsychopharmacology
J2 - Neuropsychopharmacology
PY - 2026
DA - 2026/
VL - 51
IS - 9
SP - 1680
EP - 1689
SN - 0893-133X
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Regulation of the decision threshold by the locus coeruleus",
"container-title": "Neuropsychopharmacology
"author": [
{
"family": "Xia",
"given": "Hongjie"
},
{
"family": "Maheu",
"given": "Maxime"
},
{
"family": "Kane",
"given": "Gary A."
},
{
"family": "Scott",
"given": "Benjamin B."
}
],
"container-title-short":
"volume": "51",
"issue": "9",
"page": "1680-1689",
"DOI": "10.1038/
"PMID": "41974997",
"PMCID": "PMC13389323",
"ISSN": "0893-133X",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
13
]
]
}
}
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.1038/s41467-024-54395-8
- Noradrenergic alpha-2a receptor stimulation enhances prediction error signaling and updating of attention sets in anterior cingulate cortex and striatum.Journal: Nature communicationsIn common: 11 references
- [2] doi:10.1126/sciadv.adr9916 [code]
- Frontal noradrenergic and cholinergic transients exhibit distinct spatiotemporal dynamics during competitive decision-making.Journal: Science advancesIn common: cognitive, mouse, 9 references
- [3] doi:10.1371/journal.pbio.3001598 [code]
- Hasty sensorimotor decisions rely on an overlap of broad and selective changes in motor activity.Journal: PLoS biologyIn common: 10 references
- [4] doi:10.1371/journal.pbio.3003228 [code]
- A comparison of viral strategies and model systems to target norepinephrine neurons in the locus coeruleus reveals high variability in transgene expression patterns.Journal: PLoS biologyIn common: mouse, 8 references
- [5] doi:10.7554/elife.81826 [code]
- Cholinergic and noradrenergic axonal activity contains a behavioral-state signal that is coordinated across the dorsal cortex.Journal: eLifeIn common: mouse, 8 references
- [6] doi:10.1016/j.celrep.2022.111534
- The locus coeruleus mediates behavioral flexibility.Journal: Cell reportsIn common: mouse, 7 references
- [7] doi:10.1038/s41467-024-48342-w
- Graded decisions in the human brain.Journal: Nature communicationsIn common: cognitive, 7 references
- [8] doi:10.1186/s13229-025-00678-w [code]
- Locus coeruleus tonic upregulation increases selectivity to inconspicuous auditory information in autistic compared to non-autistic individuals: a combined pupillometry and electroencephalography study.Journal: Molecular autismIn common: data.table, tidyverse, cognitive, 5 references
- [9] doi:10.1126/sciadv.aec9291 [code]
- Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.Journal: Science advancesIn common: data.table, tidyverse, cognitive, 1 reference, author Benjamin B Scott
- [10] doi:10.1162/imag_a_00314 [code]
- The effects of locus coeruleus optogenetic stimulation on global spatiotemporal patterns in rats.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 7 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: 1 repository of the authors' code, each at its verified commit and with its license, 31 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:205fa6e26a5dd4fc…
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/s41386-026-02399-x)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41386-026-02399-x.svg
:target: https://openscicode.org/badge/doi/10.1038/s41386-026-02399-x
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41386-026-02399-x"><img src="https://openscicode.org/badge/doi/10.1038/s41386-026-02399-x.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.
