Research Blog
Welcome to my Research Blog.
This is mostly meant to document what I am working on for myself, and to communicate with my colleagues. It is likely filled with errors!
This project is maintained by ndrakos
In this post, I am testing I have the algorithm working for assigning neutrino particles velocities (see this post).
Here is my python code:
This shows the division of the Fermi-Dirac distribution (\(f(p)\)) into equal-mass shells. The solid vertical lines show the edges of the shells, and the dotted lines are the momentum value (in dimensionless units \(pc/kT\)) for each shell.
Here are the directions for each \(12N_{\rm side}^2\) particles for each momentum. The plot shows the x,y,z components on a unit sphere.
This all looks good! There are then \(N_{\rm shell} \times 12N_{\rm side}^2\) neutrino particles for every grid point. For now I tested the code Python, but I’m going to convert it to C, since that is what MUSIC is written in. We will have to decide if we are using healpix to divide the unit sphere into equal area elements, or if we don’t want to include that dependance in the code.