seto77 / ReciPro

The software ReciPro makes various crystallographic calculations, visualizes a crystal structure, simulates a diffraction pattern and high-resolution TEM image, indexes diffraction spots, plots stereographic projection, and so on.
https://seto77.github.io/ReciPro/
Other
117 stars 13 forks source link

Spot ID v2 - image calibration #25

Open snowdrop6 opened 1 year ago

snowdrop6 commented 1 year ago

Hello,

In the 'Optics' menu, there are two inputs for calibration, which are 'Camera Length' and 'Pixel Size'. I'm not sure how to set those values.

Usually, camera length of DP images are not well known and correct. So I use the pixel size to calibrate the DP images. But the dimension in DP should be reciprocal. However, in the 'Pixel Size', the value is mm unit. So I'm confused.

Please guide how to set the values to properly calibrate DP images. Thanks.

seto77 commented 1 year ago

Thank you for your request for improvement. In the new version, I have added an option to allow you to input pixel size in units of reciprocal space. Please try ver 4.867. If you find any bugs, please do not hesitate to let me know.

snowdrop6 commented 1 year ago

Thank yo for addressing it quickly. I have one more request. By clicking 'Detect & fit spots', SW automatically assigns a transmitted beam (No. 0). Can you add a function to manually set one of the detected spots to the transmitted beam? In current version, a far-located beam is normally set to the No. 0 beam.

Additionally, maybe re-sort the number in order of d values?

seto77 commented 1 year ago

Direct spots can be changed using the checkbox in the leftmost column of the table. To sort by d values, click on "d (nm)" in the header. image