Skip to content

Ptycho improvements#570

Merged
ercius merged 12 commits into
mainfrom
ptycho_improvements
Feb 11, 2026
Merged

Ptycho improvements#570
ercius merged 12 commits into
mainfrom
ptycho_improvements

Conversation

@ercius

@ercius ercius commented Jan 31, 2026

Copy link
Copy Markdown
Collaborator

This adds updates to the ptycho operator which will allow more fine grained control of optimization parameters. I removed some unnecessary parameters and added some new ones. The defocus, diffraction angle, and C12 optimization can now be turned on and off with bool parameters.

@ercius

ercius commented Jan 31, 2026

Copy link
Copy Markdown
Collaborator Author

@smribet Can you check my logic here for optimizing parameters based on how you usually do ptycho?

@ercius ercius mentioned this pull request Jan 31, 2026
4 tasks

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 77de16a1eb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread operators/quantem-direct-ptycho/operator.json Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py Outdated
Comment thread operators/quantem-direct-ptycho/run.py
@ercius

ercius commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator Author

@cjh1 Can you look at this? We want to get this running for our next experiment. It works locally on my dev machine.

Also, can you pull the new container to NERSC?

@cjh1

cjh1 commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

@cjh1 Can you look at this? We want to get this running for our next experiment. It works locally on my dev machine.

Also, can you pull the new container to NERSC?

Sure, I will take a look, when is your next experiment?

@ercius

ercius commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator Author

It will probably be in a few weeks. The scope is fairly busy until then.

@cjh1

cjh1 commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

It will probably be in a few weeks. The scope is fairly busy until then.

Ok, will take a look soon.

@cjh1 cjh1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once this is merged the operator image will be build by github actions.

@ercius ercius merged commit 7fe552d into main Feb 11, 2026
10 of 19 checks passed
@ercius ercius deleted the ptycho_improvements branch February 11, 2026 20:10
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.

3 participants