Skip to main content

vis_cpu

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/

Metadata

Release files for vis-cpu 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vis-cpu 1.1.0
File Size Uploaded
vis_cpu-1.1.0.tar.gz 2.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for vis-cpu 1.1.0
File Interpreter ABI Platform
vis_cpu-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 4.2 MB

Release files / vis_cpu-1.1.0.tar.gz

Download URL vis_cpu-1.1.0.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
edf7427a62dac49e3bbb945bf52b1f4b80360f81f9a9aebbfa6aa742ec57c6b5
BLAKE2b-256 checksum
How to use checksums
3f5d024f5130aa6af2d5cacc4900d2bd99429a0ed81883c472fae52ba480df97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / vis_cpu-1.1.0-py2.py3-none-any.whl

Download URL vis_cpu-1.1.0-py2.py3-none-any.whl
Size 2.0 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
812fa47871d2a9295b1a63732f34c37a61fd73857cd984c5944a4182bdb8ca0f
BLAKE2b-256 checksum
How to use checksums
9c6272422941555f8a43ec7d1e08dcc007a5e3cde7e47dfc9ad9bdeec6231ef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page