diff --git a/agedepth.py b/agedepth.py index 9f74e31..eb7c139 100644 --- a/agedepth.py +++ b/agedepth.py @@ -1,7 +1,6 @@ #%% import numpy as np -from scipy.interpolate import interp1d,griddata import pandas as pd diff --git a/doubleegrip.py b/doubleegrip.py index bce758d..000d9c3 100644 --- a/doubleegrip.py +++ b/doubleegrip.py @@ -4,10 +4,8 @@ import track import pickle import copy -from tqdm import tqdm import agedepth from matplotlib import pyplot as plt -import mcfab as mc import specfabfuns as sff with open('path2dSGdt10.pkl', 'rb') as f: path2d = pickle.load(f) @@ -161,7 +159,6 @@ def loadEGRIP(loc): _,ev_exp[loc,:],d_exp[loc] = loadEGRIP(loc) import seaborn as sns -import cmocean colors = sns.color_palette("deep", 3) colors_bright = sns.color_palette("bright", 3) diff --git a/quickplot.py b/quickplot.py index b45bf5f..dc1b1c8 100644 --- a/quickplot.py +++ b/quickplot.py @@ -4,10 +4,8 @@ import track import pickle import copy -from tqdm import tqdm import agedepth from matplotlib import pyplot as plt -import mcfab as mc with open('path2dSGdt10.pkl', 'rb') as f: path2d = pickle.load(f) diff --git a/specfabfuns.py b/specfabfuns.py index d63b74d..ed600d5 100644 --- a/specfabfuns.py +++ b/specfabfuns.py @@ -2,8 +2,6 @@ import numpy as np import scipy.special as sp import matplotlib.pyplot as plt -import matplotlib.ticker as mticker -import cmasher as cmr import cartopy.crs as ccrs from scipy import signal as sig @@ -212,13 +210,6 @@ def angle_between_peaks(theta,F): return angle_between,strength_ratio -def J(f): - return np.sum(np.abs(f)**2,axis=1) - - - - - def decra_from_polar(phi, theta): diff --git a/stollfig.py b/stollfig.py index 157ba4d..dd975a8 100644 --- a/stollfig.py +++ b/stollfig.py @@ -1,11 +1,6 @@ #%% import numpy as np# numpy for arrays -from tqdm import tqdm -import track import pickle -import copy -from tqdm import tqdm -import agedepth from matplotlib import pyplot as plt with open('path2dSGdt10.pkl', 'rb') as f: path2d = pickle.load(f)