-
Notifications
You must be signed in to change notification settings - Fork 6
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 #16 from Cosmoglobe/joss
Add paper directory for JOSS listing. Add SciPy as a direct dependency
- Loading branch information
Showing
9 changed files
with
488 additions
and
137 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, workflow_dispatch] | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,3 +172,5 @@ settings.json | |
#files | ||
test.py | ||
context.py | ||
|
||
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
Large diffs are not rendered by default.
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,89 @@ | ||
--- | ||
title: 'ZodiPy: A Python package for zodiacal light simulations' | ||
tags: | ||
- Python | ||
- astronomy | ||
- cosmology | ||
- zodiacal light | ||
- interplanetary dust | ||
authors: | ||
- name: Metin San | ||
orcid: 0000-0003-4648-8729 | ||
equal-contrib: true | ||
affiliation: "1" | ||
affiliations: | ||
- name: Metin San, PhD. Fellow, University of Oslo, Norway | ||
index: 1 | ||
date: 10 April 2024 | ||
bibliography: paper.bib | ||
|
||
# Optional fields if submitting to a AAS journal too, see this blog post: | ||
# https://blog.joss.theoj.org/2018/12/a-new-collaboration-with-aas-publishing | ||
# aas-doi: 10.3847/xxxxx <- update this with the DOI from AAS once you know it. | ||
# aas-journal: Astrophysical Journal <- The name of the AAS journal. | ||
--- | ||
|
||
|
||
# Summary | ||
`ZodiPy` is an Astropy-affiliated Python package for zodiacal light simulations. | ||
Its purpose is to provide the astrophysics and cosmology communities with an | ||
accessible and easy-to-use Python interface to existing zodiacal light models, | ||
assisting in the analysis of infrared astrophysical data and enabling quick and easy | ||
zodiacal light forecasting for future experiments. `ZodiPy` implements the | ||
@Kelsall1998 and the @Planck2014 interplanetary dust models, which allow for | ||
zodiacal light simulations between $1.25-240\mu$m and $30-857$GHz, respectively, | ||
with the possibility of extrapolating the models to other frequencies. | ||
|
||
# Statement of need | ||
Zodiacal light is the main source of diffuse radiation observed in the infrared | ||
sky between $1-100\mu$m. The light comes from scattering and re-emission of | ||
sunlight by dust grains in the interplanetary medium. Zodiacal light is one of the | ||
most challenging foregrounds to model in cosmological studies of the Extragalactic | ||
Background Light (EBL) in the infrared sky, primarily due to its seasonal nature. | ||
|
||
Traditionally, observers of the infrared sky have had to build their own zodiacal | ||
light tools (see the | ||
[LAMBDA foreground models page](https://lambda.gsfc.nasa.gov/product/foreground/fg_models.html) | ||
for a list of existing tools). However, these programs are either | ||
only usable for specific experiments or otherwise difficult to access by requiring | ||
licensed programming languages or the use of web interfaces. Modern astronomy and | ||
cosmology pipelines are commonly built in Python due to the wide range of available | ||
high-quality tools and open-source projects and communities, such as the Astropy | ||
project [@astropy]. The lack of a general-purpose zodiacal light tool in this space | ||
was the primary motivation behind the development of the `ZodiPy` package. | ||
|
||
`ZodiPy` can be used to simulate zodiacal light for arbitrary Solar system observers, | ||
meaning that researchers no longer have to spend time developing their own tools from | ||
scratch. To use `ZodiPy`, the user is required to provide the following data: | ||
|
||
1) A sequence of pointings, either in ecliptic or galactic coordinates. These can | ||
be specified as angles on the sky or as HEALPix [@Gorski2005] pixel indices. | ||
2) A center frequency or an instrument bandpass. | ||
3) Time of observation, corresponding to the pointing sequence. | ||
4) The heliocentric ecliptic position of the observer. If the observer is located | ||
at a major Solar system object, such as the Earth or the Sun-Earth-Moon barycenter | ||
L2, the position is instead queried through the `astropy.coordinates` Solar system | ||
ephemerides. | ||
|
||
The predicted zodiacal light is then obtained by evaluating a sequence of | ||
line-of-sight integrals from the position of the observer and through a | ||
model of the three-dimensional interplanetary dust distribution. For | ||
implementation details and examples of how to apply `ZodiPy` to a real-world | ||
dataset, see @San2022. | ||
|
||
`ZodiPy` has been rapidly adopted by the astronomy community, and the package has | ||
already been used by several research projects (see @2023arXiv230617219A; | ||
@2023arXiv230617226R; @Tsumura2023; @Avitan2023; @Hanzawa2024), for instance in | ||
assisting the coming NASA Roman Space Telescope in determining its observational | ||
fields, or to modeling data obtained aboard the Hayabusa2 JAXA satellite. | ||
|
||
# Acknowledgements | ||
This work has received funding from the European Union’s Horizon 2020 research and | ||
innovation programme under grant agreement numbers 819478 (ERC; Cosmoglobe) and | ||
772253 (ERC;bits2cosmology). | ||
|
||
This project uses the following Python packages: Astropy [@astropy], NumPy | ||
[@numpy2011; @numpy2020], healpy [@Zonca2019], SciPy [@scipy2020], and jplephem | ||
[@2011ascl.soft12014R]. | ||
|
||
# References |
Oops, something went wrong.