Check out the Hyperspy Workshop May 13-17, 2024 Online

data#

Example datasets for use when testing functionality.

Some datasets are packaged with the source code while others must be downloaded from the web. For more test datasets, see Open datasets.

Datasets are placed in a local cache, in the location returned from pooch.os_cache(“pyxem”) by default. the location can be overwritten with a global PYXEM_DATA_DIR environment variable.

With every new version of pyxem, a new directory of datasets with the version name is added to the cache directory. Any old directories are not deleted automatically, and should then be deleted manually if desired.

Functions

au_grating([allow_download])

An au_grating 4-D STEM dataset used to show calibration.

pdnip_glass([allow_download])

A small PdNiP glass 4-D STEM dataset.

zrnb_precipitate([allow_download])

A small 4-D STEM dataset of a ZrNb precipitate for strain mapping.

twinned_nanowire([allow_download])

A small 4-D STEM dataset of a twinned nanowire for orientation mapping.

sample_with_g([allow_download])

A small 4-D STEM dataset of a twinned nanowire for orientation mapping.

mgo_nanocrystals([allow_download])

A small 4-D STEM dataset of overlapping MgO nanocrystals

tilt_boundary_data([correct_pivot_point])