Skip to main content

No project description provided

Project description

Tools21cm

License DOI GitHub Repository CI status PyPI version Read the Docs

A python package for analysing simulated 21-cm signal during the Epoch of Reionization (EoR) and Cosmic Dawn (CD). Full documentation (with examples, installation instructions and complete module description) can be found at readthedocs.

Package details

The package provides tools to analyse cosmological simulations of EoR and CD. It contains modules to create mock 21-cm observations for current and upcoming radio telescopes, such as LOFAR, MWA and SKA, and to construct statistical measures.

Input

Currently, Tools21cm supports the following simulation codes:

Outputs

There are various manipulation and analysis moduled in Tools21cm.

  • Angular coordinates: methods to convert data between physical (cMpc) coordinates and observational (angular-frequency) coordinates
  • Bubble Statistics: methods to calcluate the sizes of the regions of interest and estimate the size distributions
  • Cosmological calculators: various functions for calculating some cosmological stuff
  • Identifying regions: methods to identify regions of interest in images
  • Lightcone: methods to construct lightcones
  • Power spectrum: contains functions to estimate various two point statistics
  • Reading simuation outputs: methods to read simulations outputs
  • Smoothing: methods to smooth or reduce resolution of the data to reduce noise
  • Point statistics: contains various useful statistical methods
  • Temperature: methods to estimate the brightness temperature
  • Radio telescope noise:
    • simulate the radio telescope observation strategy
    • simulate telescope noise
  • Topology: methods to estimate the topology of the region of interest
  • Foreground model: methods to simulate and analyse the foreground signal for 21 cm signal

For detail documentation and how to use them, see here.

Under Developement

  • Radio telescope beam:
    • simulate the sensitivity and evolution of the primary beam
    • simulate the impact of side-lobes

INSTALLATION

Before installing this package, please make sure that cython and numpy are installed. One can install a stable version of this package using pip by running the following command::

pip install tools21cm

This package is being actively under-development, which involves addition of new modules and bug fixes. In order to use the latest version, one can clone this package.

To install the package from source, one should clone this package running the following::

git clone https://github.com/sambit-giri/tools21cm.git

To install the package in the standard location, run the following in the root directory::

python setup.py install

In order to install it in a separate directory::

python setup.py install --home=directory

One can also install the latest version using pip by running the following command::

pip install git+https://github.com/sambit-giri/tools21cm.git

The dependencies should be installed automatically during the installation process. If they fail for some reason, you can install them manually before installing tools21cm. The list of required packages can be found in the requirements.txt file present in the root directory.

Tests

For testing, one can use pytest or nosetests. Both packages can be installed using pip. To run all the test script, run the either of the following::

python -m pytest tests

nosetests -v

📖 Citation

If you use tools21cm in your work, please cite the following paper:

Giri, S., Mellema, G., & Jensen, H. (2020). Tools21cm: A python package to analyse the large-scale 21-cm signal from the Epoch of Reionization and Cosmic Dawn. Journal of Open Source Software, 5(52), 2363.
https://doi.org/10.21105/joss.02363

BibTeX:

@article{giri2020tools21cm,
  title={Tools21cm: A python package to analyse the large-scale 21-cm signal from the Epoch of Reionization and Cosmic Dawn},
  author={Giri, Sambit and Mellema, Garrelt and Jensen, Hannes},
  journal={Journal of Open Source Software},
  volume={5},
  number={52},
  pages={2363},
  year={2020},
  publisher={Open Journals}
}

CONTRIBUTING

If you find any bugs or unexpected behavior in the code, please feel free to open a Github issue. The issue page is also good if you seek help or have suggestions for us. For more details, please see here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tools21cm-2.4.1.tar.gz (69.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tools21cm-2.4.1-cp311-cp311-macosx_11_0_arm64.whl (54.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tools21cm-2.4.1-cp310-cp310-macosx_11_0_arm64.whl (54.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file tools21cm-2.4.1.tar.gz.

File metadata

  • Download URL: tools21cm-2.4.1.tar.gz
  • Upload date:
  • Size: 69.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for tools21cm-2.4.1.tar.gz
Algorithm Hash digest
SHA256 0fee1d19c07b2b3af3c402ccc09dafe4c3cf6dab0dc25856e1668f3cc5db2d63
MD5 992c2d1e72f1d7689dfdb948e67debf5
BLAKE2b-256 2de1a5fcdf156bb02f80df89b15f6d648ba5b661c214a01d5b69624c5709d51a

See more details on using hashes here.

File details

Details for the file tools21cm-2.4.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tools21cm-2.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54d943eea2c3c7877050b8c74c4dd96c8508fc9acfaded8422d81215e8fc8772
MD5 c5d8b21e520a42a8ba73170f3264501c
BLAKE2b-256 c4ca2a2dd6d14ada03d6ab6662eea336dcf4bb09664d1f5c62de022b7906e7ed

See more details on using hashes here.

File details

Details for the file tools21cm-2.4.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tools21cm-2.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a767b18eba47dcbe5c26397ea017aedbec6c28dc4a1b53e9c45dc53283d52add
MD5 4dee98788feb75a42a390c5d5e9f1ad1
BLAKE2b-256 c009f717fa4c4a6e709edca5d48ab75e654971c832d706c0f448b61932ee81a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page