OSCR

Sexual dimorphism in sensorimotor transformation of optic flow.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

  1. % This function converts Sampsamp 2.1 data to something compatible with the labview
  2. % pipeline used by the hoverfly lab
  3. % MBS 02042025
  4. % The only data it needs is:
  5. % 'data_block' - continuous 2xn matrix (double)
  6. % 'info'
  7. % ticktimes_block - only the first occurance.
  8. function samp2labview()
  9. current_dir = pwd;
  10. disp('Raw data please')
  11. [filename_rawdata,dir_rawdata] = uigetfile();
  12. disp('Location to save output please')
  13. dir_save = uigetdir();
  14. cd(dir_rawdata)
  15. load(filename_rawdata)
  16. disp('Curating Data')
  17. ticktimes_block = Ticktime_Block_1; % pipeline only uses the firt instance
  18. % Define the variable name prefix
  19. prefix = 'Data_Block_';
  20. % 1) Get the list of variables in the workspace
  21. allVars = who;
  22. % 2) Filter only those whose names start with the prefix
  23. dataBlockVars = allVars(startsWith(allVars, prefix));
  24. % 3) Extract the numeric part from each variable name and sort them
  25. nums = zeros(length(dataBlockVars), 1);
  26. for k = 1:length(dataBlockVars)
  27. % Extract the numeric part after the prefix and convert to number
  28. numStr = extractAfter(dataBlockVars{k}, prefix);
  29. nums(k) = str2double(numStr);
  30. end
  31. % Sort the variable names based on the extracted numeric values
  32. [~, sortIdx] = sort(nums);
  33. dataBlockVarsSorted = dataBlockVars(sortIdx);
  34. % 4) Initialize newdatablock
  35. data_block_temp = [];
  36. % 5) Loop over each sorted variable, process, and concatenate:
  37. % After this loop:
  38. % newdatablock(1,:) contains all of the first-column data (in numerical order)
  39. % newdatablock(2,:) contains all of the second-column data
  40. for k = 1:numel(dataBlockVarsSorted)
  41. % Retrieve the data from the workspace variable
  42. thisData = eval(dataBlockVarsSorted{k});
  43. % Keep only columns 1 and 2 (discard column 3)
  44. thisData = thisData(:, 1:2);
  45. % Transpose so that row 1 is the first column and row 2 is the second column,
  46. % then horizontally concatenate the data
  47. data_block_temp = [data_block_temp, thisData'];
  48. % Display a progress indicator:
  49. % For the 1st iteration: '.', 2nd iteration: '..', 3rd iteration: '...', etc.
  50. progressIndicator = repmat('.', 1, k);
  51. disp(progressIndicator);
  52. end
  53. data_block = data_block_temp([2 1],:); % make same as sarah/Yuri output
  54. disp('Hold on, saving data.')
  55. cd(dir_save)
  56. save(filename_rawdata,'data_block','ticktimes_block','info')
  57. disp('DONE!')
  58. cd(current_dir)
  59. end

samp2labview.m at commit d1eb8f7, under MIT · at the source

Overview

Authors: Sarah Nicholas1, Katja Sporar Klinge1, Luke Turnbull1, Annabel Moran1, Aika Young1, Yuri Ogawa1, Karin Nordström1,2
  1. Flinders Health and Medical Research Institute, Flinders University, Adelaide, Australia
  2. Department of Medical Cell Biology, Uppsala University, Uppsala, Sweden
Institutions: Flinders University (Australia); Uppsala University (Sweden)
Journal: eLife, volume 15, article RP109795
Dates: published online 22 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.109795 · PMID 42171335 · PMCID PMC13197163 · OpenAlex W7128686046
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: systems (subfield)
Methods: Spectral & time-frequency, Statistics, Machine learning, Preprocessing, Single-unit activity, calcium imaging
Keywords: Other
MeSH: Diptera*, Optic Flow*, Sex Characteristics*, Animals, Female, Flight, Animal, Male, Neurons (* major topic)
Topic: Neurobiology and Insect Physiology Research (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: US Air Force of Scientific Research (FA9550-19-1-0294, FA9550-23-1-0473); Australian Research Council (DP250104770, DP210100740, DP230100006, DP250100698)
Citations: cited by 1 paper (Europe PMC); 56 references in the paper
Research resources: Eristalis tenax RRID:NCBITaxon_2061809

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

License: MIT
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: d1eb8f71fac5c547af6333135aff684c09ddec11, 19 May 2026
Languages: MATLAB (6)
Size: 9 files, 6 scripts
Software Heritage: not archived
Found in: the text, “Electrophysiology”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
8 files

doi:10.5061/dryad.tb2rbp0fd

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: the link answers
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
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://doi.org/10.5061/dryad.tb2rbp0fd.

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://doi.org/10.7554/elife.109795

BibTeX

@article{nicholas2026sexual,
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/elife.109795},
url = {https://doi.org/10.7554/elife.109795},
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/05/22
VL - 15
SP - RP109795
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.109795
UR - https://doi.org/10.7554/elife.109795
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.109795",
"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": "eLife",
"volume": "15",
"page": "RP109795",
"DOI": "10.7554/elife.109795",
"PMID": "42171335",
"PMCID": "PMC13197163",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.109795",
"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: Nature
In common: 3 references
[2] doi:10.1073/pnas.2609141123
Odor tracking in flying <i>Drosophila</i> requires visual reafference and compass neurons.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: 3 references
[3] doi:10.7554/elife.96084 [code]
Organization of circuits linking descending input to motor output in the <i>Drosophila</i> Male Adult Nerve Cord connectome.
Journal: eLife
In common: systems, 2 references
[4] doi:10.1126/sciadv.adv5652 [code]
The anterior cingulate cortex modulates pupil-linked arousal.
Journal: Science advances
In common: systems, 2 references
[5] doi: [code]
Real-time closed-loop feedback system for mouse mesoscale cortical signal and movement control
Journal: eLife
In common: 2 references
[6] doi:10.1126/sciadv.aed3610 [code]
Dexterous single sniffs for ethological active olfaction.
Journal: Science advances
In common: 2 references
[7] doi:10.1016/j.crmeth.2026.101421 [code]
EthoPy provides an accessible platform for reproducible behavioral neuroscience.
Journal: Cell reports methods
In 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 neuroscience
In 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: eLife
In 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.

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.