From a3d74adcf0ac3d0d8ce98f17568c928445cfbca9 Mon Sep 17 00:00:00 2001 From: tegenolf <138484196+tegenolf@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:02:54 +0100 Subject: [PATCH] Add config file for week 7 --- week7/config7.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 week7/config7.py diff --git a/week7/config7.py b/week7/config7.py new file mode 100644 index 0000000..1451848 --- /dev/null +++ b/week7/config7.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +import warnings +warnings.filterwarnings('ignore') + +import numpy as np +np.random.seed(0) + +import matplotlib +import matplotlib.pyplot as plt + +import seaborn as sns +sns.set_context('talk', font_scale=1.2, rc={'lines.linewidth': 3}) +sns.set_style('ticks', + {'grid.linestyle': 'none', 'axes.edgecolor': '0', + 'axes.linewidth': 1.2, 'legend.frameon': True, + 'xtick.direction': 'out', 'ytick.direction': 'out', + 'xtick.top': True, 'ytick.right': True, + }) + +from scipy.constants import m_p, c, e -- GitLab