PyREx

pyrex.io.HDF5Writer.create_analysis_dataset

HDF5Writer.create_analysis_dataset(name, *args, **kwargs)

Create the given analysis dataset in the file.

The name given will be forced into an appropriate analysis location if it isn’t already a valid location. If the given dataset already exists, will simply return the existing dataset rather than recreating it.

Parameters
namestr

Name of the dataset to be created. May contain the full path to the dataset location.

Returns
dataset

The dataset object corresponding to the created (or existing) dataset requested.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation