check_args

sofia_redux.calibration.standard_model.genastmodel2.check_args(args)[source]

Check the command line arguments are valid.

Parameters:
argsargsparse.Namespace

Namespace populated with the options passed in.

Returns:
argsargparse.Namespace

Same as input args with default values checked.

Raises:
PipeCalErrorexception

Raised if any of the input files do not exist.