Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobWang95 committed Apr 12, 2019
1 parent 7c77437 commit be9d41f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
path_to_bessel = '/home/jacobwang/DCF/DCFNet/bessel.npy'
3 changes: 2 additions & 1 deletion fb.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import numpy as np
from scipy import special
import pdb
from config import *

def cart2pol(x, y):
rho = np.sqrt(x**2 + y**2)
Expand Down Expand Up @@ -34,7 +35,7 @@ def calculate_FB_bases(L1):

kmax = 15

bessel = np.load('/home/jacobwang/DCF/DCFNet/bessel.npy')
bessel = np.load(path_to_bessel)

B = bessel[(bessel[:,0] <=kmax) & (bessel[:,3]<= np.pi*R*truncate_freq_factor)]

Expand Down

0 comments on commit be9d41f

Please sign in to comment.