ConvergenceFailureMultisphere test handling

Bug #1131894 reported by Jerome Fung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HoloPy
New
Undecided
Unassigned

Bug Description

Running on Odyssey, Python 2.7.1, Numpy 1.5.0b1

======================================================================
ERROR: holopy.scattering.tests.test_multisphere.test_overlap
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/n/sw/python-2.7.1/extra/python/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/n/home13/fung/holopy2/holopy/scattering/tests/test_multisphere.py", line 138, in test_overlap
    assert_raises(MultisphereExpansionNaN, Multisphere.calc_holo, sc, schema)
  File "/n/sw/python-2.7.1/lib/python2.7/unittest/case.py", line 456, in assertRaises
    callableObj(*args, **kwargs)
  File "<string>", line 2, in calc_holo
  File "/n/home13/fung/holopy2/holopy/scattering/binding_method.py", line 83, in _binding
    return f(*args, **kw)
  File "/n/home13/fung/holopy2/holopy/scattering/theory/scatteringtheory.py", line 158, in calc_holo
    scat = cls_self.calc_field(scatterer, schema = schema, scaling = scaling)
  File "/n/home13/fung/holopy2/holopy/scattering/theory/scatteringtheory.py", line 83, in calc_field
    return cls_self._calc_field(scatterer, schema) * scaling
  File "/n/home13/fung/holopy2/holopy/scattering/theory/multisphere.py", line 203, in _calc_field
    amn, lmax = self._scsmfo_setup(scatterer, schema.optics)
  File "/n/home13/fung/holopy2/holopy/scattering/theory/multisphere.py", line 171, in _scsmfo_setup
    raise ConvergenceFailureMultisphere()
ConvergenceFailureMultisphere: Multisphere calculations failed to converge, this probably means your scatterer is unphysical, or possibly just huge

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.