delphyne_demos
|
Functions | |
def | create_argument_parser (title, content, default_duration=-1.0) |
Argument parsing. More... | |
def demos.helpers.create_argument_parser | ( | title, | |
content, | |||
default_duration = -1.0 |
|||
) |
Argument parsing.
Create an argument parser for use with the demos and populate it with some common arguments. Args: title: short, descriptive title for the demo content: longer, detailed description of the demo default_duration: default length of the simulation (s) Returns: argparse.ArgParser: the initialised argument parser