Giter Club home page Giter Club logo

pymiecoated's People

Contributors

jleinonen avatar mmn-overleaf avatar

Stargazers

 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

pymiecoated's Issues

FAIL: test_magnetic

FAIL: test_magnetic (pymiecoated.test.test_mie.MieTests)

Traceback (most recent call last):
File "/home/yogesh/anaconda/lib/python2.7/site-packages/pymiecoated/test/test_mie.py", line 108, in test_magnetic
self.assertLess(abs(S12_ref[0]-S12[0])/S12_ref[0], epsilon)
AssertionError: (4.4921206279178666e-14+5.3475134338212124e-15j) not less than 2.220446049250313e-14
Please help me to solve installation problem

The melting_hail demo does not show a plot

What steps will reproduce the problem?
1. Run the melting_hail demo with plot=True

What is the expected output? What do you see instead?
A plot of the results of the demo is expected, but does not appear.

What version of the product are you using? On what operating system?
pymiecoated 0.1.1 with Ubuntu 14.04

Please provide any additional information below.
This can be fixed by adding pyplot.show() to the end of the final if block at 
mie_demos.py (line 74)

Original issue reported on code.google.com by [email protected] on 25 Mar 2014 at 2:39

Part of run_tests (test_magnetic) fails

What steps will reproduce the problem?
1. Install pymiecoated using pip as described in instructions
2. Run the tests, again as described in instructions

What is the expected output? What do you see instead?
Test is expected to pass. For the failed test I get this output:

======================================================================
FAIL: test_magnetic (pymiecoated.test.test_mie.MieTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pymiecoated/test/test_mie.py", line 103, in test_magnetic
    self.assertLess(abs(ref-func())/ref, epsilon)
AssertionError: 2.2506123285866242e-14 not less than 2.220446049250313e-14

----------------------------------------------------------------------


What version of the product are you using? On what operating system?
pymiecoated version 0.1.1 on Ubuntu 14.04

Please provide any additional information below.
I tested on another computer running Ubuntu 12.04, and the issue does not occur 
on that one.


Original issue reported on code.google.com by [email protected] on 25 Mar 2014 at 2:33

test failed

What steps will reproduce the problem?
1. Clone with git
2. python setup.py install
3. Run the test.mie as instructed in the Instruction

The test failed with the following information:
FAIL: test_magnetic (pymiecoated.test.test_mie.MieTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "pymiecoated/test/test_mie.py", line 108, in test_magnetic
    self.assertLess(abs(S12_ref[0]-S12[0])/S12_ref[0], epsilon)
AssertionError: (4.4758213571384395e-14+5.3281104443037928e-15j) not less than 
2.220446049250313e-14

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

I'm using Ubuntu 14.04 system with anaconda distribution of python. 

Original issue reported on code.google.com by [email protected] on 24 Apr 2015 at 4:37

MieScatterProps.S12 should not cache result

What steps will reproduce the problem?
1. mie = Mie()
2. #initialize attributes
3. print mie.S12(-1)
4. print mie.S12(1)

What is the expected output? What do you see instead?
steps 3 and 4 should generate different values, however they both generate the 
value for the first case

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

Please provide any additional information below.
in mie_coated.py line 49 should be commented out.  It's causing the object to 
return a value based on a previous input parameter.

Original issue reported on code.google.com by [email protected] on 23 Feb 2013 at 11:44

Units?

Would you mind explicitly publishing the units required for all quantities. i.e. meters for radius and wavelength? Thanks.

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.