run_sofia module¶
This script runs Sofia ***
- run_sofia.eliminate_time(cat)¶
Eliminates timestamp from sofia catalog. Updates the file
- Parameters
cat (str) – Path to sofia catalog
- run_sofia.get_args()¶
This function parses and returns arguments passed in
- run_sofia.is_tool(name)¶
Check whether name is on PATH and marked as executable.
- run_sofia.main()¶
Runs Sofia if the output catalog does not exist
- run_sofia.run_sofia(parfile, outname, datacube, results_path, scfind_threshold, reliability_fmin, reliability_threshold)¶
Only runs Sofia if the output catalog does not exist
- Parameters
parfile (str) – File contanining parameters
outname (str) – Name of output file
datacube (str) – Path to data cube
results_path (str) – Path to save results
scfind_threshold (float) – Sofia parameter scfind_threshold
reliability_fmin (float) – Sofia parameter reliability_fmin
reliability_threshold (float) – Sofia parameter reliability_threshold
- run_sofia.update_parfile(parfile, output_path, datacube, scfind_threshold, reliability_fmin, reliability_threshold)¶
Updates file with paramenters
- Parameters
parfile (str) – File contanining sofia parameters
output_path (str) – Path of output file
datacube (str) – Path to datacube
outname (str) – Name of output file
- Returns
updated_parfile – Path of file with updated parameters
- Return type
str