Scripts to open various 4-dimensional data formats, with 2 spatial and 2 image dimensions, in a common format. Supported data formats are currently based around Transmission Electron Microscopy and include ASTAR .blo and TVIPS .tvips files.
As the file sizes of these types of data may be several GB, the file data is is not loaded by default. The data is read and loaded to memory when requesting specific frames using generator parsing.
This package is based on code parsers in RosettaSciIO and TVIPSconverter.
Clone this repository, navigate to the base directory and run pip install .
To open a file:
import FourDimensionalData
data = FourDimensionalData.from_file("my_data.blo")
Please check current and previous Issues and Pull Requests for similar issues. For new issues, please open an Issue describing the problem.
This code was developed under the scope of ANR project ANR-19-CE42–0017.