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

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.1.0.tar.gz (77.1 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.1.0-py2.py3-none-any.whl (60.4 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for ufig-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2ca9b201a0a8f25046daa697771603b4c388e29b3a70b2581bce1d405c258357
MD5 76deab39ac78c26fb006bfdb2ca1c6e2
BLAKE2b-256 5fba02dc3eed14c9179e24bc91fa569d8d55f9e7293b36b18cbb99d53162541f

See more details on using hashes here.

File details

Details for the file ufig-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ufig-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 60.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for ufig-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a366760f6261e2f98cc58232d627e4f1bbd88f401f8efc7d297ce68a1e18a3f0
MD5 82df41bec53c78e8240bd5ff03d31de5
BLAKE2b-256 7ed840b55e425ead9d4c5830ee79fbed4f771f61fa1a17fa3562721b5c928292

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