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'¶
-
-
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
-
name
= 'dispersion'¶
-
-
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'¶
-