uvex_transients.transients.horizon.HorizonCurve.read#

classmethod HorizonCurve.read(path: str | Path) → HorizonCurve | None[source]#

Read a stored curve.

Parameters:

path (str or pathlib.Path) – An ECSV file written by write.

Returns:

The curve, or None if the file does not exist.

Return type:

HorizonCurve or None