Extracting merger fraction from clusters at different snapshots

Jasmine Fitzsimons
  • 4
  • 10 Mar

Hello! I have written a code to extract the major merger fraction within each cluster at a particular snapshot. I my code is returning that no mergers happen between snapshots 98-99 and 97-98 which I don't think it possible. I apologize in advance as there is a lot of code to wade through but if anyone has the time I would greatly appreciate a second set of eyes - I have been working for this code for a long time and can't seem to figure out what is wrong with it.

I have a feeling it has something to do with the merger_frac_generator function.

Here is the pdf:
https://data-eu.tng-project.org/lab/user/jasmine.fitzsimons@mail.mcgill.ca/nbconvert/pdf/CLUSTERS_HIST_ALL.ipynb?download=true

and here is the code:
https://data-eu.tng-project.org/lab/user/jasmine.fitzsimons@mail.mcgill.ca/files/CLUSTERS_HIST_ALL.ipynb?_xsrf=2%7C820ae76d%7C562f2c16294f9bdf1b9809117da98e27%7C1773094252

Dylan Nelson
  • 10 Mar

Just a note that you cannot post links like that into your Lab, no one else can see those files.

I think it's unlikely that anyone (other than you, or your advisor) can look at a large code and spot a potential issue. Perhaps a good idea is to try to simplify things as much as possible.

Jasmine Fitzsimons
  • 6
  • 12 Mar

Ok I think I resolved the issue - I am getting pretty consistent merger frequencies from for snaps 90-97 but for mergers happening between 98-99 I am getting 0 merger frequency - do you have an idea as to why this could be?

  • Page 1 of 1