35 dmap.get_header_writable().set_resolution(resolution)
41 sampled_input_density.set_particles(ps)
42 sampled_input_density.resample()
43 sampled_input_density.calcRMS()
47 dmap,sampled_input_density,sampled_input_density.get_header().dmin)
48 print "The CC score of the native transformation is:",best_score
55 rand_angle = random.uniform(-70./180*math.pi,70./180*math.pi)
71 sampled_input_density.resample()
72 sampled_input_density.calcRMS()
75 dmap,sampled_input_density,sampled_input_density.get_header().dmin)
77 print "The start score is:",start_score,
"with rmsd of:",start_rmsd
80 print "preforming local refinement, may run for 3-4 minutes"
84 sampled_input_density.resample()
85 sampled_input_density.calcRMS()
88 dmap,sampled_input_density,sampled_input_density.get_header().dmin)
89 print "The score after centering is:",score2,
"with rmsd of:",rmsd
97 mh.get_particle(),refiner,
103 print "The start score is:",start_score,
"with rmsd of:",start_rmsd
104 for i
in range(fitting_sols.get_number_of_solutions()):
111 print "Fit with index:",i,
" with cc: ",1.-fitting_sols.get_score(i),
" and rmsd to native of:",rmsd