Skip to content

Conversation

@alex-rakowski
Copy link
Collaborator

Fixing an bug I introduced.

tested with:

test_ptycho = py4DSTEM.process.phase.SingleslicePtychographicReconstruction(
    datacube=test_dc,
    verbose=False,
    energy=energy,
    semiangle_cutoff=semiangle_cutoff,
    defocus=defocus,
    #device='gpu',
    object_padding_px=(num_detector_pixels//4,)*2,
    object_type='potential',
).preprocess(
    force_com_rotation=0,
    force_com_transpose=False,
    plot_rotation=False,
    plot_center_of_mass = False,
).reconstruct(**reconstruct_params) 

and

test_DPC = py4DSTEM.process.phase.DPCReconstruction(
    datacube=test_dc,
    verbose=False,
    energy=energy, 
).preprocess(
    force_com_rotation=0,
    force_com_transpose=False,
    plot_rotation=False,
    plot_center_of_mass = False,
).reconstruct(**reconstruct_params)

@bsavitzky bsavitzky merged commit 76ae0fa into py4dstem:dev Nov 14, 2023
bsavitzky added a commit to bsavitzky/py4DSTEM that referenced this pull request Nov 16, 2023
…tch"

This reverts commit 76ae0fa, reversing
changes made to e03f0a8.
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.

2 participants