Skip to content

dwhan89/cosmikyu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Cosmikyu

Cosmikyu is a software stack to generate full-sky extragalactic foreground simulations of the microwave sky. At its core, cosmikyu includes three separate Generative Adversarial Networks (GAN) for (1) data augmentation, (2) image-to-image translation, and (3) image enhancement. Furthermore, it implements utility functions to "touch up" the raw outputs from the GAN networks. Cosmikyu is used to generate results for Han et al. 2021 (https://arxiv.org/abs/2105.11444)
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. References
  6. License
  7. Contact
  8. Acknowledgements

About The Project

Schematic of Overall Procedure

schematics

Shown is a schematic of the overall procedure to train MillimeterDL network and generate the output maps from the input data. The network is represented by the shaded gray box in the center. Our procedure starts with the Primary Input Data consisting of 200,000 1 x 1 sq deg. overlapping patches cut out from Sehgal et al. 2010 simulations. The pink boxes represent the three major training steps described in Section III of Han et al. 2021 The blue boxes represent inputs into each training step. The dark grey arrows indicate the input and output of each step. Once the network training is completed, we feed full-sky Gaussian kappa maps and unlensed CMB maps (T, Q, U) into the network (top green box); given these inputs, the network generates the final output products (bottom green box), which are full-sky millimeter-wave simulations including lensed T, Q, and U maps, non-Gaussian kappa maps, and non-Gaussian extragalactic foregrounds correlated with the kappa map and each other.

Map Level Comparision

fields

From top to bottom, shown are the lensing convergence (κ), the kinetic Sunyaev-Zel’dovich effect (kSZ), the thermal Sunyaev-Zel’dovich effect (tSZ), and the Cosmic Infrared Background (CIB) maps at 148 GHz from the S10 simulations (left column) and from the network (right column). A flux cut of 7 mJy at 148 GHz is applied to the CIB maps. Full-sky maps are shown in the Mollweide projection in the background, while center panels show zoom-ins of 1 x 1 sq deg. patches. All maps have the units of µK, except for the κ map which is dimensionless. Note that Sehgal et al. 2010 simulations are unique for only one octant of the sky; on the other hand, the network simulations do not have any repeated tiles.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • python modules
    pip install -r requirements.txt

Installation

  1. Clone the repo
    git clone https://github.com/dwhan89/cosmikyu.git
  2. Install cosmikyu packages
    pip install .

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

References

@ARTICLE{Han2021,
       author = {{Han}, Dongwon and {Sehgal}, Neelima and {Villaescusa-Navarro}, Francisco},
        title = "{Deep learning simulations of the microwave sky}",
      journal = {\prd},
     keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics},
         year = 2021,
        month = dec,
       volume = {104},
       number = {12},
          eid = {123521},
        pages = {123521},
          doi = {10.1103/PhysRevD.104.123521},
archivePrefix = {arXiv},
       eprint = {2105.11444},
 primaryClass = {astro-ph.CO},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2021PhRvD.104l3521H},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{Sehgal2010,
       author = {{Sehgal}, Neelima and {Bode}, Paul and {Das}, Sudeep and {Hernandez-Monteagudo}, Carlos and {Huffenberger}, Kevin and {Lin}, Yen-Ting and {Ostriker}, Jeremiah P. and {Trac}, Hy},
        title = "{Simulations of the Microwave Sky}",
      journal = {\apj},
     keywords = {cosmic microwave background, galaxies: clusters: general, galaxies: general, intergalactic medium, large-scale structure of universe, methods: N-body simulations, Astrophysics - Cosmology and Nongalactic Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
         year = 2010,
        month = feb,
       volume = {709},
       number = {2},
        pages = {920-936},
          doi = {10.1088/0004-637X/709/2/920},
archivePrefix = {arXiv},
       eprint = {0908.0540},
 primaryClass = {astro-ph.CO},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2010ApJ...709..920S},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

License

Distributed under the APATCH-2.0 License. See LICENSE for more information.

Contact

Your Name - @dwhan89

Project Link: https://github.com/dwhan89/cosmikyu

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published