Voice patches in the marmoset auditory cortex revealed by multimodal optical imaging.
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
MATLAB · 403 lines · 19 KB · no license
- function varargout = CtrlThorlabsSciCams(varargin)
- % This is the control part of ThorlabsSci cameras
- %% For Standarized SubFunction Callback Control
- if nargin==0 % INITIATION
- % InitializeTASKS
- elseif ischar(varargin{1}) % INVOKE NAMED SUBFUNCTION OR CALLBACK?
- try
- if (nargout)
- [varargout{1:nargout}] = feval(varargin{:});
- % FEVAL switchyard, w/ output
- else
- feval(varargin{:});
- % FEVAL switchyard, w/o output
- end
- % feval('GUI_xxx', varargin);
- % feval(@GUI_xxx, varargin);
- catch MException
- rethrow(MException);
- end
- end
- function InitializeTASKS
- %% INITIALIZATION
- %% CALLBACK FUNCTIONS
- function msg = InitializeCallbacks(N)
- global Xin
- % set(Xin.UI.FigTLSC(N).hFig, 'CloseRequestFcn', [mfilename, '(@Cam_CleanUp,', num2str(N),')']);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamShutter_PotenSlider, 'Callback', [mfilename, '(''Cam_Shutter'')']);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamShutter_PotenEdit, 'Callback', [mfilename, '(''Cam_Shutter'')']);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamDispGain_PotenSlider, 'Callback', [mfilename, '(''Cam_DispGain'')']);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamDispGain_PotenEdit, 'Callback', [mfilename, '(''Cam_DispGain'')']);
- set(Xin.UI.FigTLSC(N).CP.hExp_RefImage_Momentary, 'Callback', [mfilename, '(''Ref_Image'')']);
- % set(Xin.UI.FigTLSC(N).CP.hMon_PreviewSwitch_Rocker, 'SelectionChangeFcn', [mfilename, '(''Preview_Switch'')']);
- %% LOG MSG
- msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tInitializeCallbacks\tSetup the Thorlabs Sci Camera #' ...
- num2str(N), '''s GUI Callbacks\r\n'];
- updateMsg(Xin.D.Exp.hLog, msg);
- function Cam_Shutter(varargin)
- global Xin
- %% get the numbers
- if nargin==0
- % called by GUI:
- N = get(gcbo, 'UserData');
- uictrlstyle = get(gcbo, 'Style');
- switch uictrlstyle
- case 'slider'; Shutter = get(gcbo, 'value');
- case 'edit'; Shutter = str2double(get(gcbo,'string'));
- otherwise; errordlg('What''s the hell?');
- return;
- end
- else
- % called by general update: e.g. Cam_Shutter(1, 20.00)
- N = varargin{1}; % Camera number
- Shutter = varargin{2}; % Shutter value (ms)
- end
- %% check the constraints
- maxshutter = Xin.HW.Thorlabs.hSciCam{N}.ExposureTimeRange_us.Maximum/1000;
- minshutter = Xin.HW.Thorlabs.hSciCam{N}.ExposureTimeRange_us.Minimum/1000;
- if isnan(Shutter) || Shutter<minshutter || Shutter>maxshutter
- Shutter = Xin.D.Sys.ThorlabsSciCam(N).Shutter;
- warndlg('Input Shutter value is out of the device constraits')
- else
- Xin.D.Sys.ThorlabsSciCam(N).Shutter = Shutter;
- end
- Xin.HW.Thorlabs.hSciCam{N}.ExposureTime_us = Xin.D.Sys.ThorlabsSciCam(N).Shutter*1000;
- s = sprintf('%05.2f',Shutter);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamShutter_PotenSlider, 'value', Shutter);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamShutter_PotenEdit, 'string', s);
- %% LOG MSG
- msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tCam_Shutter\tSetup the ThorlabsSci Camera #' ...
- num2str(N), '''s Shutter as: ' s ' (ms)\r\n'];
- updateMsg(Xin.D.Exp.hLog, msg);
- function Cam_DispGain(varargin)
- global Xin
- %% get the numbers
- if nargin==0
- % called by GUI:
- N = get(gcbo, 'UserData');
- uictrlstyle = get(gcbo, 'Style');
- switch uictrlstyle
- case 'slider'; DispGainBit = get(gcbo, 'value');
- DispGainNum = 2^DispGainBit;
- case 'edit'; DispGainNum = str2double(get(gcbo,'string'));
- DispGainBit = log2(DispGainNum);
- otherwise; errordlg('What''s the hell?');
- return;
- end
- else
- % called by general update: e.g. Disp_Gain(16)
- N = varargin{1}; % Camera number
- DispGainNum = varargin{2}; % DispGain number
- DispGainBit = log2(DispGainNum);
- end
- %% Check whether the number is valid to update
- if ismember(DispGainBit, Xin.D.Sys.Camera.DispGainBitRange)
- Xin.D.Sys.ThorlabsSciCam(N).DispGainBit = DispGainBit;
- Xin.D.Sys.ThorlabsSciCam(N).DispGainNum = DispGainNum;
- end
- s = sprintf(' %d', Xin.D.Sys.ThorlabsSciCam(N).DispGainNum);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamDispGain_PotenSlider, 'value', Xin.D.Sys.ThorlabsSciCam(N).DispGainBit);
- set(Xin.UI.FigTLSC(N).CP.hSys_CamDispGain_PotenEdit, 'string', s);
- %% LOG MSG
- msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tDisp_Gain\tSetup the ThorlabsSci Camera #' ...
- num2str(N), '''s DISP gain as: ' s '\r\n'];
- updateMsg(Xin.D.Exp.hLog, msg);
- function Ref_Image(varargin)
- global Xin
- %% Get the Inputs
- if nargin==0
- % called by GUI:
- N = get(gcbo, 'UserData');
- else
- % called by general update: e.g. Ref_Image(2)
- N = varargin{1};
- end
- %% Setup Parameters
- imageinfo = {...
- ['System Cam Shutter: ', sprintf('%5.2f',Xin.D.Sys.ThorlabsSciCam(N).Shutter), ' (ms); '],...
- ['System Cam DispGainNum: ', num2str(Xin.D.Sys.ThorlabsSciCam(N).DispGainNum), ' (frames); '],...
- };
- if ~exist(Xin.D.Exp.DataDir, 'dir')
- mkdir(Xin.D.Exp.DataDir);
- end
- imageinfo = [imageinfo,{...
- ['System Light Source: ', Xin.D.Sys.Light.Source, '; '],...
- ['System Light Wavelength: ', num2str(Xin.D.Sys.Light.Wavelength), 'nm; '],...
- ['System Light Port: ', Xin.D.Sys.Light.Port, '; '],...
- ['System Light Diffuser: ', num2str(Xin.D.Sys.Light.Diffuser), 'º; '],...
- ['System Light Head Cube: ', Xin.D.Sys.Light.HeadCube, '; '],...
- ['System Camera Lens Angle: ', num2str(Xin.D.Sys.CameraLens.Angle), 'º; '],...
- ['System Camera Lens Aperture: ', sprintf('f/%.2g',Xin.D.Sys.CameraLens.Aperture), '; '],...
- ['Monkey ID: ', Xin.D.Mky.ID, '; '],...
- ['Monkey Side: ', Xin.D.Mky.Side, '; '],...
- ['Monkey Prep: ', Xin.D.Mky.Prep, '; '],...
- ['Experiment Date: ', Xin.D.Exp.DateStr, '; '],...
- ['Experiment Depth: ', sprintf('%d',Xin.D.Exp.Depth), ' (LT1 fine turn); ']...
- }];
- ShutterMultiplier = Xin.D.Sys.ThorlabsSciCam(N).DispGainNum* ...
- Xin.D.Sys.Camera.SaveBinNum^2;
- % DataBit = 16;
- % PowerMeterFlag = 0;
- DataNumApp = ['_',...
- Xin.D.Sys.Light.Source, '_',...
- Xin.D.Sys.Light.Port, '_',...
- Xin.D.Sys.Light.HeadCube];
- %% Questdlg the information
- promptinfo = [...
- imageinfo,...
- {''},...
- {'Are these settings correct?'}];
- choice = questdlg(promptinfo,...
- 'Imaging conditions:',...
- 'No, Cancel and Reset', 'Yes, Take an Image',...
- 'No, Cancel and Reset');
- switch choice
- case 'No, Cancel and Reset'; return;
- case 'Yes, Take an Image'
- end
- %% Setup the Acquisation
- Xin.D.Exp.TakingRefImage = 1;
- Xin.HW.Thorlabs.hSciCam{N}.ExposureTime_us = Xin.D.Sys.ThorlabsSciCam(N).Shutter *1000 *ShutterMultiplier;
- SetupAndArm( N, 1, 1, 'soft');
- % N, bin, FPT, trigger
- %% Issue Camera Trigger & Run
- Xin.HW.Thorlabs.hSciCam{N}.IssueSoftwareTrigger;
- while Xin.D.Sys.ThorlabsSciCam(N).Running
- pause(Xin.D.Sys.ThorlabsSciCam(N).DispPeriod/100);
- status = updatePreviewFrameThorlabs(N);
- if status
- Xin.D.Sys.ThorlabsSciCam(N).Running = false;
- end
- end
- if (isvalid(Xin.HW.Thorlabs.hSciCam{N}))
- Xin.HW.Thorlabs.hSciCam{N}.Disarm;
- end
- Xin.D.Exp.TakingRefImage = 0;
- Xin.HW.Thorlabs.hSciCam{N}.ExposureTime_us = Xin.D.Sys.ThorlabsSciCam(N).Shutter *1000;
- Xin.D.Sys.ThorlabsSciCam(N).rawFrameData = uint16(Xin.D.Sys.ThorlabsSciCam(N).imageFrame.ImageData.ImageData_monoOrBGR);
- Xin.D.Sys.ThorlabsSciCam(N).RefImage = reshape(Xin.D.Sys.ThorlabsSciCam(N).rawFrameData,...
- [ Xin.D.Sys.ThorlabsSciCam(N).rawWidth,...
- Xin.D.Sys.ThorlabsSciCam(N).rawHeight])';
- %% Power Meter
- % if ~strcmp(Xin.D.Sys.Light.Monitoring, 'N') && strcmp(CamName, 'Grasshopper3 GS3-U3-23S6M')
- % Xin.D.Sys.PowerMeter{1}.WAVelength = Xin.D.Sys.Light.Wavelength;
- % Xin.D.Sys.PowerMeter{1}.INPutFILTering = 1*strcmp(Xin.D.Sys.Light.Monitoring, 'S');
- % % 15Hz :1, 100kHz :0
- % Xin.D.Sys.PowerMeter{1}.AVERageCOUNt = round( (TriggerRepeat+1)*(1/Xin.HW.Thorlabs.hSciCam(N).hSrc.FrameRate)/0.0003 );
- % % average Counts (1~=.3ms)
- % Xin.D.Sys.PowerMeter{1}.InitialMEAsurement= 1; % send the initial messurement request
- % SetupThorlabsPowerMeters('Xin');
- % pause((TriggerRepeat+1)*(1/Xin.HW.Thorlabs.hSciCam(N).hSrc.FrameRate)+0.1);
- % % wait for the power
- % % integration
- % power = Xin.HW.Thorlabs.PM100{1}.h.fscanf;
- % imageinfo = [ imageinfo,...
- % {['Power Port: ', power, ' (W); ']} ];
- % end
- %% Save the Image
- datestrfull = datestr(now, 30);
- dataname = [datestrfull(3:end), DataNumApp];
- figure(...
- 'Name', dataname,...
- 'NumberTitle', 'off',...
- 'Color', Xin.UI.C.BG,...
- 'MenuBar', 'none',...
- 'DoubleBuffer', 'off');
- imshow(Xin.D.Sys.ThorlabsSciCam(N).RefImage);
- box on
- imagedescription = strjoin(imageinfo);
- imwrite(Xin.D.Sys.ThorlabsSciCam(N).RefImage, [Xin.D.Exp.DataDir, dataname, '.tif'],...
- 'Compression', 'deflate',...
- 'Description', imagedescription);
- %% LOG MSG
- msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tRef_Image\tA reference image has been taken from ThorlabsSci Camera #'...
- num2str(N), ':xxx \r\n'];
- updateMsg(Xin.D.Exp.hLog, msg);
- function SoftwareTriggerPreview(varargin)
- global Xin
- %% get the numbers
- if nargin==0
- % called by GUI:
- else
- % called by general update: e.g. Cam_Shutter(1, 20.00)
- N = varargin{1}; % Camera number
- end
- set(Xin.UI.FigTLSC(N).CP.hExp_RefImage_Momentary, 'Enable', 'off');
- SetupAndArm( N, 2, 0, 'soft');
- % N, bin, FPT, trigger
- %% Issue Camera Trigger & Run
- Xin.HW.Thorlabs.hSciCam{N}.IssueSoftwareTrigger;
- while Xin.D.Sys.ThorlabsSciCam(N).Running
- pause(Xin.D.Sys.ThorlabsSciCam(N).DispPeriod/100);
- updatePreviewFrameThorlabs(N);
- end
- %% Stop the camera
- if (isvalid(Xin.HW.Thorlabs.hSciCam{N}))
- Xin.HW.Thorlabs.hSciCam{N}.Disarm;
- end
- set(Xin.UI.FigTLSC(N).CP.hExp_RefImage_Momentary, 'Enable', 'on');
- function SetupAndArm(N, bin, FPT, trigger)
- global Xin
- %% Allocate Memory for the Image
- Xin.D.Sys.ThorlabsSciCam(N).BinX = bin;
- Xin.D.Sys.ThorlabsSciCam(N).BinY = bin;
- Xin.D.Sys.ThorlabsSciCam(N).rawHeight = Xin.D.Sys.ThorlabsSciCam(N).ROIHeight/Xin.D.Sys.ThorlabsSciCam(N).BinY;
- Xin.D.Sys.ThorlabsSciCam(N).rawWidth = Xin.D.Sys.ThorlabsSciCam(N).ROIWidth /Xin.D.Sys.ThorlabsSciCam(N).BinX;
- Xin.D.Sys.ThorlabsSciCam(N).rawFrameData = uint16(zeros(1, Xin.D.Sys.ThorlabsSciCam(N).rawWidth*...
- Xin.D.Sys.ThorlabsSciCam(N).rawHeight));
- Xin.D.Sys.ThorlabsSciCam(N).rawFrame = reshape(Xin.D.Sys.ThorlabsSciCam(N).rawFrameData,...
- [ Xin.D.Sys.ThorlabsSciCam(N).rawWidth,...
- Xin.D.Sys.ThorlabsSciCam(N).rawHeight])';
- Xin.D.Sys.ThorlabsSciCam(N).DispTimer = second(now);
- Xin.D.Sys.ThorlabsSciCam(N).frameTimerBuff = now;
- Xin.D.Sys.ThorlabsSciCam(N).frameTimerCurr = now;
- Xin.D.Sys.ThorlabsSciCam(N).frameNumBuff = 0;
- Xin.D.Sys.ThorlabsSciCam(N).frameNumCurr = 0;
- Xin.D.Sys.ThorlabsSciCam(N).DispTimer = now;
- Xin.D.Sys.ThorlabsSciCam(N).Running = true;
- %% Setup Camera
- roiAndBin = Xin.HW.Thorlabs.hSciCam{N}.ROIAndBin;
- roiAndBin.BinX = int32(Xin.D.Sys.ThorlabsSciCam(N).BinX);
- roiAndBin.BinY = int32(Xin.D.Sys.ThorlabsSciCam(N).BinY);
- roiAndBin.ROIOriginX_pixels = Xin.D.Sys.ThorlabsSciCam(N).ROIOriginX; % 0-1919
- roiAndBin.ROIOriginY_pixels = Xin.D.Sys.ThorlabsSciCam(N).ROIOriginY; % 0-1079
- roiAndBin.ROIWidth_pixels = Xin.D.Sys.ThorlabsSciCam(N).ROIWidth;
- roiAndBin.ROIHeight_pixels = Xin.D.Sys.ThorlabsSciCam(N).ROIHeight;
- Xin.HW.Thorlabs.hSciCam{N}.ROIAndBin = roiAndBin;
- Xin.HW.Thorlabs.hSciCam{N}.FramesPerTrigger_zeroForUnlimited = FPT; % 0 = continuous
- switch trigger
- case 'soft'; Xin.HW.Thorlabs.hSciCam{N}.OperationMode = Thorlabs.TSI.TLCameraInterfaces.OperationMode.SoftwareTriggered;
- case 'hard'; Xin.HW.Thorlabs.hSciCam{N}.OperationMode = Thorlabs.TSI.TLCameraInterfaces.OperationMode.HardwareTriggered;
- end
- Xin.HW.Thorlabs.hSciCam{N}.Arm;
- %% Search & allocate the mode
- if strcmp(trigger, 'hard'); ic = 3;
- elseif strcmp(trigger, 'soft') && FPT ==0; ic = 2;
- elseif strcmp(trigger, 'soft') && FPT >0; ic = 1;
- end
- %% Update Trigger GUI
- try
- a = get(Xin.UI.FigTLSC(N).CP.hSes_CamTrigger_Rocker, 'Children');
- set(Xin.UI.FigTLSC(N).CP.hSes_CamTrigger_Rocker, 'SelectedObject', a(ic));
- for j = 1:3
- if j == ic
- set(a(j), 'backgroundcolor', Xin.UI.C.SelectB);
- else
- set(a(j), 'backgroundcolor', Xin.UI.C.TextBG);
- end
- end
- catch
- disp('GUI update on trigger mode does not apply');
- end
- %% LOG MSG
- msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tSetupAndArm\tSetup the ThorlabsSci Camera #' ...
- num2str(N), '''s Bin#=', num2str(bin), '; ', trigger, 'wareTrigger for ' ...
- FPT 'frames (0=continuous)\r\n'];
- updateMsg(Xin.D.Exp.hLog, msg);
- % function Preview_Switch(varargin)
- % global Xin
- % %% where the call is from
- % if nargin==0
- % % called by GUI: Camera_Preview
- % N = get(get(get(gcbo, 'SelectedObject'), 'Parent'), 'UserData');
- % val = get(get(gcbo,'SelectedObject'),'string');
- % [~, val] = strtok(val, ' ');
- % val = val(2:end);
- % else
- % % called by general update: Prreview_Switch(1, 'ON') or Prreview_Switch(1, 'OFF')
- % N = varargin{1}; % Camera number
- % val = varargin{2}; % 'ON' or 'OFF'
- % end
- % hc = get(Xin.UI.FigTLSC(N).CP.hMon_PreviewSwitch_Rocker, 'Children');
- % for j = 1:3
- % switch j
- % case 1
- % case 2 % OFF
- % if strcmp(val, 'OFF')
- % set(hc(j), 'backgroundcolor', Xin.UI.C.SelectB);
- % set(Xin.UI.FigTLSC(N).CP.hMon_PreviewSwitch_Rocker,...
- % 'SelectedObject', hc(j));
- % stoppreview(Xin.HW.Thorlabs.hSciCam(N).hVid);
- % Xin.D.Sys.ThorlabsSciCam(N).DispImg = ...
- % uint8(0*Xin.D.Sys.ThorlabsSciCam(N).DispImg);
- % set(Xin.UI.FigTLSC(N).hImage, 'CData',...
- % Xin.D.Sys.ThorlabsSciCam(N).DispImg);
- % else
- % set(hc(j), 'backgroundcolor', Xin.UI.C.TextBG);
- % end
- % case 3 % ON
- % if strcmp(val, 'ON')
- % set(hc(j), 'backgroundcolor', Xin.UI.C.SelectB);
- % set(Xin.UI.FigTLSC(N).CP.hMon_PreviewSwitch_Rocker,...
- % 'SelectedObject', hc(j));
- % setappdata(Xin.UI.FigTLSC(N).hImageHide,...
- % 'UpdatePreviewWindowFcn',...
- % Xin.D.Sys.ThorlabsSciCam(N).UpdatePreviewWindowFcn);
- % preview(Xin.HW.Thorlabs.hSciCam(N).hVid,...
- % Xin.UI.FigTLSC(N).hImageHide);
- % else
- % set(hc(j), 'backgroundcolor', Xin.UI.C.TextBG);
- % end
- % otherwise
- % end
- % end
- % %% LOG MSG
- % msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tMon_PreviewSwitch\tThorlabsSci Camera #' ...
- % num2str(N), ' switched to ', val, '\r\n'];
- % updateMsg(Xin.D.Exp.hLog, msg);
- % function Trigger_Mode(varargin)
- % global Xin
- % N = varargin{1};
- % mode = varargin{2};
- % %% Search & allocate the mode
- % for i = 1: length(Xin.D.Sys.ThorlabsSciCam(N).TriggerMode)
- % if strcmp(Xin.D.Sys.ThorlabsSciCam(N).TriggerMode(i).Name, mode)
- % ic = i;
- % end
- % end
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerName = Xin.D.Sys.ThorlabsSciCam(N).TriggerMode(ic).Name;
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerType = Xin.D.Sys.ThorlabsSciCam(N).TriggerMode(ic).TriggerType;
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerCondition = Xin.D.Sys.ThorlabsSciCam(N).TriggerMode(ic).TriggerCondition;
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerSource = Xin.D.Sys.ThorlabsSciCam(N).TriggerMode(ic).TriggerSource;
- % %% Update Trigger GUI
- % try
- % a = get(Xin.UI.FigTLSC(N).CP.hSes_CamTrigger_Rocker, 'Children');
- % set(Xin.UI.FigTLSC(N).CP.hSes_CamTrigger_Rocker, 'SelectedObject', a(ic));
- % for j = 1:3
- % if j == ic
- % set(a(j), 'backgroundcolor', Xin.UI.C.SelectB);
- % else
- % set(a(j), 'backgroundcolor', Xin.UI.C.TextBG);
- % end
- % end
- % catch
- % disp('GUI update on trigger mode does not apply');
- % end
- % %% Set the VideoInput object
- % triggerconfig(Xin.HW.Thorlabs.hSciCam(N).hVid, ...
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerType,...
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerCondition,...
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerSource);
- % %% LOG MSG
- % msg = [datestr(now, 'yy/mm/dd HH:MM:SS.FFF') '\tTrigger_Mode\tSetup the ThorlabsSci Camera #' ...
- % num2str(N), '''s Trigger mode selected as: "' ...
- % Xin.D.Sys.ThorlabsSciCam(N).TriggerName '"\r\n'];
- % updateMsg(Xin.D.Exp.hLog, msg);
CtrlThorlabsSciCams.m at commit 290938b, no license · at the source
Overview
Abstract
Species-specific vocalizations (including human voices) are important for the survival and social interactions of both humans and animals. In both humans and nonhuman primates, voice/
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
x-song-x/XINTRINSIC
290938bfccb0d1f2c3a7c7c572e91012297ee4ef, 26 July 2022Availability: 1 check, the latest on 25 October 2026: the link answers
- 25 October 2026: the link answers
11 files
- CtrlThorlabsSciCams.m, MATLAB, 403 lines
- SetupD.m, MATLAB, 571 lines
- SetupFigure.m, MATLAB, 861 lines
- SetupThorlabsSciCams.m, MATLAB, 156 lines
- StartNIDAQ.m, MATLAB, 151 lines
- StopNIDAQ.m, MATLAB, 26 lines
- XINTRINSIC.m, MATLAB, 1,191 lines
- updatePower.m, MATLAB, 16 lines
- updatePreviewFrameThorla
bs.m , MATLAB, 143 lines - updateTrial.m, MATLAB, 73 lines
- README.md, Text, 24 lines
OSF 6hb2w
Availability: 1 check, the latest on 25 October 2026: the link answers (HTTP 200)
- 25 October 2026: the link answers (HTTP 200)
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 10 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- 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, code, and materials availability
All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/
Reproduced under the paper's license (CC BY-NC), 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, 25 October 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 12 MeSH terms, 49 references.
Cite
This paper
Zhang, Y., Chen, C., Song, X., Guo, Y., & Wang, X. (2026). Voice patches in the marmoset auditory cortex revealed by multimodal optical imaging. Science advances, 12(43), eaeh3885. https://
BibTeX
@article{zhang2026voice,
author = {Zhang, Yang and Chen, Chenggang and Song, Xindong and Guo, Yueqi and Wang, Xiaoqin},
title = {{Voice patches in the marmoset auditory cortex revealed by multimodal optical imaging}},
journal = {Science advances},
year = {2026},
month = oct,
volume = {12},
number = {43},
pages = {eaeh3885},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/
url = {https://
pmid = {42905840},
pmcid = {PMC13686007}
}
RIS
TY - JOUR
AU - Zhang, Yang
AU - Chen, Chenggang
AU - Song, Xindong
AU - Guo, Yueqi
AU - Wang, Xiaoqin
TI - Voice patches in the marmoset auditory cortex revealed by multimodal optical imaging
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/
VL - 12
IS - 43
SP - eaeh3885
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1126/
"type": "article-journal",
"title": "Voice patches in the marmoset auditory cortex revealed by multimodal optical imaging",
"container-title": "Science advances",
"author": [
{
"family": "Zhang",
"given": "Yang"
},
{
"family": "Chen",
"given": "Chenggang"
},
{
"family": "Song",
"given": "Xindong"
},
{
"family": "Guo",
"given": "Yueqi"
},
{
"family": "Wang",
"given": "Xiaoqin"
}
],
"container-title-short":
"volume": "12",
"issue": "43",
"page": "eaeh3885",
"DOI": "10.1126/
"PMID": "42905840",
"PMCID": "PMC13686007",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
10,
21
]
]
}
}
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.1073/pnas.2313831121
- Evolutionary continuity and divergence of auditory dorsal and ventral pathways in primates revealed by ultra-high field diffusion MRI.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: non-human primate, 18 references, 2 authors
- [2] doi:10.1038/s41467-025-58034-8 [code]
- Location-specific neural facilitation in marmoset auditory cortex.Journal: Nature communicationsIn common: non-human primate, systems, 3 references, 2 authors
- [3] doi:10.1371/journal.pbio.3003707 [code]
- Behavioral engagement facilitates auditory neuron responses beyond their receptive fields.Journal: PLoS biologyIn common: Image Processing Toolbox, non-human primate, systems, 2 references, 2 authors
- [4] doi:10.1038/s41467-023-42052-5 [code]
- Frontal cortex activity during the production of diverse social communication calls in marmoset monkeys.Journal: Nature communicationsIn common: non-human primate, 5 references, author Xiaoqin Wang
- [5] doi:10.1371/journal.pbio.3001675 [code]
- Neural responses in human superior temporal cortex support coding of voice representations.Journal: PLoS biologyIn common: 8 references
- [6] doi:10.3389/fncir.2026.1821810
- Developmental trajectories of vocal behaviors in common marmosets as a reference framework for neurobehavioral studies.Journal: Frontiers in neural circuitsIn common: non-human primate, 6 references
- [7] doi:10.1038/s42003-025-09241-y [code]
- Mapping functional homologies between human and marmoset brain networks using movie-driven ultra-high field fMRI.Journal: Communications biologyIn common: non-human primate, 6 references
- [8] doi:10.1162/imag_a_00483 [code]
- An open access resource for marmoset neuroscientific apparatus.Journal: Imaging neuroscience (Cambridge, Mass.)In common: non-human primate, 6 references
- [9] doi:10.1038/s41598-025-31437-9 [code]
- Comparison of human and marmoset basic-level face categorization based on shape.Journal: Scientific reportsIn common: non-human primate, 6 references
- [10] doi:10.1073/pnas.2405588121
- A population of neurons selective for human voice in the monkey brain.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: non-human primate, 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, 10 scripts, and 0 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:7db0d59b67f0595b…
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.1126/sciadv.aeh3885)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1126/sciadv.aeh3885.svg
:target: https://openscicode.org/badge/doi/10.1126/sciadv.aeh3885
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1126/sciadv.aeh3885"><img src="https://openscicode.org/badge/doi/10.1126/sciadv.aeh3885.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.
