indexing

indexing

Functions

Types and Values

Description

Functions

INDEXING_DEFAULTS_DIRAX

#define             INDEXING_DEFAULTS_DIRAX

INDEXING_DEFAULTS_MOSFLM

#define             INDEXING_DEFAULTS_MOSFLM

INDEXING_DEFAULTS_XDS

#define             INDEXING_DEFAULTS_XDS

INDEXING_DEFAULTS_ASDF

#define             INDEXING_DEFAULTS_ASDF

INDEXING_DEFAULTS_FELIX

#define             INDEXING_DEFAULTS_FELIX

INDEXING_METHOD_MASK

#define INDEXING_METHOD_MASK (0xff)

INDEXING_CONTROL_FLAGS

#define INDEXING_CONTROL_FLAGS (INDEXING_RETRY | INDEXING_MULTI | INDEXING_REFINE)

build_indexer_list ()

IndexingMethod *
build_indexer_list (const char *str);

cleanup_indexing ()

void
cleanup_indexing (IndexingMethod *indms,
                  IndexingPrivate **privs);

prepare_indexing ()

IndexingPrivate **
prepare_indexing (IndexingMethod *indm,
                  UnitCell *cell,
                  struct detector *det,
                  float *ltl,
                  const char *options);

index_pattern ()

void
index_pattern (struct image *image,
               IndexingMethod *indms,
               IndexingPrivate **iprivs);

indexer_str ()

char *
indexer_str (IndexingMethod indm);

dirax_prepare ()

IndexingPrivate *
dirax_prepare (IndexingMethod *indm,
               UnitCell *cell,
               struct detector *det,
               float *ltl);

run_dirax ()

int
run_dirax (struct image *image,
           IndexingPrivate *ipriv);

dirax_cleanup ()

void
dirax_cleanup (IndexingPrivate *pp);

mosflm_prepare ()

IndexingPrivate *
mosflm_prepare (IndexingMethod *indm,
                UnitCell *cell,
                struct detector *det,
                float *ltl);

run_mosflm ()

int
run_mosflm (struct image *image,
            IndexingPrivate *ipriv);

mosflm_cleanup ()

void
mosflm_cleanup (IndexingPrivate *pp);

xds_prepare ()

IndexingPrivate *
xds_prepare (IndexingMethod *indm,
             UnitCell *cell,
             struct detector *det,
             float *ltl);

run_xds ()

int
run_xds (struct image *image,
         IndexingPrivate *ipriv);

xds_cleanup ()

void
xds_cleanup (IndexingPrivate *pp);

asdf_prepare ()

IndexingPrivate *
asdf_prepare (IndexingMethod *indm,
              UnitCell *cell,
              struct detector *det,
              float *ltl);

run_asdf ()

int
run_asdf (struct image *image,
          IndexingPrivate *ipriv);

asdf_cleanup ()

void
asdf_cleanup (IndexingPrivate *pp);

felix_prepare ()

IndexingPrivate *
felix_prepare (IndexingMethod *indm,
               UnitCell *cell,
               struct detector *det,
               float *ltl,
               const char *options);

felix_index ()

int
felix_index (struct image *image,
             IndexingPrivate *p);

felix_cleanup ()

void
felix_cleanup (IndexingPrivate *pp);

Types and Values

enum IndexingMethod

An enumeration of all the available indexing methods. The dummy value INDEXING_SIMULATION is used by partial_sim to indicate that no indexing was performed, and that the indexing results are just from simulation.

Members

INDEXING_NONE

No indexing to be performed

 

INDEXING_DIRAX

Invoke DirAx

 

INDEXING_MOSFLM

Invoke MOSFLM

 

INDEXING_FELIX

Invoke Felix

 

INDEXING_XDS

Invoke XDS

 

INDEXING_SIMULATION

Dummy value

 

INDEXING_DEBUG

Results injector for debugging

 

INDEXING_ASDF

Use in-built "asdf" indexer

 

INDEXING_CHECK_CELL_COMBINATIONS

Check linear combinations of unit cell axes for agreement with given cell.

 

INDEXING_CHECK_CELL_AXES

Check unit cell axes for agreement with given cell, and permute them if necessary.

 

INDEXING_CHECK_PEAKS

Check that the peaks can be explained by the indexing result.

 

INDEXING_USE_LATTICE_TYPE

Use lattice type and centering information to guide the indexing process.

 

INDEXING_USE_CELL_PARAMETERS

Use the unit cell parameters to guide the indexingprocess.

 

INDEXING_RETRY

If the indexer doesn't succeed, delete the weakest peaks and try again.

 

INDEXING_MULTI

If the indexer succeeds, delete the peaks explained by the lattice and try again in the hope of finding another crystal.

 

INDEXING_REFINE

Perform "prediction refinement" after indexing.

 

IndexingPrivate

typedef void *IndexingPrivate;

This is an opaque data structure containing information needed by the indexing method.