Example #1
0
        def select_images(self, fp):
            from xia2.Modules.Indexer.IndexerSelectImages import (
                index_select_images_lone, )

            phi_width = fp.get_header_item("phi_width")
            images = fp.get_matching_images()
            return index_select_images_lone(phi_width, images)
Example #2
0
    def _index_select_images(self):
        '''Select correct images based on image headers.'''

        phi_width = self.get_phi_width()
        images = self.get_matching_images()

        if PhilIndex.params.xia2.settings.interactive == True:
            selected_images = index_select_images_user(phi_width, images,
                                                       Chatter)
        else:
            selected_images = index_select_images_lone(phi_width, images)

        for image in selected_images:
            Debug.write('Selected image %s' % image)
            self.add_indexer_image_wedge(image)
Example #3
0
  def _index_select_images(self):
    '''Select correct images based on image headers.'''

    phi_width = self.get_phi_width()
    images = self.get_matching_images()

    if Flags.get_interactive():
      selected_images = index_select_images_user(phi_width, images,
                                                 Chatter)
    else:
      selected_images = index_select_images_lone(phi_width, images)

    for image in selected_images:
      Debug.write('Selected image %s' % image)
      self.add_indexer_image_wedge(image)

    return
    def _index_select_images(self):
        """Select correct images based on image headers."""

        if PhilIndex.params.xia2.settings.small_molecule:
            return self._index_select_images_small_molecule()

        phi_width = self.get_phi_width()
        images = self.get_matching_images()

        if PhilIndex.params.xia2.settings.interactive:
            selected_images = index_select_images_user(phi_width, images, Chatter)
        else:
            selected_images = index_select_images_lone(phi_width, images)

        for image in selected_images:
            Debug.write("Selected image %s" % image)
            self.add_indexer_image_wedge(image)
Example #5
0
 def select_images(self, fp):
   from xia2.Handlers.Streams import Debug
   from xia2.Modules.Indexer.IndexerSelectImages import index_select_images_lone
   phi_width = fp.get_header_item('phi_width')
   images = fp.get_matching_images()
   return index_select_images_lone(phi_width, images)
Example #6
0
 def select_images(self, fp):
     from xia2.Handlers.Streams import Debug
     from xia2.Modules.Indexer.IndexerSelectImages import index_select_images_lone
     phi_width = fp.get_header_item('phi_width')
     images = fp.get_matching_images()
     return index_select_images_lone(phi_width, images)