jleinonen / pymiecoated Goto Github PK
View Code? Open in Web Editor NEWCalculating radar scattering properties of single- and dual-layered spheres
Calculating radar scattering properties of single- and dual-layered spheres
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
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
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
The name __setitem___ must be __setitem__.
The wrong naming results in the huge cache.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2015 at 7:37
Attachments:
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
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
Would you mind explicitly publishing the units required for all quantities. i.e. meters for radius and wavelength? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.