Flight data were obtained experimentally during Winter 2020 using field collected J. haematoloma from Florida as the model insects (Bernat, A. V. and Cenzer, M. L. , 2020, unpublished data). Representative flight trials were conducted in the Department of Ecology and Evolution at the University of Chicago, as shown below in Figure 6, Figure 7, Figure 8, and Figure 9. The flight mill was set up within an incubator set to 28 °C/27 °C (day/night), 70% relative humidity, and a 14 h light/10 h dark cycle. For each trial, the flight track of multiple bugs was recorded every hundredth of a second by the WinDAQ software for up to 24 h. After preliminary trials, flight behavior was categorized into bursting flight and continuous flight. Bursters flew sporadically for less than 10 min at a time, and continuous flyers flew uninterrupted for 10 min or longer. Any individual that did not exhibit continuous flight behavior within its 30 min testing phase was pulled off the flight mill and replaced with a new bug and its accompanying ID in an event marker comment. All bugs that exhibited continuous flight remained on the flight mill beyond 30 min until they stopped flying. Bugs were swapped from 8 AM to 4 PM each day. As represented in Figure 9, flight trials of individuals in a day's recording varied in length from 30 min to 11+ h. By inserting event markers at the addition of new individuals, this complex data structure becomes successfully processed through the Python scripts, and the code effectively helps users visualize the scope of their experiments. The proposed experimental setup captures the full flight capacity of insects; however, it omits the possibly of observing flight periodicity. Users then have the option to tailor their flight trials for different flight metrics and choose which flight behavior or strategies they most wish to test.
The on-screen waveform and diagnostic heatmap(s) also make it possible to identify gaps or resolve inconsistencies in the flight track data. Figure 6A shows a set of trials whose flight data were successfully recorded for all channels without noise or disruption. It also shows all the event marker comments made during recording. Figure 6B shows a moment where the recorded signal was lost in channel 3, dropping the voltage immediately to 0 V. This was possibly due to the crossing over of open wires or the loosening of wires. There are also particular events during recording that could occur but are corrected for in the Python scripts. This includes double troughs, mirror troughs, and voltage noise (Figure 6C,D). These events lead to false trough readings, but they can reliably be identified and removed during analyses. Figure 7 compares three data files to show how noise or sensitive troughs in the recording data were diagnosed during the standardization process. The first (Figure 7A) is a file whose troughs generated by each revolution of the flight mill arm were robust, meaning they largely deviated from the file's mean voltage. In turn, as the standardization interval around the mean increased, there was no change in the number of troughs identified. This suggested that there was no voltage noise, and the user can then be confident in the accuracy of the standardization. On the other hand, the third file (Figure 7C) had troughs that were either too sensitive or had extraneous voltage noise that did not deviate largely from the file's mean voltage. As a result, its number of troughs decreased substantially as the standardization interval around the mean increased. It would then be advisable to look back into the original WDH recording file to confirm whether the insect was truly flying.
By plotting the flight speed and duration statistics of the individual, flight behavior can be further characterized into four flight categories: bursts (B), bursts to continuous (BC), continuous to bursts (CB), and continuous (C), as represented in Figure 8. An individual that strictly exhibited continuous flight flew uninterrupted for 10 min or more at least by the end of its 30 min testing phase (Figure 8A). An individual that flew sporadically throughout its 30 min testing phase exhibited bursting flight (Figure 8B). An individual that initially exhibited continuous flight for more than 10 min and then tapered within its 30 min testing phase into sporadic bursts exhibited continuous to bursting flight (Figure 8C). Finally, an individual that initially demonstrated bursting flight and then transitioned into continuous flight for the remainder of the 30 min testing phase and beyond exhibited bursting to continuous flight (Figure 8D). Thus, specific to the model insect and experimental framework, the user can use this graphic output to assess and identify general flight behavior patterns despite unique variations in individual tracks.

Figure 1: Designs to be laser cut for acrylic plastic sheet structure. Eight acrylic plastic sheets were laser cut in order to construct the plastic support structure of the flight mill. File lines were created in Adobe Illustrator in RGB mode, where RGB Red (255, 0, 0) cut lines and RGB Blue (0, 0, 255) etched lines. For greater legibility in this figure, file line strokes were increased from 0.0001 point to 1 point. Coordinate units are mm, and the dot in the top left corner of each design is the origin, where moving further down and to the right of the origin leads to positive ascending values. There are three different sheet designs: the outside vertical walls, a central vertical wall, and horizontal shelves. The two outside vertical walls slide into the horizontal shelves at their slits, and their rectangular holes are used to mount the 3-D printed linear guide rail, blocks, and supports. There is one central vertical wall with slits that divides the flight mill into eight cells and provides additional structural support. There are also five horizonal shelves with slits, etched circles to mark the location of the magnetic tube supports, and small rectangular holes to allow the tube supports to be screwed in. Please click here to view a larger version of this figure.

Figure 2: Assembled flight mill. A) Flight mill assembly. Each horizonal shelf (HS) has been inserted into the open slits of the outside vertical walls (OW) and central vertical wall (CW). Moreover, each cell, or 'chamber', is identified with a channel letter (A or B) that corresponds to a data logger and a channel number (1-4) that corresponds to the channel on the specific data logger. B) Flight mill cell assembly with flight mill arm. Magnetic bearings can be raised or lowered by sliding the inner tubes within the outer tubes to adjust the height of the arm. The IR sensors can be also be raised or lowered to align the sensors with the height of the flag on the arm. IR sensors can also be removed from their linear guide rail blocks easily if they need to be replaced or inspected or if the flight mill needs to be transported. Cross brackets provide structural support for each acrylic cell and can be easily inserted and removed. C) Linear guide rail and block assembly in the cell window. All 3D components and respective screws in the cell window are labeled for clearer assembling. Please click here to view a larger version of this figure.

Figure 3: 3D printed designs. Measurements are in mm. A) Linear guide rail. B) Linear guide rail block shaped to hold an IR sensor. C) Screw used as support to replace iron screws. D) Tube support. E) Magnet support. F) Cross bracket used as an acrylic frame aligner and stabilizer. G) Long support and H) short support to keep the linear guide rails in place. Only linear guide rail supports that rest on the outside face of the acrylic wall are shown. Linear guide rail support mirrors are not shown. Please click here to view a larger version of this figure.

Figure 4: Flight mill electrical circuitry. A) Simple diagram of an electric circuit connecting the IR sensors to the data logger. When the flag on the mill arm interrupts the beam emitted by the IR sensor transmitter, the current stops flowing to the IR sensor receiver and the voltage drops to zero. The data logger records all drops in voltage. B) Electrical circuits highlighted. Each yellow box delimits the components of a circuit connected to the breadboard. Multiple electric circuits can be connected to a single breadboard in alternating rows. The size of the solderless breadboard limits how many flight cells can be accommodated. Please click here to view a larger version of this figure.

Figure 5: Insects of different sizes magnetically painted and tethered. A) Drosophila melanogaster (common fruit flies) magnetically painted and tethered. Fruit flies are small insects (body length 5 mm; mass = 0.2 mg) that need to first be anesthetized with ice or CO2 under a microscope before applying the magnetic paint to their thorax. B) Mismatch between insect size and magnet size. The magnet on the flight mill arm should best accommodate the size of the insect. Here the insect's field of vision is obstructed because the magnet is too large. A smaller conical magnet or magnetic strip would solve this mismatch. C-F) Oncopeltus fasciatus (milkweed bugs) and Jadera haematoloma (soapberry bugs) magnetically painted and tethered. Larger bugs (body length > 5 mm; mass > 0.1 g) can be pinched by their legs before applying a coat of paint on their thorax. Please click here to view a larger version of this figure.

Figure 6: Examples of WDH flight recordings. Voltage troughs represent complete revolutions of the flight mill's arm. The red dotted lines divide the display, and the seconds-per-division (sec/div) of each panel are highlighted in blue. Black vertical lines mark the cursor time. A) Event markers. The sec/div was changed from 0.2 sec/div to its max, allowing the entire waveform to be drawn across the screen. All event markers taken across all channels will only be visible in the first channel as lines that run from the max voltage to the bottom of the channel field window. All event makers for this recording set are within the yellow oval. B) Signal loss. In another recording set, the sec/div was changed from 0.2 sec/div to 15 sec/div to help visualize a recorded signal lost from 17:09 to 17:15 in channel 3. All other channels such as channel 4 continued to function properly. C) Double troughs and mirror troughs. Double troughs are when the voltage dips, rises, and then quickly dips and rises again to create what appears to be two merged troughs in one beam-breaking event. The double troughs also mirror one another, which suggests that the flag moved back and forth between the sensor, which usually happens when an insect stops flying. The Python scripts correct for each case. D) Voltage noise. Soon after 13:14, small bumps in the voltage can be seen, which suggest voltage noise in the recording. Please click here to view a larger version of this figure.

Figure 7: Representative trough diagnostic data from Jadera haematoloma (soapberry bug). Potential noise or overly sensitive troughs are readily recognized in the flight recordings. A) An optimal, robust recording from example individual 318. There was no change in the number of troughs as the minimum and maximum deviation values increased, and so the troughs were robust enough to be identified despite a large standardization interval. B) A sub-optimal, but still robust recording from example individual 371. There is a drop in the number of troughs as the minimum and maximum deviation values increased; however, the drop was minimal (11 troughs). There could be noise and some sensitive troughs but nothing substantial. C) A noisy recording from example individual 176. There is a clear and rapid drop in the number of troughs identified as the minimum and maximum deviation values increased until its number plateaus at 12 troughs. This signals a lot of potential noise or overly sensitive troughs while the 12 troughs remain as robust troughs. Please click here to view a larger version of this figure.

Figure 8: Representative flight data from Jadera haematoloma (soapberry bug). Four categories of flight behavior can be identified in the flight recordings. A) Continuous flight. This individual flew continuously for 1.67 h, beginning at high speeds and then tapering over time into lower speeds. B) Bursting flight. This individual flew only in bursts within the first 30 min of their trial. Bursters can reach high speed but this individual could only retain low speeds. C) Continuous to bursting flight. This individual had maintained continuous flight for 25 min and then tapered off into bursts for the remaining 5 min of their trial. D) Bursting to continuous flight. This individual begun as a burster, reaching high sporadic speeds, and then transitioned into continuous flight for about 4 h. Please click here to view a larger version of this figure.

Figure 9: Representative channel visualization of multiple flight trials within a single recording set. Each color represents an individual soapberry bug at its given channel letter and channel number during its trial. All start times, stop times, and filenames were extracted from each individual's unique flight track .txt file. Please click here to view a larger version of this figure.
Supplemental Figure 1: Kerf key. Kerf is the thickness of the material removed or lost in the process of cutting that material. For a laser cutter, two important factors will determine the width of the kerf: the beam width and the material type. To test and calculate the exact kerf, laser cut the key and fit the 20 mm width key into the slot that it fits most securely. Then, subtract the slot width value from the key width value. For example, a key with a width of 20 mm that fits into a 19.5 mm slot will have a kerf thickness of 0.5 mm. Please click here to download this File.
Supplemental Figure 2: Comparison of low sampling frequencies. A) Relationship between voltage drop and speed by sampling frequency. Each line color and point shape represents a sampling frequency (100 Hz, 75 Hz, 50 Hz, and 25 Hz). Voltage drop is synonymous with the size of the trough. Lines fit second order regressions, which describe the decrease in trough size as speed increases and the following rise in trough size at higher speeds. The shaded bar runs from 0 V to 0.1 V, which marks the voltage range in which noise occurs. Data were collected on cell B-4 using the WinDAQ recording software and with foil flag dimensions 30 mm length by 30 mm width. The flight mill arm was spun rapidly by hand and left to spin until it stopped moving. Sampling frequencies 25 Hz or lower are in danger of misidentifying troughs as noise during standardization and diagnostic tests. Sampling frequencies of 100 Hz or higher are especially robust at recording large troughs for speeds less than 1 m/s. B) Trough sizes of different sampling frequencies seen through the waveform. As the sampling frequencies decrease, their representation on the waveform also shrinks. Please click here to download this File.
Supplemental Figure 3: Flowchart of the functions and data structures of each Python script. An overview of the inputs, functional processes, and outputs of each Python script for the proposed flight mill is summarized and described through examples. Please click here to download this File.
Supplemental 3D Print. Please click here to download this File.
Supplemental Coding Files. Please click here to download this File.