Anders Eriksson

View Profile

Fluorescence histogram

on Monday, January 27th, 2020 1:48

Proof of concept. I was playing around with ImageJ and found that there is a built in function already that does analyze the fluorescence intensity. I am just not sure exactly what it tells us. This is only as far as I have gotten yet.
The image below is the one I used.

Dwelling Time

on

The code generates the dwelling time for each period as well as the median dwelling time for each period. The code has also been implemented on grouped data but it only generates graphs for one of the groups, not both. Currently investigating why

Just gloating here

Valence and dopamingergic neurons

on

I have been sorting and feeding flies ATR (in total about 7400 flies divided between 170 vials). Emer has been conducting the experiments during the previous week continuing this week.
Including the flies from today we have a total of 172 experiments divided between 7 experimental groups. Including the data from the Turkish students it is well over 230.

I looked at the control experiments and they look as expected. Perhaps even better than what the Turkish students had.

Optomotor response

on

Slowly are we getting closer to getting a optomotor response
I made the following changes

  • Glued flies to a needle rather than the plastic optic fiber
  • Head of fly was not glued, the fly was able to rotate its head
  • I put focus on making sure to get the fly as straight as possible
  • Contrast between black and white was increased
  • The light was adjusted to increase the brightness within the arena
There is an optomotor response but it is entirely generated from just one single fly, the remaining 4 flies had no OR.

New FPGA software

on Monday, January 20th, 2020 2:02

Optomotor Response not really working

on
  • Other projects I have been working on this week
  • Working out the new FPGA software for Flight simulator
  • Collecting flies for Optogenetics Experiment
  • Implementing dwelling times in DTS R script
  • Implementing Metadata comparison in R script
  • Grant writing

Updates on Optomotorics and DTS evaluation

on Monday, December 16th, 2019 1:57

DTS: The graph below is an example image of how color according to category looks like. The output now adds a unique color for each category. The one below has three different colors as the pretest phase does not use any pattern and is therefor read as its own category.

Optomotorics: The software worked as it should although it had a couple of issues. Wrong information in xml sheet was one of them: this is now fixed so that it enters duration as seconds and the correct terms for a_pos and j_pos are used

The other issue was that at the end of the experiment about 40-50 data points were missing/removed. My speculation was that this either had to do with data being removed at the end of the experiment or that it ended prematurely. Turns out that the later was the cause.

As simple as it might seem, there was a lot of investigation to find this bug. To fix this I simply had to replace
if curr_count >= self.test_time() - 100:
with
if curr_count >= self.test_time() - 30:

Preliminary results from MBON screen and habit formation

on Monday, September 23rd, 2019 1:52

The different MBON types and their averaged preference index for Test2/3 during isolated operant component in the flight simulator. Each letter corresponds to a randomized MBON subtype. All but one is being displayed due to low sample size.

The FPGA does not measure at the preset 60hz, but rather at 60.41hz

on Monday, August 12th, 2019 3:23
Time [s]100200300400500
Nr of datapoints604012082181242416430205
Hz60,4160,4160,4133360,4160,4

At a set frequence of 60Hz the FPGA overshoots the measurement with .41hz. For a 25 minute experiment as above this means an extra 10.25 seconds.

No pattern in time difference spikes, but they seem to coincide with timediff decreases

on Tuesday, July 30th, 2019 10:38

The histogram plotting the time differences in the data collection from the FPGA showed that an absolute majority of the data was collected with the set frequency, 60hz. There were a few outliers from these 16ms and to find out if these spikes occurred with any kind of pattern I plotted the time differences over time. While the increases seems to appear seemingly random, most time diff increases also seem to be accompanied with a time diff decrease.

Periods without laser has more data collection points