Configuration Guide
Dragonfly uses configuration files (typically config.ini) that organize parameters
by workflow section. The first few sections correspond to the data stream simulator workflow.
If processing experimental data with a known detector file, only the [emc] section is needed.
Geometry Parameters
The [parameters] section defines the experimental geometry:
Parameter |
Description |
|---|---|
|
Detector distance (millimeters) |
|
Photon wavelength (Angstrom) |
|
Linear detector size (pixels, integer) |
|
Pixel size (millimeters) |
|
Beamstop radius (pixels, float) |
|
Polarization correction (‘x’, ‘y’, or ‘none’) |
make_densities Section
Creates electron density map from PDB file.
Parameter |
Description |
|---|---|
|
PDB code to fetch (alternative to |
|
Path to custom PDB file |
|
Directory with atomic scattering factors (Henke table) |
|
Output electron density file |
make_intensities Section
Creates 3D intensity map from electron density with low-pass filtering.
Parameter |
Description |
|---|---|
|
Input density file (e.g., |
|
Output 3D intensity file |
make_detector Section
Generates detector geometry file.
Parameter |
Description |
|---|---|
|
Output detector geometry file |
make_data Section
Simulates photon diffraction patterns.
Parameter |
Description |
|---|---|
|
Number of data frames to simulate |
|
Incident photon fluence (photons/um^2) |
|
Detector geometry file |
|
Input 3D intensity volume |
|
Output photon data file |
EMC Section
Parameters for the EMC reconstruction.
Parameter |
Description |
|---|---|
|
Input photon data file |
|
Detector geometry file |
|
Quaternion sampling refinement ( |
|
Initial annealing value. Use |
|
Additional multiplicative factor applied to the starting |
|
Increase the effective |
|
Directory for output files |
|
Reconstruction log file |
|
Fluence scaling (0=off, 1=on) |
Configuration Chaining
Use ::: syntax to link outputs between sections:
in_detector_file = make_detector:::out_detector_file
in_photons_file = make_data:::out_photons_file
This chains the output of one module as input to another.