Skip to content

Commit

Permalink
Removed some unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrichards committed Oct 19, 2023
1 parent c08e630 commit e0522e4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion agedepth.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%%

import numpy as np
from scipy.interpolate import interp1d,griddata
import pandas as pd


Expand Down
3 changes: 0 additions & 3 deletions doubleegrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions quickplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 0 additions & 9 deletions specfabfuns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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):
Expand Down
5 changes: 0 additions & 5 deletions stollfig.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit e0522e4

Please sign in to comment.