Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agora tSZ and kSZ in PySM #186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Agora tSZ and kSZ in PySM #186

wants to merge 2 commits into from

Conversation

kmsurrao
Copy link

Fixes bug in sky.py that appears when using a custom config file

if self.sz_type == "kinetic":
path = "/Users/kristen/Documents/GitHub/ACT-Simulations/agora/agora_lkszNGbahamas80_nside8192_uk.fits"
elif self.sz_type == "thermal":
path = "/Users/kristen/Documents/GitHub/ACT-Simulations/agora/agora_ltszNGbahamas80_nside8192_uk.fits"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmsurrao are those maps already available publicly? if not can you copy them to NERSC in a folder accessible by the cmb group?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, these maps are publicly available here under tSZ and kSZ in "Simulation Products"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmsurrao I tried logging in both with my globus ID and with my NERSC account but get access denied.
Can you copy the maps to NERSC in a folder accessible to the cmb group?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmsurrao also, are the units uK_CMB?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the maps are in uK_CMB. Hmm this is strange, I now get access denied too. I'll look into this and get back to you

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yuuki should confirm but i think the globus link is pointing either to UChicago / Argonne computers.

@zonca
Copy link
Member

zonca commented Jul 23, 2024

@kmsurrao can you also please provide a documentation file, organized like websky.rst, with a general introduction about Agora with link to paper and website, and then some more details about SZ in agora.

@zonca
Copy link
Member

zonca commented Aug 22, 2024

@kmsurrao any updates? I would like to get this included in PySM by mid-September.

@kmsurrao
Copy link
Author

I sent an email to Yuuki about accessing the unlensed maps, will add the details once I hear back

@zonca
Copy link
Member

zonca commented Sep 6, 2024

I sent an email to Yuuki about accessing the unlensed maps, will add the details once I hear back

is there maybe another collaborator that has access to those data products?

@kmsurrao
Copy link
Author

kmsurrao commented Sep 8, 2024

I heard back from Yuuki, who said that there was a permissions error that he fixed, so the maps are at https://app.globus.org/file-manager?origin_id=b8531b9d-8e52-4dee-a36c-0a9e77d8898c&origin_path=%2F and then we should navigate to /components/tsz/unl/ and /components/ksz/unl/ for unlensed maps of tSZ and kSZ, respectively. I am able to access them now! Let me know if you want me to copy them to NERSC or re-make any of the notebooks with these unlensed maps.

@zonca
Copy link
Member

zonca commented Sep 11, 2024

@kmsurrao can you also please provide a documentation file, organized like websky.rst, with a general introduction about Agora with link to paper and website, and then some more details about SZ in agora.

@kmsurrao
Copy link
Author

Yes, I'll aim to send this by the end of the week

@kmsurrao
Copy link
Author

Please see below. I've copied the contents of the agora.rst file and attached the relevant plots.

.. _agora:

AGORA


The Agora suite of simulated extragalactic component maps, determined from halo catalogues and particles from the Multidark-Planck2 (MDPL2) 𝑁-body simulations, and calibrated with hydrodynamic simulations and public data, can be read into PySM as precomputed external fits files using InterpolatingComponent. More information can be found in Omori (2023) <https://arxiv.org/pdf/2212.07420>, and selected maps and halo catalogs are available from the AGORA globus <https://app.globus.org/file-manager?origin_id=b8531b9d-8e52-4dee-a36c-0a9e77d8898c&origin_path=%2F> and website AGORA website <https://yomori.github.io/agora/index.html>_. Agora assumes the MDPL2 cosmology.

Thermal SZ Effect

tSZ maps are generated by inferring electron pressure profiles from a hydrodynamic simulation, and pasting the profile onto halos with mass $$M_h &gt; 10^{12}h^{-1}M_{\odot}$$ in the lightcone. Fits are done to the BAHAMAS simulations. For more details, see Sec. 3.3 of Omori 2023. The map included here is based on the Mead et al. 2020 model with AGN heating temperature $$10^{8.0}$$ in the BAHAMAS simulation. The map implemented here is found in the AGORA globus, in /components/tsz/unl/.

.. image:: agora_comptony.png
:width: 600

Kinetic SZ Effect

Provided is a map of the temperature fluctuation due to line of sight peculiar velocities of electrons along the line of sight. The gas profiles from the tSZ modeling are used to estimate the electron number density, which is then multiplied with the pixelized particle velocity maps. The differential temperature maps are integrated up to 𝑧 = 3. For more details, see Sec. 3.4 of Omori 2023. The map implemented here is found in the AGORA globus, in /components/ksz/unl/.

.. image:: agora_ksz.png
:width: 600

agora_comptony
agora_ksz

@zonca zonca changed the title bug fix for custom config file Agora' tSZ and kSZ in PySM Dec 17, 2024
@zonca zonca changed the title Agora' tSZ and kSZ in PySM Agora tSZ and kSZ in PySM Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants