py21cmfast.yaml

Modified YAML that can load/dump astropy quantities.

A modification of the basic YAML and astropy.io.misc.yaml to be able to load/dump objects with astropy quantities in them.

Functions

dump(data[, stream])

Dump an object into a YAML stream.

load(stream)

Load an object from a YAML stream.

Module Contents

py21cmfast.yaml.dump(data, stream=None, **kwargs)[source]

Dump an object into a YAML stream.

py21cmfast.yaml.load(stream)[source]

Load an object from a YAML stream.