Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection.
The 4 matches
- [1] § 5 Methods › 5.4 Measures › 5.4.2 fNIRS recordings. ↔ fNIRS Interbrain Coherence/fNIRS/3Dheadmodels/script_structuresensor1.m, lines 327–387 · score 0.78 · left IFG, left TPJ, right IFG, right TPJ, MNI, ROIs
- [2] § 5 Methods › 5.4 Measures › 5.4.2 fNIRS recordings. ↔ fNIRS Interbrain Coherence/fNIRS/3Dheadmodels/script_structuresensor1.m, lines 170–230 · score 0.68 · MNI space, FieldTrip, scan, fiducial, channel, optodes
- [3] § 5 Methods › 5.6 Data analysis › 5.6.1 Interbrain synchrony. ↔ Group Level Analysis/INS/2a-Frequentisttest.Rmd, lines 127–150 · score 0.67 · LTPJ RTPJ, 50 seconds, LIFG RTPJ, RIFG LTPJ, LIFG LTPJ, LIFG RIFG
- [4] § 5 Methods › 5.6 Data analysis › 5.6.1 Interbrain synchrony. ↔ fNIRS Interbrain Coherence/fNIRS/3Dheadmodels/script_structuresensor1.m, lines 232–284 · score 0.50 · optode positioning, location, Channel, S4, S2, Interbrain
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 · 421 lines · 16 KB · no license · 3 matches
- clear all;
- %% 0 Run these to set path & defaults
- addpath('/Users/rmoffat/Library/CloudStorage/OneDrive-ETHZurich/MATLAB/NIRS/fieldtrip-20240201')
- ft_defaults
- %% 1 Make 3D scan with the structure sensor
- % * place the cap on the subject's head and make sure that Cz is midway
- % between nasion-inion and LPA-RPA
- % * mark the fiducials (nasion, LPA, RPA, inion, Cz) with stickers
- % * make a 3D scan of the subject while walking around them with the
- % structure sensor (ask for help if necessary).n
- % * email to own email adress
- % * save the "Model" folder on a place you specify below in root_dir and
- % unzip
- %% 2 Specify where you saved the model folder
- sub_id= 'sub-309_session-5';
- root_dir='/Users/rmoffat/Library/CloudStorage/OneDrive-ETHZurich/SOBALAB/2023_projects/CortiVision/data/headmodels';
- obj_file=fullfile(root_dir, 'source', sub_id, 'model.obj');
- cd(fullfile(root_dir, 'processed', sub_id)) % or other folder where you want to save your data
- % 304_session-4 mesh is colourles
- % % you also need to specify your path to fieldtrip for a later step
- [ftver, ftpath] = ft_version;
- %% 3 Load the 3D-model
- head_surface = ft_read_headshape(obj_file);
- % needed if estimated unit is not m, but dm!
- % head_surface.pos = head_surface.pos * 10; % Convert from dm to m
- % Convert the units to mm
- head_surface = ft_convert_units(head_surface, 'mm');
- % Visualize the mesh surface
- figure('name', 'Mesh check');%title for clearity
- hold on
- ft_plot_mesh(head_surface);
- hold off
- %% 4 Specify the fiducials + optodes
- % Note that I also call Cz a fiducial, which is in fact not a fiducial, but
- % which we will use in a later stage to for coregistration.
- % Here I define the names of the transmitters and receivers. Adapt
- % according to own device.
- Sxnames=cell(16,1); %normal sources 1-8 and short sources are 13-16, total of 12 labels
- Dxnames=cell(10,1);
- idx=1;
- for i=1:16 %normal sources labels
- Sxnames{idx}=sprintf('S%d', i);
- idx=idx+1;
- end
- for i=1:10
- Dxnames{i}=sprintf('D%d', i);
- end
- cfg = [];
- cfg.channel={};
- cfg.channel{1} = 'Nz';
- cfg.channel{2} = 'LPA';
- cfg.channel{3} = 'RPA';
- cfg.channel{4}= 'Iz';
- cfg.channel{5} = 'Cz';
- cfg.channel(6:21)=Sxnames';
- cfg.channel(22:31)=Dxnames';
- cfg.method = 'headshape';
- opto = ft_electrodeplacement(cfg, head_surface);%2 figures appear: first figure for axes
- % (type 'n' in command window), second figure for electrode placement
- title ('axes check');
- save('opto.mat', 'opto')
- % Do you want to change the anatomical labels for the axes [Y, n]? --> n
- % Use "Rotate 3D" to rotate the 3D model.
- % Click/unclick "Colors" to toggle the colors on and off: best is to use the color
- % view for the fiducials, but the structure view for the optodes
- % Use the mouse to click on fiducials/optodes on the head and subsequently on the corresponding
- % label in the list to assign the markers. (Make sure you're not in "Rotate 3D" mode anymore!)
- % If an error was made: double click on the label to remove this marker
- % If ready --> press Q
- %% 5 Allign the axes of the coordinate system with the fiducial positions (ctf coordinates)
- % for the mesh
- load ('opto.mat')
- cfg = [];
- cfg.method = 'fiducial';
- cfg.coordsys = 'ctf';
- cfg.fiducial.nas = opto.elecpos(1,:); %position of Nz
- cfg.fiducial.lpa = opto.elecpos(2,:); %position of LPA
- cfg.fiducial.rpa = opto.elecpos(3,:); %position of RPA
- head_surface_ctf = ft_meshrealign(cfg, head_surface);
- %ft_plot_axes(head_surface_ctf)
- figure('name', 'axes check');
- ft_plot_mesh(head_surface_ctf, 'axes', true) %visualize the head surface,
- % including the axes of the coordinate system. You can check that the positive
- % and negative y-axes go through the preauricular points.
- % for the optodes
- fid.chanpos = [110 0 0; 0 90 0; 0 -90 0]; % CTF coordinates of the fiducials
- fid.elecpos = [110 0 0; 0 90 0; 0 -90 0]; % just like electrode positions
- fid.label = {'Nz','LPA','RPA'}; % same labels as in elec
- fid.unit = 'mm'; % same units as mri
- cfg = [];
- cfg.method = 'fiducial';
- cfg.coordsys = 'ctf';
- cfg.target = fid; % see above
- cfg.elec = opto;
- cfg.fiducial = {'Nz', 'LPA', 'RPA'}; % labels of fiducials in fid and in elec
- opto_ctf = ft_electroderealign(cfg);
- % Visualize the optodes on the alligned head surface
- % Notice that the colorview is not that clean as the the structure view
- figure('name','optodes on head');
- ft_plot_mesh(head_surface_ctf)
- ft_plot_sens(opto_ctf,'label', 'on', 'fontsize', 10, 'elecsize', 10, 'style', 'b')% I added optode labels, remove if in the way
- % to have the same visualization without the colors
- figure('Name','optodes on colourless head');
- ft_plot_mesh(removefields(head_surface_ctf, 'color'), 'tag', 'headshape', 'facecolor', 'skin', 'material', 'dull', 'edgecolor', 'none', 'facealpha', 1);
- lighting gouraud
- l = lightangle(0, 90); set(l, 'Color', [1 1 1]/2)
- l = lightangle( 0, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle( 90, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle(180, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle(270, 0); set(l, 'Color', [1 1 1]/3)
- alpha 0.9
- ft_plot_sens(opto_ctf, 'label', 'on', 'fontsize', 10,'elecsize', 10, 'style', 'b')
- save(['opto_ctf.mat'], 'opto_ctf')
- %% 6. Move optode inward
- load('opto_ctf.mat');
- cfg = [];
- cfg.method = 'moveinward';
- cfg.moveinward = 5; % determine distance to skin
- cfg.channel = 2:length(opto_ctf.label); % do not move the nasion inward
- cfg.keepchannel = true;
- cfg.elec = opto_ctf;
- opto_inw = ft_electroderealign(cfg);
- % visualize
- figure;
- ft_plot_mesh(removefields(head_surface_ctf, 'color'), 'tag', 'headshape', 'facecolor', 'skin', 'material', 'dull', 'edgecolor', 'none', 'facealpha', 1);
- lighting gouraud
- l = lightangle(0, 90); set(l, 'Color', [1 1 1]/2)
- l = lightangle( 0, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle( 90, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle(180, 0); set(l, 'Color', [1 1 1]/3)
- l = lightangle(270, 0); set(l, 'Color', [1 1 1]/3)
- alpha 0.7
- ft_plot_sens(opto_inw, 'elecsize', 10, 'style', 'b')
- %opto_inw = opto_ctf;
- save(['opto_inw.mat'], 'opto_inw')
- %% 7 Coregister optodes to MNI atlas
- % load("opto.mat")
- % load("opto_ctf.mat")
- % load("opto_inw.mat")
- % or event better: to an anatomical scan of your subject if you have one.
- % In that case, you will first need to segment the skin from your
- % anatomical MRI scan. For more information see: http://www.fieldtriptoolbox.org/tutorial/headmodel_eeg_bem/
- % load skin surface of standard atlas
- skin_template=fullfile(ftpath, 'template', 'headmodel', 'skin', 'standard_skin_14038.vol');
- skin=ft_read_headshape(skin_template);
- % visualization with optodes
- hold on; ft_plot_sens(opto_inw); %no skin mesh in this plot? 2d not 3d
- % you should notice that your optodes, which are represented in the ctf
- % coordinate system, are rotated with 90 degrees compared to the head model
- % which is represented in the MNI coordinate system. For more information
- % see: http://www.fieldtriptoolbox.org/faq/how_are_the_different_head_and_mri_coordinate_systems_defined/
- % We will use the MNI coordinates of the fiducials, which can be found in
- % the standard_1020.elc file of the fieldtrip template folder,
- % to guide the coregistration
- elec1020=ft_read_sens(fullfile(ftpath, 'template', 'electrode', 'standard_1020.elc'));
- % select rpa, lpa, nasion, inion and cz from elec1020
- cfg=[];
- cfg.method='moveinward'; % this is just a hack to select the right channels
- cfg.moveinward=10;
- cfg.channel={'Nz'; 'RPA'; 'LPA'; 'Iz'; 'Cz'};
- electarg=ft_electroderealign(cfg, elec1020);
- % There are two ways to coregister the optodes to the MNI space: (1)
- % interactively/manually or (2) automatically based on the fiducials we
- % specified here above
- % (1) interactively
- % So first a 90 degree turn to go from ctf to mni coordinate system
- cfg=[];
- cfg.method='interactive';
- cfg.headshape=skin;
- cfg.target=electarg; % you can use the fiducials to guide your coregistration
- opto_MNI=ft_electroderealign(cfg, opto_inw);
- % You might notice that this is quite time consuming and needs some
- % practice. Therefore, I prefer to do it automatically, but this is only
- % possible if you have enough fiducials/marker points.
- % (2) automatically
- % cfg=[];0
- % cfg.method='template';
- % cfg.warp= 'traditional';
- % cfg.channel={'LPA', 'RPA', 'Nz', 'Cz', 'Iz'};
- % cfg.target=electarg;
- % opto_MNI=ft_electroderealign(cfg, opto_inw);
- save('opto_MNI.mat', 'opto_MNI')
- % plot together
- figure;ft_plot_mesh(skin, 'edgecolor', 'none', 'facecolor', 'skin'); camlight
- hold on; ft_plot_sens(opto_MNI, 'elecsize', 20,'facecolor', 'k', 'label', 'label');
- hold on; ft_plot_sens(electarg, 'elecsize', 20, 'facecolor', 'b');
- %% 8 Calculate channel locations based on optode positions (in this case in CTF space)
- % load("opto_MNI.mat")
- % load("opto_ctf.mat")
- % use optode namings instead of eeg namings
- % define here the channels:
- channels = {'S1_D2', 'S2_D2', 'S2_D3', 'S2_D1','S3_D3', 'S3_D1', 'S4_D4', 'S4_D5', 'S5_D4', 'S5_D5','S6_D4', 'S7_D6', 'S7_D7','S8_D6', 'S8_D7', 'S8_D8','S9_D8','S10_D9', 'S10_D10','S11_D9', 'S11_D10','S12_D10', 'S13_D2', 'S14_D8', 'S15_D5', 'S16_D9'};
- % For these files the old montage needs to be used. Take care to follow the
- % old montage during the optode specification (%%4)
- % sub-103_session-1, sub-301_session-1,sub-101_session-1,
- % sub-201_session-1, sub-102_session-1, sub-202_session-1
- %
- % Old Montage
- % channels = {'S1_D2 ', 'S2_D2', 'S2_D3', 'S3_D3', 'S2_D1','S3_D1', 'S4_D5', 'S5_D5', 'S4_D4','S6_D4','S6_D5','S7_D6', 'S7_D7', 'S8_D7','S8_D6', 'S8_D8', 'S9_D8','S10_D9 ', 'S11_D9', 'S12_D9','S12_D10', 'S11_D10','S13_D1', 'S14_D6', 'S15_D5', 'S16_D9'};
- [dxnames, rem] = strtok(channels, {'_', ' '});
- [sxnames, rem] = strtok(rem, {'_', ' '});
- % change the naming
- opto_lay = opto_ctf;
- opto_lay.optopos=opto_ctf.chanpos;
- opto_lay.chantype=cell(length(opto_ctf.chantype),1);
- opto_lay.chantype(:) = {'nirs'};
- opto_lay.optolabel = opto_ctf.label;
- opto_lay.label=channels;
- opto_lay.tra=zeros(length(channels),length(opto_lay.optolabel));
- for i=1:length(channels)
- opto_lay.tra(i,:) = strcmp(dxnames{i},opto_lay.optolabel)+strcmp(sxnames{i}, opto_lay.optolabel);
- end
- opto_lay=rmfield(opto_lay, {'chanpos', 'chantype', 'chanunit', 'elecpos'});
- % calculate the channel positions
- opto_layout = ft_datatype_sens(opto_lay)
- % save
- save('opto_layout.mat', 'opto_layout')
- % calculate channel locations also in MNI space
- % change the naming
- opto_temp = opto_MNI;
- opto_temp.optopos=opto_MNI.chanpos;
- opto_temp.chantype=cell(length(opto_MNI.chantype),1);
- opto_temp.chantype(:) = {'nirs'};
- opto_temp.optolabel = opto_MNI.label;
- opto_temp.label=channels;
- opto_temp.tra=zeros(length(channels),length(opto_temp.optolabel));
- for i=1:length(channels)
- opto_temp.tra(i,:) = strcmp(dxnames{i},opto_temp.optolabel)+strcmp(sxnames{i}, opto_temp.optolabel);
- end
- opto_temp=rmfield(opto_temp, {'chanpos', 'chantype', 'chanunit', 'elecpos'});
- % calculate the channel positions
- chan_MNI = ft_datatype_sens(opto_temp);
- %% 9 Determine anatomical label for the channels (this is only possible in MNI space)
- % % documentati on: http://www.fieldtriptoolbox.org/faq/how_can_i_determine_the_anatomical_label_of_a_source/
- % % load atlas (AAL atlas), but you can also load another atlas, see: http://www.fieldtriptoolbox.org/template/atlas/
- % atlas = ft_read_atlas([ftpath filesep 'template/atlas/aal/ROI_MNI_V4.nii']);
- %
- % channels = {'S1_D2', 'S2_D2', 'S2_D3', 'S2_D1','S3_D3', 'S3_D1', 'S4_D4', 'S4_D5', 'S5_D4', 'S5_D5','S6_D4', 'S7_D6', 'S7_D7','S8_D6', 'S8_D7', 'S8_D8','S9_D8','S10_D9', 'S10_D10','S11_D9', 'S11_D10','S12_D10', 'S13_D2', 'S14_D8', 'S15_D5', 'S16_D9'};
- %
- % % Look up the corresponding anatomical label
- % cfg = [];
- % cfg.roi = chan_MNI.chanpos(match_str(chan_MNI.label,channels),:);
- % cfg.atlas = atlas;
- % cfg.output = 'multiple';
- % cfg.minqueryrange=1;
- % cfg.maxqueryrange=25; %if no label was found, increase the queryrange
- % labels = ft_volumelookup(cfg, atlas);
- %
- % % Select the anatomical label with the highest probability
- %
- % for i=1:length(channels)
- % [~, indx] = max(labels(i).count);
- % label{i}=char(labels(i).name(indx));
- % end
- %
- % % show results in table
- % table(channels', label', 'VariableNames', {'channel', 'label'})
- %% CSV table python
- labeling = char(chan_MNI.label);
- % f= "fidcuial";
- % s = "source";
- % d = "dectector";
- % types = repelem([f; s; d], [5 10 10]);
- %
- % pythontable = table(labeling,types,opto_MNI.elecpos(:,1),opto_MNI.elecpos(:,2),opto_MNI.elecpos(:,3), 'VariableNames',{'name','type', 'x','y','z'})
- pythontable = table(labeling,chan_MNI.chanpos(:,1),chan_MNI.chanpos(:,2),chan_MNI.chanpos(:,3), 'VariableNames',{'name', 'x','y','z'})
- writetable(pythontable, [sub_id, '.csv']); %change per participant
- %% compare ROI coordinates
- regions = {'left TPJ', 'right TPJ', 'left IFG', 'right IFG'};
- ROIs = char(regions);
- ROI_coordinates = [-56 -54 20; 56 -52 18; -48 22 8; 50 22 16];
- % ROI_tabel = table(ROIs, ROI_coordinates(:,1), ROI_coordinates(:,2), ROI_coordinates(:,3), 'VariableNames',{'ROI', 'x','y','z'});
- % Chan_coordinates = table(chan_MNI.chanpos(:,1),chan_MNI.chanpos(:,2),chan_MNI.chanpos(:,3), 'VariableNames',{ 'x','y','z'});
- P=chan_MNI.chanpos;
- l_tpj = ROI_coordinates(1,:);
- r_tpj = ROI_coordinates(2,:);
- l_ifg = ROI_coordinates(3,:);
- r_ifg = ROI_coordinates(4,:);
- l_tpj_distance = zeros(26,1);
- for i = 1:length(P)
- X = [l_tpj ; P(i,:)];
- d= pdist(X, 'euclidean');
- l_tpj_distance(i)=d;
- end
- r_tpj_distance = zeros(26,1);
- for i = 1:length(P)
- X = [r_tpj ; P(i,:)];
- d= pdist(X, 'euclidean');
- r_tpj_distance(i)=d;
- end
- l_ifg_distance = zeros(26,1);
- for i = 1:length(P)
- X = [l_ifg ; P(i,:)];
- d= pdist(X, 'euclidean');
- l_ifg_distance(i)=d;
- end
- r_ifg_distance = zeros(26,1);
- for i = 1:length(P)
- X = [r_ifg ; P(i,:)];
- d= pdist(X, 'euclidean');
- r_ifg_distance(i)=d;
- end
- alldistances = [l_tpj_distance, r_tpj_distance, l_ifg_distance, r_ifg_distance];
- distance = table(labeling,l_tpj_distance, r_tpj_distance, l_ifg_distance, r_ifg_distance)
- writetable(distance, [sub_id, '_distances.csv'])%change per participant
- nearest = [];
- nearest.chanlabels = chan_MNI.label;
- nearest.ROIS = regions;
- nearest.distance = alldistances;
- near= strings(4,2); %make a list of the closest channel per ROI stored in varaible 'near'
- channear = {};
- for i=1:4
- [min_value, index] = min(nearest.distance(:,i));
- near(i,1) = num2str(min_value);
- near(i,2) = nearest.chanlabels(1,index);
- end
- chanlabel = char(channear);
- %% distances between optode pairs
- %if you are doing this for participants who already had the entire script
- %run on them, just run section 2,8 and this section, uncomment load
- %opto_MNI and ctf at the top of section 8
- optode_distances = [];
- % Loop through each channel pair
- for i = 1:numel(channels)
- % Extract electrode labels for the current channel pair
- optodes = strsplit(channels{i}, '_');
- % Find the indices of electrodes in the data structure
- idx_optodes = cellfun(@(x) find(strcmp(chan_MNI.optolabel, x)), optodes);
- % Extract coordinates of electrodes in the channel pair
- coords = chan_MNI.optopos(idx_optodes, :);
- % Calculate distance between electrodes
- dist = pdist(coords);
- % Store channel distance
- optode_distances = [optode_distances; dist];
- end
- % Create a table with channel names and distances
- channeltable = channels';
- optode_dist = table(channeltable, optode_distances, 'VariableNames', {'Channel', 'Distance'});
- disp(optode_dist);
- writetable(optode_dist, [sub_id, '_optode_dist.csv'])%change per participant
script_structuresensor1.m, no license · at the source
Overview
- Social Brain Sciences Lab, ETH Zurich, Zurich, Switzerland
- CHU Sainte-Justine Azrieli Research Center, Department of Psychiatry, University of Montreal, Montréal, Quebec, Canada
- Mila – Quebec Artificial Intelligence Institute, Montréal, Quebec, Canada
Abstract
Loneliness is globally acknowledged as a severe and burgeoning health risk, fueling interest in helping people of all ages form meaningful social connections. One promising approach consists of intergenerational social programs. While behavioral and qualitative evidence derived from such programs promise health and wellbeing benefits, the physiological consequences of repeated intergenerational encounters remain unknown. Insight into physiological changes will shed light on the mechanisms of social connection. We charted longitudinal changes in interpersonal neural synchrony (INS) in 31 intergenerational (older/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
OSF xcgp6
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
20 files
- Group Level Analysis/
INS/ , R, 277 lines1-CombineDFs.Rmd - Group Level Analysis/
INS/ , R, 277 lines1-CombineDFs_hbr.Rmd - Group Level Analysis/
INS/ , R, 666 lines2-INS_Hypyp_ageDPFs.Rmd - Group Level Analysis/
INS/ , R, 666 lines2-INS_Hypyp_ageDPFs_hbr. Rmd - Group Level Analysis/
INS/ , R, 185 lines, 1 match2a-Frequentisttest.Rmd - Group Level Analysis/
INS/ , R, 431 lines3-INS_intergen_direction ality_ageDPFs_hbo.Rmd - Group Level Analysis/
INS/ , R, 427 lines3-INS_intergen_direction ality_ageDPFs_hbr.Rmd - Group Level Analysis/
INS/ , R, 540 lines4-INS_realpairs_ageDPFs_ hbo.Rmd - Group Level Analysis/
INS/ , R, 544 lines4-INS_realpairs_ageDPFs_ hbr.Rmd - Group Level Analysis/
INS/ , R, 1,038 lines5-INS_measures_ageDPFs_h bo.Rmd - Group Level Analysis/
INS/ , R, 1,037 lines5-INS_measures_ageDPFs_h br.Rmd - Group Level Analysis/
INS/ , R, 419 lines5a-INS_measures_plots_ag eDPFs_hbo.Rmd - Group Level Analysis/
INS/ , R, 424 lines5a-INS_measures_plots_ag eDPFs_hbr.Rmd - Group Level Analysis/
INS/ , R, 276 lines6-INS_contrasting_drawin gs.Rmd - Group Level Analysis/
INS/ , R, 667 lines7-INS_with_all_good_chan nels.Rmd - Group Level Analysis/
behaviour/ , R, 172 lines1-QuestionnaireCleaning. Rmd - Group Level Analysis/
behaviour/ , R, 598 lines2-DemographicsAndQuestio nnaires.Rmd - Group Level Analysis/
behaviour/ , R, 141 lines3-InterSessionDays.Rmd - Group Level Analysis/
behaviour/ , R, 174 lines4-Additional_analyses.Rm d - fNIRS Interbrain Coherence/
fNIRS/ , MATLAB, 421 lines, 3 matches3Dheadmodels/ script_structuresensor1. m
OSF zms2v
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 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;
- 20 scripts, each with its path and the digest of its content;
- 4 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
Datasets cited
- openneuro:ds008192, at OpenNeuro; found in the references
Data Availability
These data were collected after the submission of the following preregistration: https://
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 12 MeSH terms, 6 funders, 123 references.
Cite
This paper
Moffat, R., Dumas, G., & Cross, E. S. (2026). Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection. PLoS biology, 24(8), e3003899. https://
BibTeX
@article{moffat2026socia
author = {Moffat, Ryssa and Dumas, Guillaume and Cross, Emily S.},
title = {{Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection}},
journal = {PLoS biology},
year = {2026},
month = aug,
volume = {24},
number = {8},
pages = {e3003899},
publisher = {PLOS},
issn = {1544-9173},
doi = {10.1371/
url = {https://
pmid = {42623338},
pmcid = {PMC13492753}
}
RIS
TY - JOUR
AU - Moffat, Ryssa
AU - Dumas, Guillaume
AU - Cross, Emily S.
TI - Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection
T2 - PLoS biology
J2 - PLoS Biol
PY - 2026
DA - 2026/
VL - 24
IS - 8
SP - e3003899
SN - 1544-9173
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection",
"container-title": "PLoS biology",
"author": [
{
"family": "Moffat",
"given": "Ryssa"
},
{
"family": "Dumas",
"given": "Guillaume"
},
{
"family": "Cross",
"given": "Emily S."
}
],
"container-title-short":
"volume": "24",
"issue": "8",
"page": "e3003899",
"DOI": "10.1371/
"PMID": "42623338",
"PMCID": "PMC13492753",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
20
]
]
}
}
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.3390/brainsci16080809 [code]
- The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study.Journal: Brain sciencesIn common: emmeans, tidyverse, 6 references
- [2] doi:10.1523/eneuro.0076-26.2026 [code]
- Exogenously Driven Neural Reactivation of Spatially Matching Visual Working-Memory Contents.Journal: eNeuroIn common: brms, FieldTrip, emmeans, 5 other tools, 1 reference
- [3] doi:10.1523/eneuro.0316-25.2026 [code]
- Neural Mechanisms of Self-Generated Action Sequences.Journal: eNeuroIn common: brms, FieldTrip, emmeans, 3 other tools, 2 references
- [4] doi:10.1038/s41598-026-50540-z [code]
- Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning.Journal: Scientific reportsIn common: Statistics and Machine Learning Toolbox, 6 references
- [5] doi:10.1093/oons/kvag006 [code]
- Social disconnection in the brain: loneliness and age across networks using graph theory.Journal: Oxford open neuroscienceIn common: tidyverse, 6 references
- [6] doi:10.1162/opmi.a.372 [code]
- Broadening the Agent Preference Hypothesis Through Experiencers: Eye-Tracking and EEG Evidence of Proto-Agents and Proto-Patients.Journal: Open mind : discoveries in cognitive scienceIn common: brms, FieldTrip, data.table, 3 other tools, 2 references
- [7] doi:10.1162/imag.a.1347 [code]
- Neural and behavioural correlates of theory of mind reasoning in five-year-old children born preterm.Journal: Imaging neuroscience (Cambridge, Mass.)In common: brms, patchwork, ggplot2, 1 other tool, 3 references
- [8] doi:10.3758/s13428-026-03060-7 [code]
- Synchronizing brains and hearts: A practical guide for caregiver-child fNIRS-ECG multimodal hyperscanning.Journal: Behavior research methodsIn common: 6 references
- [9] doi:10.1111/jcpp.70178 [code]
- What makes a lonely child: environmental, health, and multimodal neuroimaging correlates of prospective loneliness in the ABCD study.Journal: Journal of child psychology and psychiatry, and allied disciplinesIn common: ggpubr, patchwork, ggplot2, 1 other tool, 3 references
- [10] doi:10.64898/2026.05.08.26348885 [code]
- Insights from nine nights of self-applied, low-density sleep EEG during sleep restriction therapy: a proof-of-concept evaluationJournal: medRxiv (preprint)In common: FieldTrip, emmeans, ggpubr, 4 other tools, 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: 2 repositories of the authors' code, each at its verified commit and with its license, 20 scripts, and 4 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:e4d96cba509aa790…
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
[.
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.
