Laminar architecture of visual and auditory responses in the supplementary eye field of macaques.
The 3 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Methods › Data analysis: current-source density ↔ my_splineCSD.m, lines 206–261 · score 0.65 · Gaussian filtering, iCSD, electrode contacts, spline, diameter, MATLAB
- [2] § Methods › Data analysis: current-source density ↔ my_stepCSD.m, lines 206–277 · score 0.64 · Gaussian filtering, iCSD, electrode contacts, diameter, spline, MATLAB
- [3] § Methods › Data analysis: cortical depth assignment ↔ methods/gaussian_filtering.m, the whole file · a weak match · score 0.52 · standard deviation, CSD matrices, zero
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 · 327 lines · 13 KB · GPL-3.0 · 1 match
- function varargout = my_splineCSD(varargin)
- % MY_SPLINECSD M-file for my_splineCSD.fig
- % MY_SPLINECSD, by itself, creates a new MY_SPLINECSD or raises the existing
- % singleton*.
- %
- % H = MY_SPLINECSD returns the handle to a new MY_SPLINECSD or the
- % handle to
- % the existing singleton*.
- %
- % MY_SPLINECSD('CALLBACK',hObject,eventData,handles,...) calls the local
- % function named CALLBACK in MY_SPLINECSD.M with the given input arguments.
- %
- % MY_SPLINECSD('Property','Value',...) creates a new MY_SPLINECSD or raises the
- % existing singleton*. Starting from the left, property value pairs
- % are
- % applied to the GUI before my_splineCSD_OpeningFunction gets called. An
- % unrecognized property name or invalid value makes property application
- % stop. All inputs are passed to my_splineCSD_OpeningFcn via varargin.
- %
- % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
- % instance to run (singleton)".
- %
- % See also: GUIDE, GUIDATA, GUIHANDLES
- % Edit the above text to modify the response to help my_splineCSD
- % Last Modified by GUIDE v2.5 13-Dec-2005 12:42:30
- % Begin initialization code - DO NOT EDIT
- gui_Singleton = 1;
- gui_State = struct('gui_Name', mfilename, ...
- 'gui_Singleton', gui_Singleton, ...
- 'gui_OpeningFcn', @my_splineCSD_OpeningFcn, ...
- 'gui_OutputFcn', @my_splineCSD_OutputFcn, ...
- 'gui_LayoutFcn', [] , ...
- 'gui_Callback', []);
- if nargin && ischar(varargin{1})
- gui_State.gui_Callback = str2func(varargin{1});
- end
- if nargout
- [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
- else
- gui_mainfcn(gui_State, varargin{:});
- end
- % End initialization code - DO NOT EDIT
- % --- Executes just before my_splineCSD is made visible.
- function my_splineCSD_OpeningFcn(hObject, eventdata, handles, varargin)
- % This function has no output args, see OutputFcn.
- % hObject handle to figure
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % varargin command line arguments to my_splineCSD (see VARARGIN)
- handles.pot = varargin{2};
- handles.dt = varargin{4};
- %image(imread('CSDplotter_logo.1.jpg'))
- axis off;
- % Choose default command line output for my_splineCSD
- handles.output = hObject;
- % Update handles structure
- guidata(hObject, handles);
- % UIWAIT makes my_splineCSD wait for user response (see UIRESUME)
- % uiwait(handles.delta_CSD);
- % --- Outputs from this function are returned to the command line.
- function varargout = my_splineCSD_OutputFcn(hObject, eventdata, handles)
- % varargout cell array for returning output args (see VARARGOUT);
- % hObject handle to figure
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Get default command line output from handles structure
- varargout{1} = handles.output;
- function gsigma_Callback(hObject, eventdata, handles)
- % hObject handle to gsigma (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of gsigma as text
- % str2double(get(hObject,'String')) returns contents of gsigma as a double
- % --- Executes during object creation, after setting all properties.
- function gsigma_CreateFcn(hObject, eventdata, handles)
- % hObject handle to gsigma (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- function filter_b1_Callback(hObject, eventdata, handles)
- % hObject handle to filter_b1 (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of filter_b1 as text
- % str2double(get(hObject,'String')) returns contents of filter_b1 as a double
- % --- Executes during object creation, after setting all properties.
- function filter_b1_CreateFcn(hObject, eventdata, handles)
- % hObject handle to filter_b1 (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- function ex_cond_Callback(hObject, eventdata, handles)
- % hObject handle to ex_cond (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of ex_cond as text
- % str2double(get(hObject,'String')) returns contents of ex_cond as a double
- % --- Executes during object creation, after setting all properties.
- function ex_cond_CreateFcn(hObject, eventdata, handles)
- % hObject handle to ex_cond (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- function top_cond_Callback(hObject, eventdata, handles)
- % hObject handle to top_cond (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of top_cond as text
- % str2double(get(hObject,'String')) returns contents of top_cond as a double
- % --- Executes during object creation, after setting all properties.
- function top_cond_CreateFcn(hObject, eventdata, handles)
- % hObject handle to top_cond (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- function diam_Callback(hObject, eventdata, handles)
- % hObject handle to diam (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of diam as text
- % str2double(get(hObject,'String')) returns contents of diam as a double
- % --- Executes during object creation, after setting all properties.
- function diam_CreateFcn(hObject, eventdata, handles)
- % hObject handle to diam (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- % --- Executes on button press in run_all.
- function run_all_Callback(hObject, eventdata, handles)
- % hObject handle to run_all (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % --- Executes on button press in run_this.
- function run_this_Callback(hObject, eventdata, handles)
- % hObject handle to run_this (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % filter parameters:
- gauss_sigma = str2num(get(handles.gsigma,'String'))*1e-3; % mm -> m
- filter_range = 5*gauss_sigma; % numeric filter must be finite in extent
- if gauss_sigma<0
- errordlg('The gaussian filter width cannot be negative.')
- return
- end;
- % electrical parameters:
- cond = str2num(get(handles.ex_cond,'String'));
- if cond<=0
- errordlg('Ex. cond. has to be a positive number');
- return
- end;
- cond_top = str2num(get(handles.top_cond,'String'));
- % size, potential (m1 has to equal number of electrode contacts)
- [m1,m2] = size(handles.pot);
- % geometrical parameters:
- diam = str2num(get(handles.diam,'String'))*1e-3; %diameter in [m]
- if diam<=0
- errordlg('Diameter has to be a positive number.');
- return
- end;
- el_pos = str2num(get(handles.electrode_pos,'String'))*1e-3;
- if cond_top~=cond & (el_pos~=abs(el_pos) | length(el_pos)~=length(nonzeros(el_pos)))
- errordlg('Electrode contact positions must be positive when top cond. is different from ex. cond.')
- return;
- end;
- if m1~=length(el_pos)
- errordlg(['Number of electrode contacts has to equal number of rows in potential matrix. Currently there are ',...
- num2str(length(el_pos)),' electrodes contacts, while the potential matrix has ',num2str(m1),' rows.'])
- return
- end;
- % compute spline iCSD:
- Fcs = F_cubic_spline(el_pos,diam,cond,cond_top);
- [zs,CSD_cs] = make_cubic_splines(el_pos,handles.pot,Fcs);
- %[pos1,my_CSD_spline]=new_CSD_range(zs,CSD_cs,0,2.4e-3);
- if gauss_sigma~=0 %filter iCSD
- [zs,CSD_cs]=gaussian_filtering(zs,CSD_cs,gauss_sigma,filter_range);
- % [new_positions,gfiltered_spline_CSD]=gaussian_filtering(zs,CSD_cs,gauss_sigma,filter_range);
- end;
- % % plot_CSD_with_axes(new_positions,delta_t,gfiltered_spline_CSD,1)
- % [gpot_pos,gfiltered_spline_CSD_short]=new_CSD_range(new_positions,gfiltered_spline_CSD,zstart_plot,zstop_plot);
- % plot CSD
- plot_CSD(CSD_cs,zs,handles.dt,1,0) %length(el_pos) must equal rows of CSD!
- function electrode_pos_Callback(hObject, eventdata, handles)
- % hObject handle to electrode_pos (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % Hints: get(hObject,'String') returns contents of electrode_pos as text
- % str2double(get(hObject,'String')) returns contents of electrode_pos as a double
- % --- Executes during object creation, after setting all properties.
- function electrode_pos_CreateFcn(hObject, eventdata, handles)
- % hObject handle to electrode_pos (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles empty - handles not created until after all CreateFcns called
- % Hint: edit controls usually have a white background on Windows.
- % See ISPC and COMPUTER.
- if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
- set(hObject,'BackgroundColor','white');
- end
- % --------------------------------------------------------------------
- function new_figure_Callback(hObject, eventdata, handles)
- % hObject handle to new_figure (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- % filter parameters:
- gauss_sigma = str2num(get(handles.gsigma,'String'))*1e-3; % mm -> m
- filter_range = 5*gauss_sigma; % numeric filter must be finite in extent
- % electrical parameters:
- cond = str2num(get(handles.ex_cond,'String'));
- cond_top = str2num(get(handles.top_cond,'String'));
- % geometrical parameters:
- diam = str2num(get(handles.diam,'String'))*1e-3; %diameter in [m]
- el_pos = str2num(get(handles.electrode_pos,'String'))*1e-3;
- % compute step iCSD:
- Fcs = F_cubic_spline(el_pos,diam,cond,cond_top);
- [zs,CSD_cs] = make_cubic_splines(el_pos,handles.pot,Fcs);
- %[pos1,my_CSD_spline]=new_CSD_range(zs,CSD_cs,0,2.4e-3);
- if gauss_sigma~=0 %filter iCSD
- [zs,CSD_cs]=gaussian_filtering(zs,CSD_cs,gauss_sigma,filter_range);
- % [new_positions,gfiltered_spline_CSD]=gaussian_filtering(zs,CSD_cs,gauss_sigma,filter_range);
- end;
- % % plot_CSD_with_axes(new_positions,delta_t,gfiltered_spline_CSD,1)
- % [gpot_pos,gfiltered_spline_CSD_short]=new_CSD_range(new_positions,gfiltered_spline_CSD,zstart_plot,zstop_plot);
- % plot CSD
- figure()
- plot_CSD(CSD_cs,zs,handles.dt,1,0) %length(el_pos) must equal rows of CSD!
- % --------------------------------------------------------------------
- function file_menu_Callback(hObject, eventdata, handles)
- % hObject handle to file_menu (see GCBO)
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
my_splineCSD.m at commit ea083be, under GPL-3.0 · at the source
Overview
- Centre for Integrative and Applied Neuroscience, Centre for Vision Research, Department of Biology, York University, 4700 Keele Street, Toronto, ON M3J 1P3, Canada
- Biosciences Institute, Faculty of Medical Sciences, Newcastle University, Tyne and Wear, Newcastle upon Tyne NE1 7RU, United Kingdom
- International Center for Primate Brain Research, Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences, No. 500 Qiang Ye Road, Songjiang District, Shanghai 201602, P.R. China
Abstract
We describe properties and laminar organization of visual and auditory responses sampled with linear electrode arrays in and around the supplementary eye field of four macaque monkeys performing a visually guided task with a tone secondary reinforcer. Of pyramidal neurons in all layers and interneurons in L3 and L5/
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 3 matches between paragraphs and lines of code.
espenhgn/CSDplotter
ea083be8ffe4581950f0da672d59512748f8982b, 11 April 2018Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
25 files
- CSDplotter.m, MATLAB, 395 lines
- F_delta.m, MATLAB, 54 lines
- compute_CSD.m, MATLAB, 33 lines
- methods/
D1.m , MATLAB, 34 lines - methods/
F_const.m , MATLAB, 77 lines - methods/
F_cubic_spline.m , MATLAB, 107 lines - methods/
S_general.m , MATLAB, 35 lines - methods/
colormap_redblackblue.m , MATLAB, 19 lines - methods/
compute_Ematrixes.m , MATLAB, 92 lines - methods/
figure_folder.m , MATLAB, 15 lines - methods/
gaussian_filtering.m , MATLAB, 33 lines, 1 match - methods/
make_cubic_splines.m , MATLAB, 62 lines - methods/
make_filename.m , MATLAB, 28 lines - methods/
matrix_folder.m , MATLAB, 17 lines - methods/
new_CSD_range.m , MATLAB, 28 lines - methods/
plot_CSD.m , MATLAB, 75 lines - methods/
plot_CSD2.m , MATLAB, 70 lines - my_deltaCSD.m, MATLAB, 325 lines
- my_splineCSD.m, MATLAB, 327 lines, 1 match
- my_standardCSD.m, MATLAB, 359 lines
- my_stepCSD.m, MATLAB, 412 lines, 1 match
- myplotter.m, MATLAB, 42 lines
- myplotter_menu.m, MATLAB, 63 lines
- LICENSE, License, 674 lines
- README.md, Text, 17 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;
- 23 scripts, each with its path and the digest of its content;
- 3 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.
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, 5 authors, 5 keywords, 11 MeSH terms, 6 funders, 95 references.
Cite
This paper
Thirunavukkarasu, P., Errington, S. P., Sajad, A., Corrigan, B. W., & Schall, J. D. (2026). Laminar architecture of visual and auditory responses in the supplementary eye field of macaques. Cerebral cortex (New York, N.Y. : 1991), 36(6), bhag064. https://
BibTeX
@article{thirunavukkaras
author = {Thirunavukkarasu, Pranavan and Errington, Steven P and Sajad, Amirsaman and Corrigan, Benjamin W and Schall, Jeffrey D},
title = {{Laminar architecture of visual and auditory responses in the supplementary eye field of macaques}},
journal = {Cerebral cortex (New York, N.Y. : 1991)},
year = {2026},
month = jun,
volume = {36},
number = {6},
pages = {bhag064},
publisher = {Oxford University Press},
issn = {1047-3211},
doi = {10.1093/
url = {https://
pmid = {42319229},
pmcid = {PMC13280951}
}
RIS
TY - JOUR
AU - Thirunavukkarasu, Pranavan
AU - Errington, Steven P
AU - Sajad, Amirsaman
AU - Corrigan, Benjamin W
AU - Schall, Jeffrey D
TI - Laminar architecture of visual and auditory responses in the supplementary eye field of macaques
T2 - Cerebral cortex (New York, N.Y. : 1991)
J2 - Cereb Cortex
PY - 2026
DA - 2026/
VL - 36
IS - 6
SP - bhag064
SN - 1047-3211
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Laminar architecture of visual and auditory responses in the supplementary eye field of macaques",
"container-title": "Cerebral cortex (New York, N.Y. : 1991)",
"author": [
{
"family": "Thirunavukkarasu",
"given": "Pranavan"
},
{
"family": "Errington",
"given": "Steven P"
},
{
"family": "Sajad",
"given": "Amirsaman"
},
{
"family": "Corrigan",
"given": "Benjamin W"
},
{
"family": "Schall",
"given": "Jeffrey D"
}
],
"container-title-short":
"volume": "36",
"issue": "6",
"page": "bhag064",
"DOI": "10.1093/
"PMID": "42319229",
"PMCID": "PMC13280951",
"ISSN": "1047-3211",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
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-026-71046-2
- Enhanced reward coding and condition-independent dynamics in optogenetically identified corticostriatal neurons in monkeys.Journal: Nature communicationsIn common: non-human primate, 3 references
- [2] doi:10.1038/s41586-026-10331-y [code]
- Active dissociation of intracortical spiking and high gamma activity.Journal: NatureIn common: non-human primate, 3 references
- [3] doi:10.7554/elife.99278 [code]
- Brain-wide arousal signals are segregated from movement planning in the superior colliculus of the macaque.Journal: eLifeIn common: behavior only, non-human primate, 2 references
- [4] doi:10.1371/journal.pcbi.1014022 [code]
- Emergence of multifrequency activity in a laminar neural mass model.Journal: PLoS computational biologyIn common: 3 references
- [5] doi:10.7554/elife.103046 [code]
- Dichotomy between extracellular signatures of active dendritic chemical synapses and gap junctions.Journal: eLifeIn common: 3 references
- [6] doi:10.1371/journal.pone.0351053 [code]
- Distinct roles of neuronal phenotypes during neurofeedback adaptation.Journal: PloS oneIn common: non-human primate, 2 references
- [7] doi:10.1523/eneuro.0091-26.2026 [code]
- Population Coupling of V1 and V4 Neurons and Its Relation to Local Cortical State Fluctuations and Attention in Macaque Monkey.Journal: eNeuroIn common: non-human primate, 2 references
- [8] doi:10.1126/sciadv.aea1927 [code]
- An evolutionary conserved neural mechanism for interpersonal coordination in primates.Journal: Science advancesIn common: non-human primate, 2 references
- [9] doi:10.1371/journal.pbio.3003873 [code]
- Distinct sources of decision-related signals in visual cortex are represented in different local field potential bands.Journal: PLoS biologyIn common: non-human primate, 2 references
- [10] doi:10.7554/elife.109498 [code]
- Neural computations in the foveal and peripheral visual fields during active search.Journal: eLifeIn common: behavior only, non-human primate, 1 reference
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, 23 scripts, and 3 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:daf04a5678d7f210…
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.
