(parser)
return parser
Add common sampling options to CLI parser.

    Parameters
    ----------
    parser : argparse object

    Returns
    ----------
    Updated argparse object
Add common sampling options to CLI parser.
Add common sampling options to CLI parser .
def setup(parser):
    """Add common sampling options to CLI parser.

    Parameters
    ----------
    parser : argparse object

    Returns
    ----------
    Updated argparse object
    """
    parser.add_argument('-n', '--samples', type=int, required=True,
                        help='Number of Samples')
    parser.add_argument('-p', '--paramfile', type=str, required=True,
                        help='Parameter Range File')
    parser.add_argument('-o', '--output', type=str, required=True, 
                        help='Output File')
    parser.add_argument('-s', '--seed', type=int, required=False, 
                        default=None,
                        help='Random Seed')
    parser.add_argument('--delimiter', type=str, required=False,
                        default=' ',
                        help='Column delimiter')
    parser.add_argument('--precision', type=int, required=False,
                        default=8,
                        help='Output floating-point precision')

    return parser
def setup ( parser ) : parser . add_argument ( '-n' , '--samples' , type = int , required = True , help = 'Number of Samples' ) parser . add_argument ( '-p' , '--paramfile' , type = str , required = True , help = 'Parameter Range File' ) parser . add_argument ( '-o' , '--output' , type = str , required = True , help = 'Output File' ) parser . add_argument ( '-s' , '--seed' , type = int , required = False , default = None , help = 'Random Seed' ) parser . add_argument ( '--delimiter' , type = str , required = False , default = ' ' , help = 'Column delimiter' ) parser . add_argument ( '--precision' , type = int , required = False , default = 8 , help = 'Output floating-point precision' ) return parser