Skip to content

Fix for detectors (inlc. angle space)#104

Open
jrphysics wants to merge 2 commits intoxzos:masterfrom
jrphysics:readDetector_fixes
Open

Fix for detectors (inlc. angle space)#104
jrphysics wants to merge 2 commits intoxzos:masterfrom
jrphysics:readDetector_fixes

Conversation

@jrphysics
Copy link

@jrphysics jrphysics commented Nov 20, 2020

This fixes #71.
This fixes #79.

Seems the number of digits in the exponential part isn't fixed, this was causing issues to to the regex pattern. Also the 'size' line gives somewhat different information for when looking at angle-space.

  • Allow 2 or 3 digits in exponential for peakIrr, totPow.
  • Change pattern to detect 'Size-Pixel-Hits' line.
  • Differentiate position- and angle-space detectors.
  • Handle angle-space data.

Julio Rodriguez and others added 2 commits November 20, 2020 10:25
- Allow 2 or 3 digits in exponential for peakIrr, totPow.
- Change pattern to detect 'Size-Pixel-Hits' line.
- Differentiate position- and angle-space detectors.
- Handle angle-space data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with saving NSC Detector text file Unable to use zSaveDetector

1 participant