This document lists all folders within this upload and a description of their contents Brain_reconstruction_label_files.zip: Zip folder containing all Amira 3D reconstruction label .am files, from which all brain volumetric data were extracted. Label files are sorted by species and labelled with their species name, the year they were collected, and their corresponding ID used in all relevant datasheets (e.g. ‘Individual_brain_data.csv’ in ‘Data files and code.zip’). Canopy_photos_individual_butterflies.zip: Zip folder containing all hemispherical canopy photographs (from which canopy openness data were extracted) collected for individual butterflies. All files are labelled in chronological order which can be used to find their corresponding butterfly IDs in ‘Field_2022_sample_info.xlsx’ (tab 1) in ‘Data files and code.zip’ Canopy_photos_transect_butterflies.zip: Zip folder containing all hemispherical canopy photographs (from which canopy openness data were extracted) collected at set points along a 2.1 km transect. All files are labelled by ridge/valley replicate and the date they were taken (DDMM) in 2022 which correspond to the IDs in ‘Transect_data.csv’ in ‘Data files and code.zip’ Data files and code.zip: Zip folder containing all .csv, .xlsx, and .R files that were part of the formal statistical analysis. It contains the following files: * Field_2022_sample_info.xlsx: Worksheet containing all individual butterfly (tab 1) and transect (tab 2) measurements that were taken in situ in 2022. * Individual_brain_data.csv: File containing all brain volumetric and wing morphological data for individuals sampled in 2011 and 2012 coupled with the species means for all spectral and ecological variables. * Individual_eye_data.csv: File containing all eye physiological and anatomical data for individuals sampled in 2022 coupled with individual spectral and ecological data for those individuals. * Individual_spectral_data.csv: File containing all spectral and ecological data for all individuals sampled in 2022. * Individual-spectral_data_summary.csv: File containing mean spectral, ecological, and eye physiological/anatomical data for all species sampled in 2022. * Individual_spectral_data_transect_individuals.csv: File containing ecological data for all individuals sampled along the 2.1 km transect in 2022. * ithomiini_mcc_annotated_outgroups.trees: NEXUS file containing the annotated BEAST posterior distribution phylogeny from Chazot et al. (8) used in all analyses. * Mean_irradiance_per_replicate.csv: File containing the mean raw spectral irradiance values per ridge/valley replicate along the 2.1 km transect in 2022. * Species_abundance_data.csv: File containing the abundance of each species sampled in 2022 and 2011/2012 (combined). * Transect_data: All spectral and ecological data taken at set points along the 2.1 km transect in 2022. * Visual_system_data_summary_40_species: File containing only mean spectral, ecological, eye physiological/anatomical and neuroanatomical data for species sampled in both 2011/2012 and 2022. * Visual_system_data_summary_49_species: File containing mean spectral, ecological, eye physiological/anatomical and neuroanatomical data for all species sampled in 2011/2012. * Wainwright et al script.R: Annotated R script containing all code used in the analyses. Eye images.zip: Zip folder containing whole head and eye cuticle images (in ‘Eye cuticle’ and categorised by the magnification they were imaged) from all individuals for which all eye anatomical data were extracted. Output from the ODA analysis (including visualisations for all individuals) can be found under ‘Eye cuticle > ODA analysis. All files are named with the butterfly ID code used in all relevant datasheets (e.g. ‘Individual_eye_data.csv’ in ‘Data files and code.zip’). Eyeshine videos.zip: Zip folder containing eyeshine .avi video files from all individuals for which all eye physiological data were extracted. File are named with the butterfly ID code used in all relevant datasheets (e.g. ‘Individual_eye_data.csv’ in ‘Data files and code.zip’). Merged brain confocal scans.zip: Zip folder containing all merged confocal image stack .am files of brains, from which all label files were created (see ‘Brain_reconstruction_label_files.zip’). Label files are sorted by species and labelled with their species name, the year they were collected, and their corresponding ID used in all relevant datasheets (e.g. ‘Individual_brain_data.csv’ in ‘Data files and code.zip’). Spectroscopy and visual modelling.zip: Zip folder containing all .xlsx and .csv files containing raw spectral irradiance data and the templates used for the visual modelling of these data. It contains the following files: * Modelling_spectral_absorbance_BLUE.csv: Govardovski et al. (34) template used to model spectral absorbance based on the ?max of the blue spectral channel of Danaus plexippus. * Modelling_spectral_absorbance_LW.csv: Govardovski et al. (34) template used to model spectral absorbance based on the ?max of the long-wavelength spectral channel of Danaus plexippus. * Modelling_spectral_absorbance_UV.csv: Govardovski et al. (34) template used to model spectral absorbance based on the ?max of the ultraviolet spectral channel of Danaus plexippus. * Raw_individual_irradiance_data.csv: Raw spectral irradiance data for all individual butterflies sampled in 2022. * Raw_transect_irradiance_data.csv: Raw spectral irradiance data for all measurements taken along the 2.1 km transect in 2022. * Visual_modelling_individuals_data: Template used to model the spectral irradiance data for all individual butterflies, to estimated quantum catches. * Visual_modelling_transect_data: Template used to model the spectral irradiance data for all measurements taken along the 2.1 km transect, to estimated quantum catches. Wing_morphology_images.zip: Zip folder contains all wing .jpg images for all species sorted by species and the year they were samples (2011/2012). Each file is labelled with the year the wing sample was collected, and the corresponding ID used in all relevant datasheets (e.g. ‘Individual_brain_data.csv’ in ‘Data files and code.zip’).