This documentation page refers to a previous release of DIALS (1.14).
Click here to go to the corresponding page for the latest version of DIALS

Extensions

Table of Contents

class dials.extensions.simple_background_ext.SimpleBackgroundExt(params, experiments)[source]

Bases: object

An extension class implementing simple background subtraction.

compute_background(reflections, image_volume=None)[source]

Compute the background.

Parameters:reflections – The list of reflections
name = 'simple'
classmethod phil()[source]
class dials.extensions.null_background_ext.NullBackgroundExt(params, experiments)[source]

Bases: object

An extension class implementing Null background subtraction.

compute_background(reflections, image_volume=None)[source]

Compute the background.

Parameters:reflections – The list of reflections
name = 'null'
class dials.extensions.dispersion_spotfinder_threshold_ext.DispersionSpotFinderThresholdExt(params)[source]

Bases: object

Extensions to do dispersion threshold.

compute_threshold(image, mask)[source]

Compute the threshold.

Parameters:
  • image – The image to process
  • mask – The pixel mask on the image
Returns:

A boolean mask showing foreground/background pixels

default = True
name = 'dispersion'
classmethod phil()[source]
dials.extensions.dispersion_spotfinder_threshold_ext.estimate_global_threshold(image, mask=None, plot=False)[source]
class dials.extensions.simple_centroid_ext.SimpleCentroidExt(params, experiments)[source]

Bases: object

An extension class implementing a simple centroid algorithm.

compute_centroid(reflections, image_volume=None)[source]

Compute the centroid.

Parameters:reflections – The list of reflections
default = True
name = 'simple'
class dials.extensions.gaussian_rs_profile_model_ext.GaussianRSProfileModelExt[source]

Bases: object

An extension class implementing a reciprocal space gaussian profile model.

classmethod algorithm()[source]
default = True
classmethod from_dict(d)[source]
name = 'gaussian_rs'
classmethod phil()[source]