Matter P(k)

4 views
Skip to first unread message

Nick Samaras

unread,
Jan 14, 2026, 4:53:21 PM (7 days ago) Jan 14
to ramses_users
Hi,
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.

Nick Samaras

unread,
Jan 14, 2026, 4:54:28 PM (7 days ago) Jan 14
to ramses_users

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.

Reply all
Reply to author
Forward
0 new messages