magali.read_qdm_harvard

Contents

magali.read_qdm_harvard#

magali.read_qdm_harvard(path)[source]#

Load QDM microscopy data in the Harvard group format.

This is the file type used by Roger Fu’s group to distribute QDM data. It’s a Matlab binary file that has the data and some information about grid spacing.

Parameters:

path (str or pathlib.Path) – Path to the input Matlab binary file.

Returns:

data (xarray.Dataset) – The magnetic field data as a regular grid with coordinates. The coordinates are in µm and magnetic field in nT.