io#
Reading and writing other programs’ formats, e.g. ImageD11 parameters, TensorMaps, sparse and DataSet files.
Functions
|
Beam from ImageD11 parameters: |
|
Detector geometry from ImageD11 parameters, for mapping between detector pixels and the lab frame. |
|
Map entries for one phase of a 2D ImageD11 TensorMap, at sample-frame positions. |
|
Build the geometry dict for |
|
Goniometer geometry from ImageD11 parameters. |
|
Regular (dty row, frame) grid of motor positions for a phantom scan. |
|
Read ahead: produce the items of an iterable in a background thread, up to |
|
Read the scan layout of an ImageD11 DataSet file, without ImageD11. |
|
Each frame's dty: the DataSet's (corrected) dty of its row, plus the motion of dty within the row. |
|
Read a counter (e.g. "fpico6") for each scan group, frame by frame, as ImageD11's |
|
Read an ImageD11 |
|
Read the geometry and one phase from an ImageD11 |
|
Read a DataSet's detector distortion maps, as ImageD11 corrects its peaks with them. |
|
Render every dty row of a scan and write the sparse pixels file, one row at a time. |
|
Read sparse pixels a chunk at a time, with each frame's dty row. |
|
Build a single-phase 2D ImageD11 TensorMap from maps in reconstruction order. |
|
Write an ImageD11 DataSet file for a sparse pixels file, ready for the S3DXRD pipeline. |
|
Write ImageD11 parameters as a |
|
Write ImageD11 parameter files: |
|
Label the sparse pixels into ImageD11's peaks table: the last step of a simulation. |
|
Write one dty row of sparse pixels as an ImageD11 scan group. |
|
Write |