hexrdgui icon indicating copy to clipboard operation
hexrdgui copied to clipboard

Read *.poni file in hexrd

Open saransh13 opened this issue 1 year ago • 2 comments

saransh13 avatar Mar 29 '23 19:03 saransh13

@saransh13 Can we get an example file?

psavery avatar Apr 05 '23 12:04 psavery

I'm working on the conversion routines from Toni convention to hexrd convention currently. The routines are done but needs to be tested a little more. The file is a simple text file with a .poni extension. Example below:

# Calibration done at Wed Mar 22 11:11:23 2023
poni_version: 2
Detector: Detector
Detector_config: {"pixel1": 7.999999999999999e-05, "pixel2": 7.999999999999999e-05, "max_shape": null}
Distance: 0.10570145802789385
Poni1: 0.07223583875218986
Poni2: 0.0807606922221544
Rot1: -0.0030007754273235466
Rot2: -0.0018849339362371788
Rot3: 8.232282248253669e-10
Wavelength: 5.258678605310613e-11

saransh13 avatar Apr 05 '23 18:04 saransh13