Skip to main content

Exploring the Cosmos with Hydrogen Observation

Project description

Overview

Name:

Exploring Cosmos with Hydrogen Observation

Author:

Shikhar Mittal

Paper:

Mittal (2025)

Why do you need this code?

Use this code to generate the global 21-cm signal(s) for a given set of astrophysical and cosmological parameters.

Read more about it in the paper Mittal (2025).

Installation and requirements

This package can be installed as

pip install echo21

We recommend working on a Python version > 3.8. Packages required are

  • numpy (recommended version 2.1.3)

  • scipy (recommended version 1.14.1)

  • mpi4py (recommended version 4.0.1)

  • colossus (recommended version 1.3.6)

  • pybaselines (recommended version 1.1.0)

Quick start

The following code more or less captures the main functionalities of this package.

from echo21 import echopipeline

pipe = echopipeline.pipeline()
pipe.glob_sig()

Save the above code as (say) my_echo_script.py and run it as

python my_echo_script.py

Running the above will generate an output folder with the name output_<YYYYMMDD-hhmmss> which contains several files. To learn how to set the astrophysical or cosmological parameters, halo mass function, star formation model, redshifts at which to evaluate the global signal, and structure of the output files see the documentation. To learn about the physics of this package see our paper.

Once you have an understanding of the structure of output files, you can write your own scripts to create figures. To help you get started, see the jupyter notebook make_figures.ipynb in the example folder.

Documentation

For more details on the working of the package and understanding the output files refer to the documentation.

License and citation

The software is free to use on the MIT open-source license. If you use the software then please consider citing Mittal (2025).

Contact

In case of any confusion or suggestions for improvement please do not hesitate to contact me.

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

echo21-1.0.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

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

echo21-1.0.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file echo21-1.0.2.tar.gz.

File metadata

  • Download URL: echo21-1.0.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for echo21-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a1949b8c111468d09d5176ba4dbc435f509912383c461eaa4bd340bf67a6fd6c
MD5 3771db39b426d2e2938852502622ad68
BLAKE2b-256 a4f6a91445b37a3b58d211ff1fc34fda176d9f1f9c0e1d4a633288b5f940f8ed

See more details on using hashes here.

File details

Details for the file echo21-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: echo21-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for echo21-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ccab1f60027a84571caabb43958ca168ef1a1b855c9bd3935b9aec24313f38f
MD5 e105a3781dca3dfacfef9d1f1a48fcc4
BLAKE2b-256 b5857af0ef5bfefde8965ad79fc64f35329f8e41e96bf4e7f2e7e4ccca45842a

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