File formats¶
Diffraction frames are saved in the CBF file format, and STEM images in the TIFF format. A diffraction series can also be converted to SFRM, and to diffraction TIFF with a PETS2 input file. Collected images are never overwritten; every run gets a new numbered folder.
Where the files go¶
eldix_data/<account>/<workspace>/<project>/<sample>/ in your home folder, or the confirmed
grid's subfolder (see Holders and grids):
<sample>/
├─ ManualED/
│ ├─ Single/ single diffraction shots
│ ├─ NN/ a diffraction series taken by hand
│ │ ├─ <sample>_NN_0001.cbf …
│ │ ├─ SFRM/ if "convert to sfrm" is on
│ │ ├─ TIFF/ if "convert to tiff" is on (also holds the .pts2 file)
│ │ ├─ STEM/ the STEM images of this run
│ │ └─ Failed_NN/ an attempt repeated after a beam fault
│ ├─ Decay_NN/ a sample-decay run
│ │ ├─ Analysis/ the spot analysis
│ │ └─ STEM/ the STEM images of this run
│ └─ STEM/
│ ├─ Single/ single STEM images
│ └─ STEM_Series_NN/ a STEM series (also from centering)
├─ MappingED/
│ ├─ Map_NN/ a Full mapping run
│ │ ├─ STEM_Overview/
│ │ └─ Mesh_NN/
│ │ ├─ STEM_Mesh/
│ │ └─ NN/ one particle
│ │ ├─ STEM_Particle/
│ │ └─ Failed_NN/ an attempt that failed and was repeated
│ └─ StoredParticles_NN/
│ ├─ STEM_Overview/ the grid-width image, if one was taken
│ └─ NN/ one particle
│ ├─ STEM_Particle/
│ └─ Failed_NN/ as for Map_NN
├─ SerialED/
│ ├─ SerialED_NN/ as Map_NN
│ └─ BlindSerialED_NN/
│ └─ STEM_Overview/ the STEM image of the raster
├─ Processing/ see Processing
└─ Report.html the sample report
See also Processing and Sample report.
File names¶
| Files | Name |
|---|---|
| Single diffraction shot | <sample>_Single_NNNN.cbf |
| Diffraction series taken by hand | <sample>_<series>_NNNN.cbf, for example MySample_02_0001.cbf |
| Sample-decay run | <sample>_Decay_NN_NNNN.cbf |
| Particle of a mapping run | <sample>_<run>_<mesh>_<particle>_NNNN.cbf, for example MySample_Map_01_Mesh_04_07_0001.cbf |
| Stored particle | <sample>_StoredParticles_NN_<particle>_NNNN.cbf |
| Raster point (SerialED) | run or particle name, then _x<column>y<row>_NNNN.cbf; a continuous-X row ends in _y<row>_NNNN.cbf |
| SFRM / diffraction TIFF | same name in SFRM/ or TIFF/ |
| PETS2 input | one <base>.pts2 per series in TIFF/ |
| Single STEM image | <sample>_STEM_Single_NNNN_FOV_<fov>_PHI_<φ>.tiff |
| STEM series | <sample>_STEM_Series_NN_NNNN_FOV_<fov>_PHI_<φ>.tiff |
| STEM image taken during a run | the name of the run, mesh or particle it belongs to, then _NNNN_FOV_<fov>_PHI_<φ>.tiff |
<sample> is the sample ID. The parts after it are the run, mesh and particle folders the file
belongs to; a raster point or row adds its position.
File names are shortened when a full path would pass 250 characters. Later renames do not rename the shortened files, so prefer shorter account, workspace, project, sample and grid subfolder names.
Diffraction — CBF¶
Each frame is one CBF file with a PILATUS miniCBF header. Besides the detector geometry, the header
records the electron wavelength, beam state, dose, stage positions, the project and sample
descriptions and the file's own path (Image_path).
STEM — TIFF¶
STEM images are 16-bit TIFF files. The header records the acquisition settings, stage positions and φ, and the AI particle recognition results that the viewer draws as markers.
Conversions — SFRM, diffraction TIFF and PETS2¶
Turn the conversions on in the Special Options of the DIFFRACTION panel on the Manual page (see Manual operation):
- SFRM (Bruker/APEX) files keep the full counts.
- Diffraction TIFF files (16-bit) are for PETS2 and the ELDICO tools, and carry the full CBF
header. Counts above 65535 are capped. One
.pts2file is written per series; it tells PETS2 to ignore the capped pixels.
A non-square frame (the ELA detector reads 1028 × 512) is padded with zeros to a square, and the beam center is shifted to match.
Only multi-frame runs are converted; a single shot is saved as CBF only. If a conversion fails, the CBF file is kept.
Renaming a workspace, project or sample (see Accounts and samples) also updates the paths and file names stored inside CBF, TIFF, SFRM and PETS2 files.