Skip to content

hyperspy/rosettasciio

Repository files navigation

Build Status Tests Codecov Status Documentation Status License: GPL v3

Python Version PyPi Version Anaconda Version DOI

RosettaSciIO

RosettaSciIO

The Rosetta Scientific Input Output library aims at providing easy reading and writing capabilities in Python for a wide range of scientific data formats. Thus providing an entry point to the wide ecosystem of python packages for scientific data analysis and computation, as well as an interoperability between different file formats. Just as the Rosetta stone provided a translation between ancient Egyptian hieroglyphs and ancient Greek. The RosettaSciIO library originates from the HyperSpy project for multi-dimensional data analysis. As HyperSpy is rooted in the electron microscopy community, data formats used by this community are still particularly well represented.

RosettaSciIO provides the dataset, its axes and related metadata contained in a file in a python dictionary that can be easily handled by other libraries. Similarly, it takes a dictionary as input for file writers.

See the documentation for further details.

Note

RosettaSciIO has recently been split out of the HyperSpy repository and the new API is still under development. HyperSpy will use the RosettaSciIO IO-plugins from v2.0. It is already possible to import the readers directly from RosettaSciIO as follows:

from rsciio import msa
msa.file_reader("your_msa_file.msa")