data_models/parameters.py
def arl_path(path):
    """Converts a path that might be relative to ARL root into an
    absolute path::

        arl_path('data/models/SKA1_LOW_beam.fits')
        '/Users/timcornwell/Code/algorithm-reference-library/data/models/SKA1_LOW_beam.fits'

    :param path:
    :return: absolute path
    """
    project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    arlhome = os.getenv('ARL', project_root)
    return os.path.join(arlhome, path)
Converts a path that might be relative to ARL root into an
    absolute path::

        arl_path('data/models/SKA1_LOW_beam.fits')
        '/Users/timcornwell/Code/algorithm-reference-library/data/models/SKA1_LOW_beam.fits'

    :param path:
    :return: absolute path
    
Converts a path that might be relative to ARL root into an
absolute path:.


Converts a path that might be relative to ARL root into an absolute path : .
def arl_path(path):
    project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    arlhome = os.getenv('ARL', project_root)
    return os.path.join(arlhome, path)
def arl_path ( path ) : project_root = os . path . dirname ( os . path . dirname ( os . path . abspath ( __file__ ) ) ) arlhome = os . getenv ( 'ARL' , project_root ) return os . path . join ( arlhome , path )
Converts a path that might be relative to ARL root into an
absolute path::
Converts a path that might be relative to ARL root into an absolute path ::
"""Converts a path that might be relative to ARL root into an
    absolute path::

        arl_path('data/models/SKA1_LOW_beam.fits')
        '/Users/timcornwell/Code/algorithm-reference-library/data/models/SKA1_LOW_beam.fits'

    :param path:
    :return: absolute path
    """
None
path
None