Skip to content

Change the way the probe is saved from fancy_ptycho #50

Description

@allevitan

I've noticed that many people get confused by the fact that the probe is not saved out in the same resolution as the object.

I'd like to change the default behavior of fancy_ptycho.save_results() so that the probe in the results dictionary has a pixel size matching that of the object. The probe stored in the state_dict would be unchanged (in low resolution). The same updates would apply to the probe_basis in the state_dict and main dictionary.

We could implement this by introducing a command line arg to fancy_ptycho.save_results(), e.g. "full_res_probe=True", so that any breakage of backward compatible code could be fixed by changing the argument.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions