from_irafpath

acstools.utils_calib.from_irafpath(irafpath)

Resolve IRAF path like jref$ into actual file path.

Parameters:

irafpath (str) – Path containing IRAF syntax.

Returns:

realpath – Actual file path. If input does not follow path$filename format, then this is the same as input.

Return type:

str

Raises:

ValueError – The required environment variable is undefined.