get_1d_data

Contents

get_1d_data#

get_1d_data(hdf='.h5')[source]#

Fetch the radial scale (1D) data file.

Parameters:
hdfHdfExtType, optional

The HDF file format to fetch. Accepted values are '.h5' for HDF5 and '.hdf' for HDF4. Default is '.h5'.

Returns:
outstr

Local path to the downloaded (and cached) radial scale data file.

Examples

>>> from psi_io import data
>>> path = data.get_1d_data()
>>> path.endswith(".h5")
True