AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

NEW: Implement a orthogonal probe relaxation function #101

Open carterbox opened 3 years ago

carterbox commented 3 years ago

Purpose

Implementing orthrogonal probe relaxation.

Approach

Instead of a common probe, the probe at each scan position is allowed to be slightly different from the others. This is accomplished by having each probe a weighted average of a unique probe and the first N principal components of all of the probes.

Pre-Merge Checklists

Submitter

Reviewer

pep8speaks commented 3 years ago

Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 133:9: E741 ambiguous variable name 'I' Line 143:5: E301 expected 1 blank line, found 0

Line 481:47: W605 invalid escape sequence '\s' Line 572:81: E501 line too long (81 > 80 characters)

Line 72:81: E501 line too long (85 > 80 characters)

Comment last updated at 2021-09-28 16:21:54 UTC