Click here to go to the corresponding page for the latest version of DIALS
dials.algorithms.indexing¶
-
class
dials.algorithms.indexing.indexer.
Solution
(**keyword_arguments)[source]¶ Bases:
libtbx.group_args
-
class
dials.algorithms.indexing.indexer.
SolutionTrackerFilter
(check_doubled_cell=True, likelihood_cutoff=0.8, volume_cutoff=1.25, n_indexed_cutoff=0.9)[source]¶ Bases:
object
-
class
dials.algorithms.indexing.indexer.
SolutionTrackerWeighted
(power=2, volume_weight=1, n_indexed_weight=1, rmsd_weight=1)[source]¶ Bases:
object
-
class
dials.algorithms.indexing.indexer.
basis_vector_minimser
(reciprocal_lattice_points, vector, lbfgs_termination_params=None, lbfgs_core_params=<scitbx.lbfgs.core_parameters object>)[source]¶ Bases:
object
-
class
dials.algorithms.indexing.indexer.
basis_vector_target
(reciprocal_lattice_points)[source]¶ Bases:
object
-
dials.algorithms.indexing.indexer.
detect_non_primitive_basis
(miller_indices, threshold=0.9)[source]¶
-
dials.algorithms.indexing.indexer.
filter_reflections_by_scan_range
(reflections, scan_range)[source]¶
-
class
dials.algorithms.indexing.indexer.
indexer_base
(reflections, imagesets, params=None)[source]¶ Bases:
object
-
static
map_centroids_to_reciprocal_space
(spots_mm, detector, beam, goniometer, calculated=False)[source]¶ Map mm/radian spot centroids to reciprocal space.
Used to convert spot centroids provided in mm/radian units to reciprocal space as required for indexing. Adds the column ‘rlp’ to the reflection table, which contains a
flex.vec3_double
array of the reciprocal lattice vectors.Parameters: - spots_mm (dials.array_family.flex.reflection_table) – a reflection table containing the column ‘xyzobs.mm.value’
- detector (dxtbx.model.detector.Detector) – a dxtbx detector object
- beam (dxtbx.model.beam.Beam) – a dxtbx beam object
- goniometer (dxtbx.model.goniometer.Goniometer) – a dxtbx goniometer object. May be None, e.g. for a still image
-
static
map_spots_pixel_to_mm_rad
(spots, detector, scan)[source]¶ Map spot centroids from pixel/image number to mm/radian.
Used to convert spot centroids coming from e.g. dials.find_spots which are in pixel/image number units to mm/radian units as required for indexing and refinement.
Parameters: - spots (dials.array_family.flex.reflection_table) – a reflection table containing the columns ‘xyzobs.px.value’, ‘xyzobs.px.variance’ and ‘panel’
- detector (dxtbx.model.detector.Detector) – a dxtbx detector object
- scan (dxtbx.model.scan.Scan) – a dxtbx scan object. May be None, e.g. for a still image
Returns: A copy of the input reflection table containing the additional keys ‘xyzobs.mm.value’ and ‘xyzobs.mm.variance’
Return type: dials.array_family.flex.reflection_table
-
static
-
dials.algorithms.indexing.indexer.
is_approximate_integer_multiple
(vec_a, vec_b, relative_tolerance=0.2, angular_tolerance=5.0)[source]¶
-
dials.algorithms.indexing.indexer.
optimise_basis_vectors
(reciprocal_lattice_points, vectors)[source]¶
-
dials.algorithms.indexing.indexer.
plot_centroid_weights_histograms
(reflections, n_slots=50)[source]¶
-
dials.algorithms.indexing.indexer.
reject_weight_outliers_selection
(reflections, sigma_cutoff=5)[source]¶
-
dials.algorithms.indexing.fft3d.
sampling_volume_map
(data, angle_range, beam_vector, rotation_axis, rl_grid_spacing, d_min, b_iso)[source]¶
-
class
dials.algorithms.indexing.real_space_grid_search.
indexer_real_space_grid_search
(reflections, imagesets, params)[source]¶
-
dials.algorithms.indexing.compare_orientation_matrices.
difference_rotation_matrix_axis_angle
(crystal_a, crystal_b, target_angle=0)[source]¶
-
dials.algorithms.indexing.compare_orientation_matrices.
rotation_matrix_differences
(crystal_models, miller_indices=None, comparison='pairwise')[source]¶
-
dials.algorithms.indexing.compare_orientation_matrices.
show_rotation_matrix_differences
(crystal_models, out=None, miller_indices=None, comparison='pairwise')[source]¶
-
class
dials.algorithms.indexing.symmetry.
bravais_setting
(other)[source]¶ Bases:
rstbx.symmetry.subgroup.MetricSubgroup
-
dials.algorithms.indexing.symmetry.
dials_crystal_from_orientation
(crystal_orientation, space_group)[source]¶
-
dials.algorithms.indexing.symmetry.
find_matching_symmetry
(unit_cell, target_space_group, max_delta=5)[source]¶
-
dials.algorithms.indexing.symmetry.
refined_settings_factory_from_refined_triclinic
(params, experiments, reflections, i_setting=None, lepage_max_delta=5.0, nproc=1, refiner_verbosity=0)[source]¶