-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from deepskies/114-document-run-sims-thoroughly
Cleaned up top-level directory, document run_sims
- Loading branch information
Showing
27 changed files
with
1,077 additions
and
763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
on: [push] | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build draft PDF | ||
uses: openjournals/openjournals-draft-action@master | ||
with: | ||
journal: joss | ||
# This should be the path to the paper within your repo. | ||
paper-path: paper/paper.md | ||
- name: Upload | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: paper | ||
# This is the output path where Pandoc will write the compiled | ||
# PDF. Note, this should be the same directory as the input | ||
# paper.md | ||
path: paper/paper.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
notebooks/outfiles/params_230920173614790725_150_233437.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
COSMOLOGY: | ||
Battaglia2012: | ||
flat: True | ||
H0: 70 | ||
Omega_m0: 0.25 | ||
Omega_b0: 0.043 | ||
sigma8: 0.8 | ||
ns: 0.96 | ||
cosmo_h: 0.7 | ||
t_cmb: 2.725 #K | ||
|
||
SURVEYS: | ||
ACTDR5: | ||
150: #Observation frequency [GHz] | ||
beam_size: 1.3 #From published survey properties | ||
noise_level: 30 #From published survey properties | ||
|
||
IMAGES: | ||
image_size: 41 | ||
pix_size: 0.5 | ||
|
||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: 'DeepSZSim: A Python code for fast, tunable Sunyaev–Zeldovich effect submap simulations' | ||
tags: | ||
- Python | ||
- cosmology | ||
- cosmic microwave background | ||
- galaxy clusters | ||
- astronomy | ||
authors: | ||
- name: Author 1 | ||
orcid: 0000-0000-0000-0000 | ||
equal-contrib: true | ||
affiliation: "1, 2" # (Multiple affiliations must be quoted) | ||
|
||
affiliations: | ||
- name: Affil 1 | ||
index: 1 | ||
- name: Affil 2 | ||
index: 2 | ||
- name: Affil 3 | ||
index: 3 | ||
date: 13 August 2023 | ||
bibliography: paper.bib | ||
|
||
|
||
--- | ||
|
||
based on: https://joss.theoj.org/papers/10.21105/joss.00388 | ||
|
||
# Summary | ||
|
||
< 10 sentences | ||
|
||
Broad context of the field. State of the art simulations for SZ effect. Need for and current lack of fast, accessible simulations for ML. Dual purpose of student training. Tunability of sims and near-term goals for ML use with Deep Skies. | ||
|
||
# Statement of need | ||
|
||
< 20 sentences | ||
|
||
Field need for well-tuned sims and ML methods. Niche our sims fill with Deep Skies, student training, and future science plans. | ||
|
||
# Features | ||
|
||
Descriptions of functions included in DeepSZSim. Figure 1: code schematic. Figure 2: Submaps, 4x4, including 1D pressure profile, 2D Compton-y map, 2D all-noise map, and 2D all+noise map. | ||
|
||
# Citations | ||
|
||
|
||
For a quick reference, the following citation commands can be used: | ||
- `@author:2001` -> "Author et al. (2001)" | ||
- `[@author:2001]` -> "(Author et al., 2001)" | ||
- `[@author1:2001; @author2:2001]` -> "(Author1 et al., 2001; Author2 et al., 2002)" | ||
|
||
|
||
# Acknowledgements | ||
|
||
We acknowledge the Deep Skies Lab as a community of multi-domain experts and collaborators who’ve facilitated an environment of open discussion, idea-generation, and collaboration. This community was important for the development of this project. | ||
|
||
# References |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[tool.poetry] | ||
name = "simsz" | ||
version = "0.1.0" | ||
description = "code for fast simulations of galaxy clusters" | ||
authors = ["Eve Vavagiakis"] | ||
license = "LICENSE.txt" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
camb = "^1.4.0" | ||
h5py = "^3.8.0" | ||
numpy = "^1.24.3" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^7.3.1" | ||
pytest-cov = "^4.0.0" | ||
|
||
pymaster = { version = "^1.5", optional = true } | ||
[tool.poetry.extras] | ||
pymaster = ["pymaster"] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
import simsz.make_sz_cluster as make_sz_cluster | ||
|
||
try: | ||
from simsz.filters import get_tSZ_signal_aperture_photometry | ||
from simsz.utils import Mpc_to_arcmin | ||
except ModuleNotFoundError: | ||
pass |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.