This text is italic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import argparse | |
import os | |
parser = argparse.ArgumentParser(description='test logging') | |
parser.add_argument('--debug', action='store_true', help='log debug statements') | |
parser.add_argument('--log-dir', type=str, required=True, help='directory to store log') | |
parser.add_argument('--file', type=str, required=True, help='log file name') | |
args = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Standard libraries | |
import os | |
import json | |
import math | |
import numpy as np | |
## Imports for plotting | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
import matplotlib_inline |