Skip to main content

a generic materials science data analysis Python package built with processing traceability, reproducibility, and archival ability at its core.

Project description

What is Hystorian?

Keeping track of the post-treatement done on our data can sometimes be cumbersome.

Hystorian is a project born from our AFM group to solve this issue. It is a python package with two main functionalities:

  1. It handles multiple file format and converted all of them into uniformized hdf5 files.
  2. It keeps track of the processing done on the data.

Find the link to the paper here: http://dx.doi.org/10.1016/j.ultramic.2021.113345

We would be gratefull if you cited it if it was usefull for your research

You can install the package using pip, you can find it here https://pypi.org/project/hystorian/.

Simply run: pip install hystorian

Structure of an hdf5 file

An hdf5 file has a tree-like structure consisting of groups (folders) and datasets. Each groups and datasets can have attributes attached to them. An attribute is a small metadata containing informations about the corresponding dataset or group. Here we use them to store general information about the data or parameters of the post-processing.

The tree-structure we use in Hystorian is the following :

  1. A dataset group, containing all the raw data you want to regroup inside a single hdf5.
  2. A metadata group, containing the metadatas of the initial files.
  3. A process group, containing the data processed from the original data, or from other processed data.

m_apply

Our goal was to streamline the process and make the usage of Hystorian as seamless as possible for people already using Python. The key to this is the m_apply function. It allows the application of any usual python function working on array on a datasets inside an hdf5 and to write the results into the same hdf5, while keeping all the key arguments of the function stored with the datasets inside the hdf5 file. Tutorials below show you how to use it in real case examples.

Tutorials

A few tutorial were written by R.Bulanadi and can be found in the examples folder of the project, or in the links below:

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

hystorian-1.0.5.2.tar.gz (75.4 kB view details)

Uploaded Source

Built Distribution

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

hystorian-1.0.5.2-py3-none-any.whl (81.8 kB view details)

Uploaded Python 3

File details

Details for the file hystorian-1.0.5.2.tar.gz.

File metadata

  • Download URL: hystorian-1.0.5.2.tar.gz
  • Upload date:
  • Size: 75.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for hystorian-1.0.5.2.tar.gz
Algorithm Hash digest
SHA256 5f495265e10cc524ec7fabb09adf11f7128b3a7dc322821fa99780859cd3c0bc
MD5 e0a35a3be193128ec12d2d0e4538fd8d
BLAKE2b-256 9df20a19e8e57f6575f90055ffe4246df5b6ad62637cfd048a089a14a83c8998

See more details on using hashes here.

File details

Details for the file hystorian-1.0.5.2-py3-none-any.whl.

File metadata

  • Download URL: hystorian-1.0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 81.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for hystorian-1.0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d43e0411ad730e921864b78064f8eb8021d8a2ebbcc6d358c134729b8f5ad38
MD5 b17d85a34a887563f9069b6f177f20fb
BLAKE2b-256 8b7be76d5f4401a5fa3d895a4e4455d1d8ef3bc15baecd07ecb4fc3908811347

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