Sexual dimorphism in sensorimotor transformation of optic flow.
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 · 77 lines · 2.3 KB · MIT
- % This function converts Sampsamp 2.1 data to something compatible with the labview
- % pipeline used by the hoverfly lab
- % MBS 02042025
- % The only data it needs is:
- % 'data_block' - continuous 2xn matrix (double)
- % 'info'
- % ticktimes_block - only the first occurance.
- function samp2labview()
- current_dir = pwd;
- disp('Raw data please')
- [filename_rawdata,dir_rawdata] = uigetfile();
- disp('Location to save output please')
- dir_save = uigetdir();
- cd(dir_rawdata)
- load(filename_rawdata)
- disp('Curating Data')
- ticktimes_block = Ticktime_Block_1; % pipeline only uses the firt instance
- % Define the variable name prefix
- prefix = 'Data_Block_';
- % 1) Get the list of variables in the workspace
- allVars = who;
- % 2) Filter only those whose names start with the prefix
- dataBlockVars = allVars(startsWith(allVars, prefix));
- % 3) Extract the numeric part from each variable name and sort them
- nums = zeros(length(dataBlockVars), 1);
- for k = 1:length(dataBlockVars)
- % Extract the numeric part after the prefix and convert to number
- numStr = extractAfter(dataBlockVars{k}, prefix);
- nums(k) = str2double(numStr);
- end
- % Sort the variable names based on the extracted numeric values
- [~, sortIdx] = sort(nums);
- dataBlockVarsSorted = dataBlockVars(sortIdx);
- % 4) Initialize newdatablock
- data_block_temp = [];
- % 5) Loop over each sorted variable, process, and concatenate:
- % After this loop:
- % newdatablock(1,:) contains all of the first-column data (in numerical order)
- % newdatablock(2,:) contains all of the second-column data
- for k = 1:numel(dataBlockVarsSorted)
- % Retrieve the data from the workspace variable
- thisData = eval(dataBlockVarsSorted{k});
- % Keep only columns 1 and 2 (discard column 3)
- thisData = thisData(:, 1:2);
- % Transpose so that row 1 is the first column and row 2 is the second column,
- % then horizontally concatenate the data
- data_block_temp = [data_block_temp, thisData'];
- % Display a progress indicator:
- % For the 1st iteration: '.', 2nd iteration: '..', 3rd iteration: '...', etc.
- progressIndicator = repmat('.', 1, k);
- disp(progressIndicator);
- end
- data_block = data_block_temp([2 1],:); % make same as sarah/Yuri output
- disp('Hold on, saving data.')
- cd(dir_save)
- save(filename_rawdata,'data_block','ticktimes_block','info')
- disp('DONE!')
- cd(current_dir)
- end
samp2labview.m at commit d1eb8f7, under MIT · at the source
Overview
- Flinders Health and Medical Research Institute, Flinders University, Adelaide, Australia
- Department of Medical Cell Biology, Uppsala University, Uppsala, Sweden
Abstract
Motion vision underpins a wide range of adaptive behaviours essential for individual and species survival. In hoverflies, some visual behaviours are sexually dimorphic, including for example male high-speed pursuit of conspecifics matched by improved optics and faster photoreceptors. Other visual behaviours are sexually monomorphic, with for example similar foraging flight speeds in male and female hoverflies. However, whether the descending neurons responsible for sensorimotor transformation of optic flow are sexually dimorphic is unknown. To address this, we combined morphological analysis with electrophysiology of optic flow sensitive descending neurons and compared neural responses to the behavioural output in tethered hoverflies. We found that while optomotor flight behaviour is largely sexually monomorphic, the underlying neural responses are sexually dimorphic, especially at higher optic flow velocities. Additionally, behavioural responses were noticeably slower than neural responses. Together, our findings uncover a nuanced, sex- and stimulus-dependent sensorimotor transformation, shaped by both neural architecture and behavioural demands.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
HoverflyLab/SampSamp
d1eb8f71fac5c547af6333135aff684c09ddec11, 19 May 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- Conversion scripts/
samp2labview.m , MATLAB, 77 lines - Functions/
isEnoughDataBuffered.m , MATLAB, 12 lines - Functions/
storeDataInFIFO.m , MATLAB, 47 lines - Functions/
trigDetect.m , MATLAB, 30 lines - SampSampGUI.m, MATLAB, 565 lines
- sampsamp.m, MATLAB, 30 lines
- LICENSE, License, 21 lines
- README.txt, Text, 31 lines
doi:10.5061/dryad.tb2rbp0fd
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 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;
- 6 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 availability
All data and analysis scripts have been submitted to DataDryad: https://
The following dataset was generated:
Sarah N, Sporar KK, Luke T, Annabel M, Aika Y, Yuri O, Karin N. 2026. Sexual dimorphism in sensorimotor transformation of insect optic flow. Dryad Digital Repository.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 7 authors, 1 keyword, 8 MeSH terms, 2 funders, 53 references, 1 RRID.
Cite
This paper
Nicholas, S., Sporar Klinge, K., Turnbull, L., Moran, A., Young, A., Ogawa, Y., & Nordström, K. (2026). Sexual dimorphism in sensorimotor transformation of optic flow. eLife, 15, RP109795. https://
BibTeX
@article{nicholas2026sex
author = {Nicholas, Sarah and Sporar Klinge, Katja and Turnbull, Luke and Moran, Annabel and Young, Aika and Ogawa, Yuri and Nordström, Karin},
title = {{Sexual dimorphism in sensorimotor transformation of optic flow}},
journal = {eLife},
year = {2026},
month = may,
volume = {15},
pages = {RP109795},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42171335},
pmcid = {PMC13197163}
}
RIS
TY - JOUR
AU - Nicholas, Sarah
AU - Sporar Klinge, Katja
AU - Turnbull, Luke
AU - Moran, Annabel
AU - Young, Aika
AU - Ogawa, Yuri
AU - Nordström, Karin
TI - Sexual dimorphism in sensorimotor transformation of optic flow
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/
VL - 15
SP - RP109795
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "Sexual dimorphism in sensorimotor transformation of optic flow",
"container-title": "eLife",
"author": [
{
"family": "Nicholas",
"given": "Sarah"
},
{
"family": "Sporar Klinge",
"given": "Katja"
},
{
"family": "Turnbull",
"given": "Luke"
},
{
"family": "Moran",
"given": "Annabel"
},
{
"family": "Young",
"given": "Aika"
},
{
"family": "Ogawa",
"given": "Yuri"
},
{
"family": "Nordström",
"given": "Karin"
}
],
"container-title-short":
"volume": "15",
"page": "RP109795",
"DOI": "10.7554/
"PMID": "42171335",
"PMCID": "PMC13197163",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
22
]
]
}
}
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/s41586-026-10735-w [code]
- Distributed control circuits across a brain-and-cord connectome.Journal: NatureIn common: 3 references
- [2] doi:10.1073/pnas.2609141123
- Odor tracking in flying &
lt;i& gt;Drosophila& lt;/ i& gt; requires visual reafference and compass neurons. Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 3 references - [3] doi:10.7554/elife.96084 [code]
- Organization of circuits linking descending input to motor output in the &
lt;i& gt;Drosophila& lt;/ i& gt; Male Adult Nerve Cord connectome. Journal: eLifeIn common: systems, 2 references - [4] doi:10.1126/sciadv.adv5652 [code]
- The anterior cingulate cortex modulates pupil-linked arousal.Journal: Science advancesIn common: systems, 2 references
- [5] doi: [code]
- Real-time closed-loop feedback system for mouse mesoscale cortical signal and movement controlJournal: eLifeIn common: 2 references
- [6] doi:10.1126/sciadv.aed3610 [code]
- Dexterous single sniffs for ethological active olfaction.Journal: Science advancesIn common: 2 references
- [7] doi:10.1016/j.crmeth.2026.101421 [code]
- EthoPy provides an accessible platform for reproducible behavioral neuroscience.Journal: Cell reports methodsIn common: 2 references
- [8] doi:10.3389/fnsys.2026.1822122 [code]
- Convergence-divergence circuits for multimodal integration of innate and learned opponent valences.Journal: Frontiers in systems neuroscienceIn common: systems, 1 reference
- [9] doi:10.1162/imag.a.1188 [code]
- Modelling variability in functional brain networks using embeddings.Journal: Imaging neuroscience (Cambridge, Mass.)In common: systems, 1 reference
- [10] doi:10.7554/elife.105213 [code]
- Mesoscale functional architecture in medial posterior parietal cortex.Journal: eLifeIn common: 2 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, 6 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:8a49ec1c619e82be…
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.
