examples/plotProperMotionErrorsSkyAvg.py
def parseCommandLineArguments():
  """
  Set up command line parsing.
  """
  parser = argparse.ArgumentParser(description="Plot predicted Gaia sky averaged proper motion errors as a function of V")
  parser.add_argument("-p", action="store_true", dest="pdfOutput", help="Make PDF plot")
  parser.add_argument("-b", action="store_true", dest="pngOutput", help="Make PNG plot")
  parser.add_argument("-g", action="store_true", dest="gmagAbscissa", help="Plot performance vs G instead of V")
  args=vars(parser.parse_args())
  return args
def parseCommandLineArguments():
  """
  Set up command line parsing.
  """
  parser = argparse.ArgumentParser(description="Plot predicted Gaia sky averaged proper motion errors as a function of V")
  parser.add_argument("-p", action="store_true", dest="pdfOutput", help="Make PDF plot")
  parser.add_argument("-b", action="store_true", dest="pngOutput", help="Make PNG plot")
  parser.add_argument("-g", action="store_true", dest="gmagAbscissa", help="Plot performance vs G instead of V")
  args=vars(parser.parse_args())
  return args
def parseCommandLineArguments ( ) : parser = argparse . ArgumentParser ( description = "Plot predicted Gaia sky averaged proper motion errors as a function of V" ) parser . add_argument ( "-p" , action = "store_true" , dest = "pdfOutput" , help = "Make PDF plot" ) parser . add_argument ( "-b" , action = "store_true" , dest = "pngOutput" , help = "Make PNG plot" ) parser . add_argument ( "-g" , action = "store_true" , dest = "gmagAbscissa" , help = "Plot performance vs G instead of V" ) args = vars ( parser . parse_args ( ) ) return args
Set up command line parsing.
Set up command line parsing .