Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Verify Data

This tool verifies files entirely in your web browser. Files you load are read and processed on your own computer and are never uploaded, so the tool is safe to use with unpublished data. It uses the same JavaScript implementation of the specification that we test against our Python reference implementation.

Results

The verifier checks each file against the root certificate of a demonstration manufacturer and reports one of four results:

CBF files, HDF5 files such as HyperSpy .hspy, and zipped Zarr stores such as quantEM files and HyperSpy .zspy carry their signature inside the file and can be loaded on their own. Any other signed file must be loaded together with its .framesig signature file. CBF files are verified by our JavaScript implementation, and HDF5 and Zarr files by our Python reference implementation, which runs inside your browser using Pyodide; the first such file takes about 10 s while Python loads. The trust anchor for this demonstration is a certificate authority that we created for the purpose. Real data would be verified against the root certificate published by the manufacturer of the detector that recorded them.

Sample files

The sample files cover all four results. The CBF samples are simulated diffraction frames. The other samples contain a real moiré diffraction pattern, recorded on a transmission electron microscope and converted from Digital Micrograph format, saved as HyperSpy .hspy (HDF5), as a quantEM Zarr file, and as HyperSpy .zspy (Zarr), each zipped where needed so that it is a single file. We signed the hardware-signed samples with a key held in the secure hardware of a laptop computer, which stands in for the secure element of a detector.

All samples and the trust anchor can be downloaded, for example to check them with the command-line verifier: