Browse Source

placeholder for two analysis scripts:
- single game summary graphic
- single player summary graphic

George C. Privon 8 years ago
parent
commit
604975c839
2 changed files with 70 additions and 0 deletions
  1. 35 0
      analysis/SingleGame-summary.py
  2. 35 0
      analysis/SinglePlayer-summary.py

+ 35 - 0
analysis/SingleGame-summary.py

@@ -0,0 +1,35 @@
+#!/usr/bin/env python
+"""
+Make a single game summary graphic.
+"""
+
+import argparse
+import matplotlib.pyplot as plt
+import numpy as np
+
+
+def getArgs():
+    """
+    Get command line arguments.
+    """
+
+    parser = argparse.ArgumentParser(description="Make a single-game summary \
+graphic.")
+    parser.add_argument('gameID', type=int, action='store', default=None,
+                        help='gameID number to analyze.')
+
+    return parser.parse_args()
+
+
+def main():
+    """
+    main routine
+    """
+
+    args = getArgs()
+
+    # now do other stuff
+
+
+if __name__ == "__main__":
+    main()

+ 35 - 0
analysis/SinglePlayer-summary.py

@@ -0,0 +1,35 @@
+#!/usr/bin/env python
+"""
+Make a single player summary graphic.
+"""
+
+import argparse
+import matplotlib.pyplot as plt
+import numpy as np
+
+
+def getArgs():
+    """
+    Get command line arguments.
+    """
+
+    parser = argparse.ArgumentParser(description="Make a single-player summary \
+graphic.")
+    parser.add_argument('playerID', type=int, action='store', default=None,
+                        help='playerID number to analyze.')
+
+    return parser.parse_args()
+
+
+def main():
+    """
+    main routine
+    """
+
+    args = getArgs()
+
+    # now do other stuff
+
+
+if __name__ == "__main__":
+    main()