GithubHelp home page GithubHelp logo

sjtuzyk / fg21sim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liweitianux/fg21sim

0.0 0.0 0.0 1.74 MB

Foregrounds Simulation for EoR 21 cm Signal Detection ๐Ÿ“ก๐Ÿ“ก

License: MIT License

Makefile 0.21% Python 80.02% CSS 4.36% JavaScript 9.28% HTML 6.14%

fg21sim's Introduction

Foreground Simulation for 21 cm Reionization Signal Detection

The FG21sim is a low-frequency radio foregrounds simulator aiming to provide the simulation of the common foregrounds impeding the 21 cm reionization signal detection. The simulated foregrounds can be used to evaluate the impacts of different foreground components on the EoR signal, and can be also used to help develop and test various foreground removal methods.

Features

  • Supported foreground components:
    • galactic/synchrotron: Galactic synchrotron emission (Note: only the unpolarized part considered)
    • galactic/freefree: Galactic free-free emission
    • galactic/snr: Emission from Galactic supernovae remnants (SNRs)
    • extragalactic/clusters: Emission from extragalactic galaxy clusters (Note: only giant radio halos)
  • All-sky simulation by utilizing HEALPix (Note: not all components are currently supported)
  • High-resolution simulation within sky patches
  • Configuration file allowing fine-grained control
  • Well organized, commented, and documented
  • Modular and highly extensible
  • Command line tools, utilities, and resuable modules

Requirements

Installation

  1. Clone this repository:

    $ git clone https://github.com/liweitianux/fg21sim
    
  2. Install the above required software and libraries.

  3. Install the required third-party Python packages. And it is recommended to use the virtual environment:

    $ cd fg21sim/
    $ make venv
    $ . venv/bin/activate
    

    (venv) $

    Check to make sure that this virtual environment is activated so that the python3 and pip3 are pointed to the virtual environment.

  4. Install this software into the virtual environment:

    (venv) $ python3 setup.py install
    
  5. You are ready to use this software. Just have a look, e.g.:

    (venv) $ fg21sim --help
    

Development

To ease the development and tests, you may want to install this package in the editable state:

$ cd fg21sim/
$ pip3 install --user -r requirements.txt
$ pip3 install --editable .

In addition, setting the environment variable DEBUG_FG21SIM forces this software running at the DEBUG logging level.

Documentations

To get started, read the User Guide.

Contributions

Great! Be sure to consult the guidelines in CONTRIBUTING.md.

Authors

License

Unless otherwise declared:

fg21sim's People

Contributors

liweitianux avatar myinxd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.