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 Provenance Actions
vis_cpu-1.1.0.tar.gz 2.2 MB Without provenance Details for vis_cpu-1.1.0.tar.gz

Built distribution (wheel)

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

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

Security for vis-cpu 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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