When I try the example condor/examples/scripts/custom_map/example.py I get:
$ python example.py
Simulating map
WARNING: File ./condor.cxi exists and is being overwritten
Traceback (most recent call last):
File "example.py", line 39, in <module>
res = E.propagate()
File "/Library/Python/2.7/site-packages/condor/utils/log.py", line 60, in st_func
r = func(*args, **keyArgs)
File "/Library/Python/2.7/site-packages/condor/experiment.py", line 168, in propagate
D_particles = self._get_next_particles()
File "/Library/Python/2.7/site-packages/condor/experiment.py", line 152, in _get_next_particles
D_particles["particle_%02i" % i] = p.get_next()
File "/Library/Python/2.7/site-packages/condor/particle/particle_map.py", line 204, in get_next
O = AbstractContinuousParticle.get_next(self)
File "/Library/Python/2.7/site-packages/condor/particle/particle_abstract.py", line 266, in get_next
O = AbstractParticle.get_next(self)
File "/Library/Python/2.7/site-packages/condor/particle/particle_abstract.py", line 97, in get_next
O["extrinsic_quaternion"] = self._get_next_extrinsic_rotation().get_as_quaternion()
File "/Library/Python/2.7/site-packages/condor/particle/particle_abstract.py", line 152, in _get_next_extrinsic_rotation
rotation = self._rotations.get_next_rotation()
File "/Library/Python/2.7/site-packages/condor/utils/rotation.py", line 340, in get_next_rotation
self._rotations[0]._set_as_random_formalism(self._formalism)
File "/Library/Python/2.7/site-packages/condor/utils/rotation.py", line 146, in _set_as_random_formalism
self.set_as_random()
File "/Library/Python/2.7/site-packages/condor/utils/rotation.py", line 158, in set_as_random
q = rand_quat()
When I try the example
condor/examples/scripts/custom_map/example.py
I get:Looks like
rand_quat()
is not defined anywhere.