Skip to main content

Package for fast image simulations

Project description

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.

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

ufig-1.2.1.tar.gz (71.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ufig-1.2.1-py3-none-any.whl (64.2 MB view details)

Uploaded Python 3

File details

Details for the file ufig-1.2.1.tar.gz.

File metadata

  • Download URL: ufig-1.2.1.tar.gz
  • Upload date:
  • Size: 71.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for ufig-1.2.1.tar.gz
Algorithm Hash digest
SHA256 4fc65e8d9dde330a1c099f3929ef4c80a2cd1055edbdeee3048d72648653da95
MD5 ee3bd1661c932cfd8a6b5ecb189e285e
BLAKE2b-256 53491c09706a51a8d4e32a56bfa809cd96eb871137cb269ed4ab1ce49d98edcb

See more details on using hashes here.

File details

Details for the file ufig-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ufig-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 64.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for ufig-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8bc73962ef504efad1e7ded497eb8a8ac7dafddd192da238a82c4fe2e75ae31
MD5 a4fe5cf99ed20e8ab4d61cce68759ff3
BLAKE2b-256 cdb12d81400dec5c8371839b7efa96ae5ce70ce2a5b39311c55e5a919fcaf192

See more details on using hashes here.

Supported by

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