from_irafpath

acstools.utils_calib.from_irafpath(irafpath)

Resolve IRAF path like jref$ into actual file path.

Parameters:
irafpathstr

Path containing IRAF syntax.

Returns:
realpathstr

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

Raises:
ValueError

The required environment variable is undefined.