Closed atelierhide closed 8 years ago
Hi!
Thank you for finding that! Indeed I forget to add PyYAML into the setup file. Also only the glass function use scipy.interpolate.interp1d, I just change it to a numpy.interp function. So the user don't need to include any scipy module in opticspy. If you want, you download a new version in github, or just change the file opticspy/ray_tracing/glass_function/refractiveIndex.py.
Thank you!
Best,
Marvin
Tell me if it works on your computer. If it works, I will close the issue. : )
Thanks. The numpy.interp
looks fine, but the new version of getMaterialFilename
in refractiveIndex.py
doesn't work and should be replaced by the old version that comes with pip install.
I think the getMaterialFilename doesn't work is because the relative file path thing. I am still trying to figure out how to fix that. Now if you want to test the real ray tracing module, you should put the test file in the same folder as opticspy
Understood. I think this issue for missing dependencies should be closed. Thanks.
Hi!
Is there any reason this repo doesn't include
setup.py
?I installed opticspy via pip in a clean environment, and it seems like some dependencies are missing.
I had to
pip install
orconda install
: