In random_rotation, uniform random numbers are generated between zero and 360.
|
phi = random.uniform(0.,360.) |
I copied part of this code for my project and found that phi should actually be in radians, so that the range should be between 0 and 2pi. Unless something is somehow different on my system.
In
random_rotation, uniform random numbers are generated between zero and 360.pmx/pmx/atomselection.py
Line 314 in 8176f79
I copied part of this code for my project and found that phi should actually be in radians, so that the range should be between 0 and 2pi. Unless something is somehow different on my system.