This read me file was made for "experiment 3" as described in: 

Croijmans, L., Valstar, R. T., Schuur, L., Jacobs, I., van Apeldoorn, D. F., & Poelman, E. H. (2022). 
Intraspecific plant variation and nonhost herbivores affect parasitoid host location behaviour. Animal Behaviour, 194, 169-184.

For a full explanation of the methods, see above paper.

EXPERIMENTAL DESIGN
In this experiment, we examined parasitoid foraging behaviour within a wind-tunnel (200 x 60 x 60 cm),
to assess how intraspecific plant variation and non-host presence affect foraging efficiency of the parasitoid Cotesia glomerata to its host Pieris brassicae.
Plant rows differed in the composition of cultivars (more-attractive Christmas Drumhead (C) and less-attractive Rivera (R) cultivars) and non-host presence (absent, Delia radicum, Mamestra brassicae).

We tested 12 different plant / non-host combinations. Treatment codes indicate the 2x2x3 factorial design.
First letter indicates cultivar identity of first three plants (R = Rivera, C = Christmas Drumhead).
Second letter indicates cultivar identity of last plant (R = Rivera, C = Christmas Drumhead).
Last letter indicates non-host herbivore (C = Control, no herbivore; D = Delia radicum, 3 larvae; M = Mamestra brassicae, 5 larvae) 
1. RRC	--> All plants Rivera. No non-hosts.
2. CRC	--> First three plants Christmas Drumhead, last plant Rivera. No non-hosts. 
3. RCC	--> First three plants Rivera, last plant Christmas Drumhead. No non-hosts.
4. CCC	--> All plants Christmas Drumhead. No non-hosts.

5. RRD	--> All plants Rivera. Delia radicum on all plants.
6. CRD	--> First three plants Christmas Drumhead, last plant Rivera. Delia radicum on all plants.
7. RCD	--> First three plants Rivera, last plant Christmas Drumhead. Delia radicum on all plants.
8. CCD	--> All plants Christmas Drumhead. Delia radicum on all plants.

9. RRM	--> All plants Rivera. Mamestra brassicae on all plants.
10.CRM	--> First three plants Christmas Drumhead, last plant Rivera. Mamestra brassicae on all plants.
11.RCM	--> First three plants Rivera, last plant Christmas Drumhead. Mamestra brassicae on all plants.
12.CCM	--> All plants Christmas Drumhead. Mamestra brassicae on all plants. 


MEASUREMENTS
We used a hand-held computer with the ‘The Observer XT 10.1’ software (Noldus Information Technology) to track parasitoid behaviour. 
We recorded five behavioural parameters: the proportion of parasitoids that initiated flight and landed in the plant row (Response); 
the proportion of parasitoids that flew directly to the last plant in a row (Direct Flight); 
the time the parasitoid took to reach the last plant from the first time it took flight (Searching Time); 
the time the parasitoid spent on the first three plants in a row (Plant 123 Time); 
and the time it took the parasitoid to attack the hosts after landing on the last plant for the first time (Attack Latency).
The time the parasitoid spent on each plant was tracked separately until the parasitoid successfully parasitized a larva on the last plant 
(if no larvae were present at all, recording was stopped once the parasitoid reached the last plant), or until 30 min had elapsed. 
Any parasitoids that were responsive but did not reach the last plant within 30 min were considered to have taken the full 30 min to get to the last plant, 
thus underestimating time to reach the last plant. If a parasitoid remained motionless on a plant for more than 5 min, it was recorded as an ‘unsuccessful forager’ and the recording was terminated. 
If the parasitoid stayed in the glass cylinder or on one of the sides of the wind tunnel for more than 5 min without touching one of the plants, 
the recording was terminated, and the parasitoid was considered ‘unresponsive’.


RAW DATA
Data in csv file is semicolon delimited.

Colums have the following definition:

Observation				= Unique ID number for observation.
TreatmentCode				= Treatment codes as mentioned above.
Treatment				= Non-host presence (Control = no non-host herbivores; Delia = Delia radicum; Mamestra = Mamestra brassicae)
Cultivar123				= Identity of the first three plants (Rivera or Christmas Drumhead).
Cultivar4				= Identity of the last plant (Rivera or Christmas Drumhead).
Date					= Date the observation was on, in the DD-MM-YYYY format.
HourOfDay				= Time of the day in 24h format, rounded to whole hours.
WaspFrom 				= Approximate date of pupation, this was the date that Cotesia glomerata pupae were taken from the rearing.
WaspAge 				= Approximate number of days between wasp emergence from the pupae and experimental use.
Temp 					= Temperature within the wind tunnel
RHlower 				= Relative humidity (%) as measured by first device, that gave lower estimates
RHupper 				= Relative humidity (%) as measured by second device, that gave higher estimates
ResponseVolatiles			= Binary variable, indicating whether the parasitoid landed on any plant (1 = it did, 0 = it did not).
Landed10sec				= Binary variable, indicating whether the parasitoid stayed on a plant for more than 10 seconds. 
HostPlantFound				= Binary variable, indicating whether the parasitoid landed on the last plant (1 = it did, 0 = it did not).
SuccessfulForaging			= Binary variable, indicating whether the parastioid succesfully parasitized a host (1 = it did, 0 = it did not).
DirectFlight				= Binary variable, indicating whether the parasitoid landed first on plant 4 out of all other plants (1 = it did, 0 = it did not).
Firstplant				= Nominal variable, indicating which plant the parasitoid landed first on.
FirstPlantTime				= Number of seconds until the parasitoid first landed on a plant.
FirstTimePlant4				= Number of seconds until the parasitoid first landed on plant 4.
SuccessfulForagingTime			= Number of seconds until the parasitoid first attacked a host.
GlassCylinder				= Number of seconds the parasitoid was in the glass cylinder (from where it was released) until it first took flight.
Freeflight				= Number of seconds the parasitoid spend flying.
Duration1/2/3/4				= Number of seconds the parastioid spend sitting/walking on respectively plant 1, 2, 3 or 4.
Duration0				= Number of seconds the parastioid was not on a plant. 
DurationTotal				= Total number of seconds the parasitoid spend on plants and on the walls, roof or floor of the wind tunnel.
Duration123				= Number of seconds the parasitoid spend on plants 1, 2 and 3 together.
AttackHost				= Binary variable, indicating whether the parasitoid attacked a host, after which observation was terminated (1 = it did, 0 = it did not).
Headbutt				= The number of headbutts by caterpillars in defense to parasitoids.
ForagingFlight1/2/3/4			= Number of seconds the parasitoid was flying around respectively plant 1, 2, 3 or 4; after finding a signal. 
ForagingFlightTotal			= Total number of seconds the parasitoid spend flying around all plants; after finding a signal. 
OnPlant1/2/3/4				= Number of seconds the parasitoid spend walking on respectively plant 1, 2, 3 or 4.
OnPlantTotal				= Total number of seconds the parasitoid spend walking on all plants.
Resting1/2/3/4				= Number of seconds the parasitoid spend resting on repsectively plant 1, 2, 3 or 4.
RestingTotal				= Total number of seconds the parasitoid spend resting on all plants. 
TraceFound1/2/3/4			= Number of seconds the parasitoid was actively searching for a host on the plant on respectively plant 1, 2, 3 or 4.
TraceFoundTotal				= Total number of seconds the parasitoid spend actively searching for a host on the plant on all plants together.
Wall					= Number of seconds the parastioid spend sitting/walking on the walls, roof or floor of the wind tunnel.