{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"},{"label":"Bio-Informatics","url":"https://skillfed.io/packages/category/scientific-engineering-bio-informatics"},{"label":"Physics","url":"https://skillfed.io/packages/category/scientific-engineering-physics"},{"label":"Chemistry","url":"https://skillfed.io/packages/category/scientific-engineering-chemistry"}],"enrichment":{"capability":"FabIO reads and writes 2D X-ray detector images in 30 different formats from vendors like Mar, Dectris, ADSC, and Hamamatsu, exposing image data as numpy arrays and headers as Python dictionaries.","skillfed_tags":["x-ray-diffraction","detector-formats","crystallography"],"use_cases":["Load CBF or EDF detector frames and access pixel data and experimental parameters via a uniform interface.","Batch convert detector images between formats without writing format-specific code.","Read HDF5-based Eiger detector stacks and extract 2D slices as numpy arrays for analysis.","Build a data pipeline that accepts images from multiple detector types and processes them uniformly.","Inspect detector image headers and statistics quickly without loading the full array into memory."],"what_it_does":"FabIO is a Python I/O library for reading and writing detector images from 2D X-ray diffraction experiments. It abstracts over 30 file formats from a dozen detector manufacturers into a unified interface: each image becomes a numpy array (data) plus an ordered dictionary of header metadata. The library handles formats ranging from simple TIFF and EDF to vendor-specific compressed formats like CBF and Pilatus, and supports HDF5-based formats like Eiger through h5py integration.\n\nTypically used in synchrotron beamline software, crystallography pipelines, and scientific data processing workflows where detector images need to be read, inspected, and written without format-specific boilerplate. It includes convenience methods for statistics (min, max, mean, stddev), rebinning, and transparent decompression of gzip/bzip2 files. The package depends on numpy for array operations, h5py for HDF5 support, pillow for TIFF/image handling, lxml for XML formats, and filelock for concurrent access.","worth_installing":"Yes, if you work with 2D X-ray detector images from synchrotron or laboratory diffraction systems. The library is actively maintained, permissively licensed (MIT primary), and eliminates format-specific parsing code. Medium install friction from compiled dependencies is acceptable for the breadth of format support. Not relevant for general image processing; consider only if your workflow involves detector formats like CBF, EDF, or Eiger."},"id":"fabio","links":{"html":"https://skillfed.io/packages/fabio","md":"https://skillfed.io/packages/fabio.md","pypi":"https://pypi.org/project/fabio/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-19","license_spdx":null,"license_treatment":"permissive","name":"fabio","python_support":"supports_current","summary":"FabIO is an I/O library for images produced by 2D X-ray detectors and written in Python"},"popularity":{"monthly_downloads":96074,"position":13233,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2026.6.0"}
