rascil_data_path
- rascil_data_path(path, check=True)[source]
Converts a path that might be relative to the RASCIL data directory into an absolute path:
rascil_data_path('models/SKA1_LOW_beam.fits') '/Users/timcornwell/Code/rascil/data/models/SKA1_LOW_beam.fits'
The data path default is rascil_path(‘data’) but may be overriden with the environment variable RASCIL_DATA.
- Parameters:
check – Check path exists
path –
- Returns:
absolute path