medeq.med.MEDPaths#

class medeq.med.MEDPaths(directory)[source]#

Bases: object

Structure handling IO and storing all paths relevant for MED.

Attributes
directorystr

Path to the MED directory, e.g. med_seed123.

__init__(directory)[source]#

Methods

__init__(directory)

update_paths(prefix)

Translate all paths saved in this class relative to a new prefix (which will replace the directory attribute).

update_paths(prefix)[source]#

Translate all paths saved in this class relative to a new prefix (which will replace the directory attribute).

Please ensure that the prefix directory contains MED-created files.