Skip to main content

Fast visibility simulator with interface to CPU and GPU

Project description

https://github.com/hera-team/vis_cpu/workflows/Tests/badge.svg https://badge.fury.io/py/vis-cpu.svg https://codecov.io/gh/hera-team/vis_cpu/branch/main/graph/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

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

https://vis-cpu.readthedocs.io/en/latest/

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

vis_cpu-0.4.3.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

vis_cpu-0.4.3-py2.py3-none-any.whl (21.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file vis_cpu-0.4.3.tar.gz.

File metadata

  • Download URL: vis_cpu-0.4.3.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for vis_cpu-0.4.3.tar.gz
Algorithm Hash digest
SHA256 d88b1e151247b7b77694136ff2c0d33beac0f0578e9b0d558c9af69bd0925437
MD5 64c9f7b112bf04f5bc1990eeb7fa37dc
BLAKE2b-256 c29c7a8b06631d1b8e160c6c93e79f4a4d128ac6e61639ca126597e8e9d8df2b

See more details on using hashes here.

File details

Details for the file vis_cpu-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: vis_cpu-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for vis_cpu-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8278a36759b8fb2891619b1be66ff9fd54c43ef45389644fa421e8338a0faedf
MD5 688f46b25b2d25e7db705d6c5dd231e8
BLAKE2b-256 a2be3a17235399093a67d10198293452fc2c089430f687fb74dea631f32b7e68

See more details on using hashes here.

Supported by

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