Giter Club home page Giter Club logo

pypolar's People

Contributors

actions-user avatar scottprahl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pypolar's Issues

mistake in fresnel.t_per_amplitude?

I think it's a mistake, but my energy to dig into it is flagging.
My concern was aroused when I was getting values of ts that were >1, and noticing that the figure in the docs "Similar to Hecht Figure 4.41" doesn't really look like that figure. (It is 4.41 in my edition, but in a newer edition it's 4.49) I wondered if the difference is immaterial; the amplitudes obey "conservation laws" that are not as simple as r + t = 1, so I tried to make it all work. I ran out of energy. I believe there is a mistake, but I can't unambiguously convince myself that it is so.

fresnel.t_per_amplitude has
ts = 2 * d / (m/n_i)/ (c + d)
which doesn't look correct to me.

while sym_fresnel.t_per_amplitude has
ts = 2 * c / (c + d)
which looks correct to me.

Thanks for this package. It has saved me a lot of time.
-gapster

dependency on serial

Am I right that pypolar depends on serial? I had strange issue installing pypolar using conda skeleton and serial from conda-forge. I don't know exactly what or why, but after installing pycolor and then serial my conda was rendered useless., throwing lots of errors. Guessing that the problem lies with the installation of serial, I will ask ...

How does pypolar use serial, and more to the point, can pypolar run without serial? If so, which modules use serial?

As I said, I'm guessing what caused the problem. and since it's a bit hard to see what serial does for pypolar, I'm starting there as a work-around.

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.