I would like to calculate the total matter power spectrum from RAMSES snapshots.
I am currently doing the following:
from the known position of DM particles, I calculate DM density field using CIC interpolation
since I know the gas density field at some AMR level, I calculate the total matter overdensity field as a mass-weighted sum
𝛿_{𝑚} = 𝑓_{𝑑𝑚} 𝛿_{𝑑𝑚} + 𝑓_{𝑏} 𝛿_{𝑏} ,
with
𝑓_{𝑑𝑚} = Ω_{𝑑𝑚} / Ω_{𝑚},
𝑓_{𝑏} = Ω_{𝑏} / Ω_{𝑚}
Compute the power spectrum
I would like to ask if this procedure is correct. Apologies about the display of the previous message.