.. image:: _static/FiEsta_logo_large_white.jpg :align: center :class: only-light .. image:: _static/FiEsta_logo_large_black.jpg :align: center :class: only-dark .. raw:: html

Python Tests Python Version Support Version PyPI version Documentation Status GitHub repository github: stars github: forks License: MIT Code style: black zenodo: DOI

================================================================================== FIESTA: Field Interpolation and Estimation using Spatial Techniques and Algorithms ================================================================================== Introduction ============ ``FIESTA`` is a python library for general interpolation from uniform and non-uniform input points. The library is written in python with numba acceleration for speed. The library has the *optional* capability to be used on large data-sets by distributing jobs across multiple processes via ``MPI``. This relies on the ``mpi4py`` library and the ``MPI`` object from the ``shift-fft`` package (see `here `_) which is passed as an additional object into ``MPI`` related functions. Showcase ======== The 2D density field computed with ``FIESTA`` (from the outputs of a cosmological simulation): .. raw:: html
.. image:: _static/methods_logdens.png :align: center .. raw:: html
The velocity-field along the z-axis computed with ``FIESTA`` (from the outputs of a cosmological simulation): .. raw:: html
.. image:: _static/methods_vz.png :align: center .. raw:: html
Contents ======== .. toctree:: :maxdepth: 1 tutorial mpi_tutorial api Dependencies ============ * `numba `_ * `numpy `_ * `scipy `_ * `shift-fft `_ * `mpi4py `_ [Optional: enables MPI distributed processes] Installation ============ FIESTA can be installed via ``pip``: .. code-block:: bash pip install fiesta-pkg or by cloning the repository: .. code-block:: bash git clone https://github.com/knaidoo29/FIESTA.git cd FIESTA pip install . Once this is done you should be able to call FIESTA from python: .. code-block:: python import fiesta To use the ``MPI`` functionality please take a look at the documentation in FIESTA which instructs users how to use the ``shift-fft`` ``MPI`` object and how to run these distributed jobs successfully without errors or MPI related hanging. Citation ======== If you use FIESTA in your work, please cite: .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.20328944.svg :target: https://doi.org/10.5281/zenodo.20328944 .. code-block:: bibtex @software{naidoo_fiesta_2026, author = {Krishna Naidoo}, title = {FIESTA: Field Interpolation and Estimation using Spatial Techniques and Algorithms}, month = may, year = 2026, publisher = {Zenodo}, doi = {10.5281/zenodo.20328944}, url = {https://doi.org/10.5281/zenodo.20328944}, } Support ======= If you have any issues with the code or want to suggest ways to improve it please open a new issue (`here `_) or (if you don't have a github account) email krishna.naidoo.11@ucl.ac.uk.