https://github.com/pmiddend/rust-crystfel-tools
Random Rust-based tools to do something with CrystFEL files
https://github.com/pmiddend/rust-crystfel-tools
crystallography crystfel
Last synced: about 1 year ago
JSON representation
Random Rust-based tools to do something with CrystFEL files
- Host: GitHub
- URL: https://github.com/pmiddend/rust-crystfel-tools
- Owner: pmiddend
- Created: 2025-03-26T09:56:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T10:30:51.000Z (about 1 year ago)
- Last Synced: 2025-03-26T10:34:56.927Z (about 1 year ago)
- Topics: crystallography, crystfel
- Language: Rust
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Indexed frame distribution
Will output statistics of indexed frames over time given a `.stream` file, binned by 1000 frames:
```
cargo run -r my.stream
```
The idea would be that you redirect the output to a file and plot this file using, for example, gnuplot:
```
cargo run -r my.stream > histogram.dat
gnuplot
gnuplot> set boxwidth 0.5
gnuplot> set output 'testimage.png'
gnuplot> set terminal png size 800,600
gnuplot> plot histogram.dat' with boxes
```
Resulting in something like this:

Where you can then see distribution of found indexed frames over time.
There is a full example gnuplot file in this repository under `uc-plot.gnuplot` and the command-line to run it is in `generate-example-plot.sh`