Fast visibility simulator with interface to CPU and GPU
Project description
Fast visibility simulator capable of running on CPU and GPU.
Description
vis_cpu is a Python/numpy-based simulator for interferometer visibilities. It models the sky as an ensemble of point sources, each with their own frequency spectrum. Diffuse emission can be modelled by treating (e.g.) each pixel of a Healpix map as a separate source. The code is capable of modelling polarized visibilities and primary beams, but currently only a Stokes I sky model.
vis_cpu includes a separate pycuda-based implementation called vis_gpu. This is intended to keep feature parity with the vis_cpu code to the greatest extent possible.
An example wrapper for the main vis_cpu simulator function is provided in this package (vis_cpu.wrapper.simulate_vis()).
Installation
Merely do pip install vis_cpu. If you want to use the GPU functions, install with pip install vis_cpu[gpu].
Developers
Run pre-commit install before working on this code.
Read the Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vis_cpu-1.0.1.tar.gz
.
File metadata
- Download URL: vis_cpu-1.0.1.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0673d37990f3ddda3005b815ab0c10aae2d65b76a5b12cf205fd60e210bc48 |
|
MD5 | cfce8b024a7c124a50a4e291e9d4a084 |
|
BLAKE2b-256 | ea6376c1302b56327c8994c51e30f0ebd031654cc7f4fb8e03aa519733f3c64d |
File details
Details for the file vis_cpu-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: vis_cpu-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873b82f0628a56dbc521101c2157a83d4fa1f4b239127db846dcac3c7b14952b |
|
MD5 | 3511a4d45de6e175d5f03f929b4c86f1 |
|
BLAKE2b-256 | 861cb358c5d93dae6457fa10f114f7c6b77e7c7b9cca8f82919cb984b662f7dc |