Code Monkey home page Code Monkey logo

pyoptools's People

Contributors

ojrinconb avatar ramezquitao avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pyoptools's Issues

Descentered optics

Right now in the pyoptools it is not possible to create an optical element 
where the surface is not centered with the shape. The easiest possibility, is 
to define an offset for the shapes, but this means that the origin of the 
Surface instance will not be centered at the shapes origin, so defining new 
components might be difficult. 
Maybe the best way is to change all the Surface classes and subclasses, so the 
Surface is composed by an geometrical definition (Plane, Spherical, ......) and 
a an aperture shape (Rectangular, Circular, ....) this way we will have the 
possibility to make a coordinate system change from the geometrical definition 
to the surface to the Surface instance and simplify all from the point of view 
of the user.  

Original issue reported on code.google.com by [email protected] on 26 Feb 2012 at 4:44

Not compiling in 32 bits architecture

What steps will reproduce the problem?
1. Download the pyoptools
2. python setup.py build_ext -i


What is the expected output? What do you see instead?

It should compile. There is an error

pyoptools/wavefront/field/field.c: In function 
‘__pyx_pf_9pyoptools_9wavefront_5field_5field_5Field__rs_kernel’:
pyoptools/wavefront/field/field.c:4383: error: incompatible types when 
assigning to type ‘__pyx_t_5numpy_complex64_t’ from type 
‘__pyx_t_float_complex’

Original issue reported on code.google.com by [email protected] on 25 Oct 2010 at 3:17

Installing on Enthought OSX

What steps will reproduce the problem?
1. Trying to install in OS X 10.7

Here is what I did:
- Install gcc using https://github.com/kennethreitz/osx-gcc-installer
- cd to the pyoptools, when typing python setup.py install I get an error in 
line 80:
print string.join(l, '\n')

change this to simply: print l

choose one

this should compile and install the files in the user lib space. In my case:
/Users/carlos/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pyoptools

when typing from pyoptools.all import *

I get an error in zernike.py

change the following line:
from scipy import factorial, arange, comb as binomial
to:
from scipy import arange
from scipy.misc import factorial, comb as binomial

In principle I could use the math definitions but scipy is faster

Now I need to install OSMesa


Original issue reported on code.google.com by [email protected] on 5 Oct 2013 at 9:54

Not compiling in 32 bits architecture

What steps will reproduce the problem?
1. Download the pyoptools
2. python setup.py build_ext -i


What is the expected output? What do you see instead?

It should compile. There is an error

pyoptools/wavefront/field/field.c: In function 
‘__pyx_pf_9pyoptools_9wavefront_5field_5field_5Field__rs_kernel’:
pyoptools/wavefront/field/field.c:4383: error: incompatible types when 
assigning to type ‘__pyx_t_5numpy_complex64_t’ from type 
‘__pyx_t_float_complex’

Original issue reported on code.google.com by [email protected] on 25 Oct 2010 at 3:18

Cosas por adicionar a pyoptools

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jun 2012 at 9:55

Nombre erroneo de algoritmo

En internet, al buscar Gerber-Saxton aparece una conexion con documentacion 
antigua de pyoptools. Para futuras referencias hay que modificar este nombre 
por Gerchberg-Saxton.  

Original issue reported on code.google.com by [email protected] on 7 Jul 2012 at 12:00

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.