Skip to content

Commit

Permalink
remove test caching of intermediate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Jul 28, 2016
1 parent ed7b6d1 commit 01f53b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions py/specter/extract/ex2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ def ex2d(image, imageivar, psf, specmin, nspec, wavelengths, xyrange=None,
#- Orig was ndiag = 10, which fails when dw gets too large compared to PSF size
Rd = np.zeros( (nspec, 2*ndiag+1, nwave) )

TEST = list()

#- Let's do some extractions
for speclo in range(specmin, specmin+nspec, bundlesize):
#- index of last spectrum, non-inclusive, i.e. python-style indexing
Expand Down Expand Up @@ -159,8 +157,6 @@ def ex2d(image, imageivar, psf, specmin, nspec, wavelengths, xyrange=None,
xyrange=[xlo,xhi,ylo,yhi], regularize=regularize, ndecorr=ndecorr,
full_output=True)

TEST.append(results)

specflux = results['flux']
specivar = results['ivar']
R = results['R']
Expand Down

0 comments on commit 01f53b9

Please sign in to comment.