AOtools / soapy

A Python Adaptive Optics Simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues in base.py

dougieee opened this issue · comments

/soapy/soapy/wfs/base.py(290):
self.los.telDiam needs to be self.los.telescope_diameter

s/soapy/soapy/wfs/base.py(322):
phaseAddition = interp.zoom(phaseAddition, self.los.nx_out_pixels)
NameError: name 'interp' is not defined

is this supposed to be scipy.ndimage.interpolation.zoom? If so, the zoom factor should be self.los.nx_out_pixels/phaseAddition.shape[0] (instead of self.los.nx_out_pixels).