Command Line Interface¶
The analysis pipeline for this project can be accessed either from within a python environment or from the command line. The command line interface is intended for running complete sections of the analysis in a reproducible way.
Compare various SN models against CSP data.
usage: run_analysis.py [-h] -m MODELS [MODELS ...] [-o OUT_DIR]
{color_chisq,color_15,equivalent_width,spec_chisq,band_fitting}
...
Named Arguments¶
-m, --models | Models to use |
-o, --out_dir | Output directory Default: [‘./’] |
Sub-commands:¶
color_chisq¶
Compare color evolution with models.
run_analysis.py color_chisq [-h] [-i INTERVAL] [-s START] [-e END]
Named Arguments¶
-i, --interval | Spacing between phases when summing chisq Default: 1 |
-s, --start | Start of phase range to use in chi-squared integration |
-e, --end | End of phase range to use in chi-squared integration |
color_15¶
Compare color evolution with models.
run_analysis.py color_15 [-h] [-b T0_BAND]
Named Arguments¶
-b, --t0_band | Band to use when setting model t0 to peak |
equivalent_width¶
Calculate pseudo equivalent width values
run_analysis.py equivalent_width [-h] -b FIX_BOUNDARIES
Named Arguments¶
-b, --fix_boundaries | |
Fix feature boundaries to observed values |
spec_chisq¶
Calculate chi-squared for spectra
run_analysis.py spec_chisq [-h] [-e ERR_ESTIMATE] [-f FEATURES [FEATURES ...]]
[-b BANDS [BANDS ...]] [-t TRANS_LIMIT]
Named Arguments¶
-e, --err_estimate | |
Error estimate as a fraction of the flux Default: 0.03 | |
-f, --features | Features to tabulate chi-squared for. |
-b, --bands | Bands to tabulate chi-squared for. |
-t, --trans_limit | |
Transmission cutoff applied to each band Default: 0.1 |