galsci / pysm

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments
https://pysm3.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
36 stars 23 forks source link

bug fix for custom config file #186

Open kmsurrao opened 4 months ago

kmsurrao commented 4 months ago

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

zonca commented 4 months ago

@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 commented 3 months ago

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

kmsurrao commented 3 months ago

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

zonca commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

@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 commented 2 months ago

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

kmsurrao commented 2 months ago

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 $$Mh > 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