dyadkin a1eac2f163
ci publish (linux + win + macos) / linux (push) Successful in 4m20s
ci publish (linux + win + macos) / win (push) Successful in 8m54s
ci publish (linux + win + macos) / mac (push) Successful in 14m47s
ci publish (linux + win + macos) / promote (push) Successful in 10s
ci publish (linux + win + macos) / cleanup-staging (push) Successful in 8s
Bump crates
2026-10-22 11:25:10 +02:00
2026-10-07 13:44:45 +02:00
2022-04-20 15:47:04 +02:00
2026-05-05 11:01:42 +02:00
2026-10-22 11:25:10 +02:00
2026-07-21 11:24:35 +02:00
2022-04-22 15:08:11 +02:00

Ponier - automatic poni producer

Suppose you have a Pilatus CBF files with measured calibrants (LaB6) in different detector-samples positions.

$ ls -la
-rw-r--r--  1 opd01 opd01 2921841 Apr 22 09:02 lab6_000_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 3087531 Apr 22 09:03 lab6_000_-80_0001p.cbf
-rw-r--r--  1 opd01 opd01 2768191 Apr 22 09:04 lab6_100_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 2804383 Apr 22 09:04 lab6_100_-80_0001p.cbf
-rw-r--r--  1 opd01 opd01 2671913 Apr 22 09:05 lab6_200_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 2678583 Apr 22 09:06 lab6_200_-80_0001p.cbf
-rw-r--r--  1 opd01 opd01 2614173 Apr 22 09:07 lab6_300_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 2608765 Apr 22 09:06 lab6_300_-80_0001p.cbf
-rw-r--r--  1 opd01 opd01 2579453 Apr 22 09:08 lab6_400_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 2580377 Apr 22 09:08 lab6_400_-80_0001p.cbf
-rw-r--r--  1 opd01 opd01 2554891 Apr 22 09:10 lab6_500_00_0001p.cbf
-rw-r--r--  1 opd01 opd01 2545045 Apr 22 09:09 lab6_500_-80_0001p.cbf

then just type:

$ ponier

Ponier automatically produces the poni files for all the calibrants. The CBF headers must include

  • pixel size (CBF header key # Pixel_size);
  • beam center (CBF header key # Beam_xy);
  • sample-detector distance (CBF header key # Detector_distance);
  • optionally wavelength (CBF header key # Wavelength).

The wavelength can be also supplied via -w argument.

S
Description
Fast poni producer for calibration data
Readme
353 KiB
0 Stars 1 Watchers 0 Forks
Languages
Makefile 73.3%
Rust 26.7%