Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TRASAL/frbpoppy
Fast Radio Burst Population Synthesis in Python
https://github.com/TRASAL/frbpoppy
astronomy fast-radio-bursts frb frbs population-synthesis
Last synced: 2 months ago
JSON representation
Fast Radio Burst Population Synthesis in Python
- Host: GitHub
- URL: https://github.com/TRASAL/frbpoppy
- Owner: TRASAL
- License: mit
- Created: 2017-01-03T11:02:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T08:47:11.000Z (9 months ago)
- Last Synced: 2024-08-02T06:12:09.746Z (5 months ago)
- Topics: astronomy, fast-radio-bursts, frb, frbs, population-synthesis
- Language: Python
- Size: 26.2 MB
- Stars: 27
- Watchers: 2
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- frbsoft - GitHub - 33% open · ⏱️ 03.09.2024): (Population Synthesis of FRBs)
README
.. image:: docs/logo_text.png
:scale: 50Fast Radio Burst Population Synthesis | **David Gardenier, Joeri van Leeuwen & Yuyang Wang** | ASTRON & UvA
****************
What's frbpoppy?
****************
Establishing the origin and properties of Fast Radio Bursts (FRBs) is one of the biggest goals in radio astronomy. ``frbpoppy`` was called into life to help astronomers determine which FRB properties to expect. Designed to be simple in use and easy to adapt.*********************
How can I install it?
*********************
1. Determine if you can and want to install frbpoppy system wide (e.g. with ``sudo``). Otherwise, first create and enter a virtual environment in python with e.g.:
::$ python3 -m venv # where is the install directory, e.g. ~/frbpoppy/virtualenv
$ source /bin/activate # where is the same directory as above
2. Ensure ``gfortran`` is installed on your system (used for NE2001).
3. Get the files from the github repository:
::$ git clone https://github.com/TRASAL/frbpoppy
4. It's important that frbpoppy is installed locally. Why? It means that you can play around with the code without having to dig into a system wide install. It also allows frbpoppy to create data files more easily. Ubuntu is supported, as should be Macs, however no tests have been done on Windows. Install frbpoppy locally by going to the downloaded directory and running
::$ python3 setup.py develop
5. Run frbpoppy for the first time. Frbpoppy will automatically create lookup tables for complex calculations. Note this can take up to 2h on a modern machine (4 cores). Subsequent runs will be orders of magnitude faster.
::$ python3 examples/_starting_with_frbpoppy_.py
******************
How do I use it?
******************
Check out the `examples` directory or the `tests` directory.****************************************
Which dependencies does `frbpoppy` have?
****************************************
All requirements can be found in `setup.py `_ but are also expanded upon in the following list:- `bokeh` for interactive plotting
- `numpy` for array calculations
- `pandas` for interactive plotting and easy import of csvs
- `frbcat` for importing frbcat data
- `scipy` for Bessel functions and integrations
- `SQLAlchemy` for creating and querying cosmological databases
- `matplotlib` for plotting
- `requests` for downloading new versions of frbcat
- `dill` for saving populations in pickled files
- `tqdm` for nice progress bars during long calculations
- `joblib` for parallel processing of long calculationsAnd if using an old version of Python (`_ on github, or contact `Joeri van Leeuwen `_ or `Yuyang Wang `_ directly. Any help is appreciated!
********************
Who are the authors?
********************
* **David Gardenier**
During his PhD, David worked at the Netherlands Institute for Radio Astronomy (ASTRON) and the University of Amsterdam (UvA), with the APERTIF/ALERT team, to establish the properties of FRBs. He wrote frbpoppy. He works in industry now, drop him a line through `his webpage `_ if you enjoy working with frbpoppy.* **Yuyang Wang**
Yuyang currently pursues a PhD at the University of Amsterdam (UvA) and the Netherlands Institute for Radio Astronomy (ASTRON). His research focuses on FRB population studies and pulsar timing. Get in touch with him via `email `_.* **Joeri van Leeuwen**
Joeri is a faculty member at the Netherlands Institute for Radio Astronomy (ASTRON) and conceived frbpoppy. `Email him `_ or talk to him at a conference.