Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/x/CXPhasing-0.3.0/cxphasing/CXPhasing.py   CXPhasing(Download)
    def pos_correction_transform(self, i, itnum):
        # Generates trial position
        search_rad = CXP.reconstruction.ppc_search_radius
 
        r = self.annealing_schedule(itnum)
                    if i == 0:
                        self.log.info('Annealing schedule: {}. Value {:3.2f}'.format(CXP.reconstruction.ppc_annealing_schedule,
                                            self.annealing_schedule(self.itnum - CXP.reconstruction.ppc_begin)))
                    for j in range(1, 1 + CXP.reconstruction.ppc_trial_positions):
                        cx, cy = self.pos_correction_transform(i, self.itnum - CXP.reconstruction.ppc_begin)