snat_sim.cli
The cli module defines a command line interface for interacting with
the parent package.
Module Docs
-
class snat_sim.cli.AdvancedNamespace(**kwargs)[source]
Represents parsed command line arguments cast into friendly object types
-
property pwv_model: PWVModel
Build a PWV model based on the command line argument
- Return type:
PWVModel
-
property fitting_bounds: Dict[str, Tuple]
Parameter boundaries to enforce when fitting light-curves
- Return type:
Dict
[str
, Tuple
]
-
property simulation_model: SNModel
Return the Supernova model used for fitting light-curves
- Return type:
SNModel
-
property fitting_model: SNModel
Return the Supernova model used for simulating light-curves
- Return type:
SNModel
-
property catalog: VariableCatalog
The reference star catalog to calibrate simulations with.
- Return type:
VariableCatalog
-
property add_scatter: bool
Whether to include added scatter in the light-curve simulations.
- Return type:
bool
-
class snat_sim.cli.Parser[source]
Commandline parser with a pre-defined application interface
-
__init__()[source]
Instantiate the parser and define the commandline interface
-
class snat_sim.cli.Application[source]
Executable command-line application.
Launch the application by running Application.execute
.
-
static execute()[source]
Parse any commandline arguments and run the analysis pipeline