Calculating rotation measure for TNG 100-1 subhalo
Nikita Agarwal
16 Dec '21
Hi Dylan,
I have plotted a particular subhalo as a function of its density parameter (TNG 100-1 catalog).
Kindly request you to help me with the below queries:
1. How can I calculate the rotation measure value of the subhalo with the TNG 100-1 data available.
2. I have made my plot with the gas_pos[:,0] as x coordinates and gas_pos[:,2] as y coordinates. How can I find at what slice value of gas_pos[:,1] is the figure plotted?
(1) Do you mean the Faraday rotation measure? Then you will have to try to follow the mathematical definition of this quantity to calculate it. I'm afraid I don't have a simple solution to offer.
(2) If you create a 2D histogram of "x" versus "z" simulation coordinates versus each other, as you have done, and ignore the "y" coordinate, then you have effectively made a projection along this direction, including all cells (which you have loaded), regardless of their y-coordinate. Note that calculating a column density (summing masses, then dividing by the pixel area) may make more physical sense than calculating a sum of densities.
Nikita Agarwal
19 Dec '21
Dear Dylan,
Thank you for your inputs.
Will try this and reach out if I have further queries.
Kind regards,
Nikita
Nikita Agarwal
21 Dec '21
Dear Dylan,
Since in a 3D space, Density is a function of x,y,z is there any way to obtain 3D data separately for density for each of x,y, and z in TNG 100-1? Similarly, is there a way to obtain 3D data for Electron Abundance, Neutral Hydrogen Abundance, and for each component of Velocity?
Kind regards,
Nikita
Dylan Nelson
21 Dec '21
Dear Nikita,
You should think of the gas cells in the snapshot as a scattered point set, which provides samples of gas properties (including all those you mentioned, please see documentation) at x,y,z positions in space (given by the Coordinates dataset).
Hi Dylan,
I have plotted a particular subhalo as a function of its density parameter (TNG 100-1 catalog).
Kindly request you to help me with the below queries:
My code is as :
My output is:
Kind regards,
Nikita
Dear Nikita,
(1) Do you mean the Faraday rotation measure? Then you will have to try to follow the mathematical definition of this quantity to calculate it. I'm afraid I don't have a simple solution to offer.
(2) If you create a 2D histogram of "x" versus "z" simulation coordinates versus each other, as you have done, and ignore the "y" coordinate, then you have effectively made a projection along this direction, including all cells (which you have loaded), regardless of their y-coordinate. Note that calculating a column density (summing masses, then dividing by the pixel area) may make more physical sense than calculating a sum of densities.
Dear Dylan,
Thank you for your inputs.
Will try this and reach out if I have further queries.
Kind regards,
Nikita
Dear Dylan,
Since in a 3D space, Density is a function of x,y,z is there any way to obtain 3D data separately for density for each of x,y, and z in TNG 100-1? Similarly, is there a way to obtain 3D data for Electron Abundance, Neutral Hydrogen Abundance, and for each component of Velocity?
Kind regards,
Nikita
Dear Nikita,
You should think of the gas cells in the snapshot as a scattered point set, which provides samples of gas properties (including all those you mentioned, please see documentation) at x,y,z positions in space (given by the Coordinates dataset).