Skip to main content

Ultra Fast Image Generator (UFig)

MIT license PyPI pyversions PyPI version pipeline coverage coverage report

DOI image image

Docs Source Code

Simulate realistic astronomical images with high-speed and modular adjustable image properties according to the user.

For the original paper describing this project, see: Bergé et al. (2013). The first public release of UFig is descibed in Fischbacher et al. (2024).

Installation

To install the latest release from PyPI, use pip:

pip install ufig

Features

  • Ultra fast speed
  • Modular structure that can be easily integrated and expanded
  • User interacts with the program through Python scripts
  • Structured unit tests for continuous robust development

Note: For not supported features, see the plugins (including the deprecated ones) in the archive branch (https://gitlab.com/cosmology-ethz/ufig/-/tree/old_master_before_11_2024).

Introduction

The Ultra Fast Image Generator (UFig) is an image simulation tool that generates simulated astronomical images for scientific usage.

The code is implemented in pure Python and highly optimized in terms of speed.

The output images are useful for developing analysis algorithms and data processing pipelines in the field of astronomy/cosmology.

Conceptually, a typical UFig program involves two things:

  1. Config file: sets up the workflow by calling a series of plugins.

    The content in each config file includes importing or setting the relevant input parameters and arranging the list of plugins that are being called. The main set of common parameters are listed in the "common" module at ufig.config.common. Examples of config files can be found also be found in the documentation.

  2. Plugin: implement specific jobs.

    The nature of the plugins ranges from mundane data handling (e.g., I/O of data files), PSF estimation and background addition to rendering and processing the images. The plugins are stored in ufig.plugins and can be easily extended by the user.

Credits

This package was developped by the Cosmology group at ETH Zurich and is currently maintained by Silvan Fischbacher: silvanf@phys.ethz.ch

Contributions

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.

Metadata

Release files for ufig 1.2.1

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

Source distribution (sdist)

Source distribution for ufig 1.2.1
File Size Uploaded Provenance Actions
ufig-1.2.1.tar.gz 71.6 MB Without provenance Details for ufig-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ufig 1.2.1
File Interpreter ABI Platform Actions
ufig-1.2.1-py3-none-any.whl Python 3 none any Details for ufig-1.2.1-py3-none-any.whl

Total release size: 135.7 MB

Release files / ufig-1.2.1.tar.gz

Download URL ufig-1.2.1.tar.gz
Size 71.6 MB
Tags Source
SHA-256 checksum
How to use checksums
4fc65e8d9dde330a1c099f3929ef4c80a2cd1055edbdeee3048d72648653da95
BLAKE2b-256 checksum
How to use checksums
53491c09706a51a8d4e32a56bfa809cd96eb871137cb269ed4ab1ce49d98edcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / ufig-1.2.1-py3-none-any.whl

Download URL ufig-1.2.1-py3-none-any.whl
Size 64.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f8bc73962ef504efad1e7ded497eb8a8ac7dafddd192da238a82c4fe2e75ae31
BLAKE2b-256 checksum
How to use checksums
cdb12d81400dec5c8371839b7efa96ae5ce70ce2a5b39311c55e5a919fcaf192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for ufig 1.2.1

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