Click here to go to the corresponding page for the latest version of DIALS
dxtbx.imageset¶
-
class
dxtbx.imageset.
FilenameAnalyser
[source]¶ Bases:
object
Group images by filename into image sets.
-
class
dxtbx.imageset.
ImageSetAux
[source]¶ Bases:
boost.python.injector
,dxtbx_imageset_ext.ImageSet
A class to inject additional methods into the imageset class
-
class
dxtbx.imageset.
ImageSetFactory
[source]¶ Bases:
object
Factory to create imagesets and sweeps.
-
static
from_template
(template, image_range=None, check_headers=False, check_format=True, beam=None, detector=None, goniometer=None, scan=None)[source]¶ Create a new sweep from a template.
- Params:
- template The template argument image_range The image range check_headers Check the headers to ensure all images are valid
Returns: A list of sweeps
-
static
imageset_from_anyset
(imageset)[source]¶ Create a new ImageSet object from an imageset object. Converts ImageSweep to ImageSet.
-
static
make_imageset
(filenames, format_class=None, check_format=True, single_file_indices=None, format_kwargs=None)[source]¶ Create an image set
-
static
-
class
dxtbx.imageset.
ImageSetLazy
[source]¶ Bases:
dxtbx_imageset_ext.ImageSet
Lazy ImageSet class that doesn’t necessitate setting the models ahead of time. Only when a particular model (like detector or beam) for an image is requested, it sets the model using the format class and then returns the model
-
get_beam
((ImageSet)arg1[, (int)index=0]) → BeamBase :[source]¶ - C++ signature :
- boost::shared_ptr<dxtbx::model::BeamBase> get_beam(dxtbx::ImageSet {lvalue} [,unsigned long=0])
-
get_corrected_data
((ImageSet)arg1, (int)arg2) → tuple :[source]¶ - C++ signature :
- boost::python::tuple get_corrected_data(dxtbx::ImageSet {lvalue},unsigned long)
-
get_detector
((ImageSet)arg1[, (int)index=0]) → Detector :[source]¶ - C++ signature :
- boost::shared_ptr<dxtbx::model::Detector> get_detector(dxtbx::ImageSet {lvalue} [,unsigned long=0])
-
get_gain
((ImageSet)arg1, (int)arg2) → tuple :[source]¶ - C++ signature :
- boost::python::tuple get_gain(dxtbx::ImageSet {lvalue},unsigned long)
-
-
class
dxtbx.imageset.
ImageSweepAux
[source]¶ Bases:
boost.python.injector
,dxtbx_imageset_ext.ImageSweep