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.1.tar.gz (189.4 kB view details)

Uploaded Source

Built Distribution

vis_cpu-0.4.1-py2.py3-none-any.whl (21.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: vis_cpu-0.4.1.tar.gz
  • Upload date:
  • Size: 189.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for vis_cpu-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4be448d021fe59d5659cc7dfbde7d3c82912ff067e95464a3de5e9d493a3a2c5
MD5 c529ff43bf5a57b8f8d98e1ae59f4aec
BLAKE2b-256 51132f9156dac0d5da113235b85fb3e8bb29f23f411ef3fa8d986a0f7b8aada7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vis_cpu-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for vis_cpu-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd1e86372ce1983733637da8920976e0f4aa527305e2307d44d13bf38d62456d
MD5 e4d9449b15ba781ac6d12932e03e4273
BLAKE2b-256 e2a6673bd9b58be1ab6c9805f26e3aca30abb86b6ab645f7c9274972b9351fe1

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