read_config¶
-
simcado.commands.
read_config
(config_file)[source]¶ Read in a SimCADO configuration file
- The configuration file is in SExtractor format:
‘PARAMETER Value # Comment’
- Parameters
- config_filestr
the filename of the .config file
- Returns
- config_dictdict (collections.OrderedDict)
A dictionary with keys ‘PARAMETER’ and values ‘Value’.
Notes
The values of the dictionary are strings and will have to be converted to the appropriate data type as they are needed.