dxtbx.model.scan¶
- class dxtbx.model.scan.ScanFactory[source]¶
Bases:
object
A factory for scan instances, to help with constructing the classes in a set of common circumstances.
- static add(scans)[source]¶
Sum a list of scans wrapping the slightly clumsy idiomatic method: sum(scans[1:], scans[0]).
- static from_dict(d, t=None)[source]¶
Convert the dictionary to a scan model
- Params:
d The dictionary of parameters t The template dictionary to use
- Returns
The scan model
- static imgCIF_H(cif_file, cbf_handle)[source]¶
Initialize a scan model from an imgCIF file handle, where it is assumed that the file has already been read.
- static make_scan(image_range, exposure_times, oscillation, epochs, batch_offset=0, deg=True)[source]¶