Skip to content

Commit

Permalink
mostly working but overflows memory
Browse files Browse the repository at this point in the history
  • Loading branch information
lastephey committed Jun 21, 2018
1 parent ec53384 commit 3faaa68
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions py/specter/psf/gausshermite.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,11 @@ def _xypix(self, ispec, wavelength, iwave=None):
# x, y = self.xy(ispec, wavelength)
x = self._x.eval(ispec, wavelength)
y = self._y.eval(ispec, wavelength)

#print("x is")
#print(x)
#print("y is")
#print(y)

#print("ispec is")
#print(ispec)
#print("wavelength is")
#print(wavelength)

#- CCD pixel ranges
hsizex = self._polyparams['HSIZEX']
hsizey = self._polyparams['HSIZEY']
Expand Down Expand Up @@ -247,8 +246,8 @@ def _xypix(self, ispec, wavelength, iwave=None):
#iwave_cache is a list right now, needs to be a single value
#print("ispec is")
#print(ispec)
#print("iwave is")
#print(iwave)
#print("wavelength is")
#print(wavelength)
#this output should be size 1 for x and y
#print("self.x_cache.shape")
#print(self.x_cache.shape)
Expand Down

0 comments on commit 3faaa68

Please sign in to comment.