Skip to content

Problem with saving results #38

@NG419

Description

@NG419

Hi,

I am a student in physics working on ptychography. For my FPM experiment I need to reconstruct the images so I gave PtyLab a try. Actually I manage to preprocess my datas, reconstruct and the plots look correct. But my problem is that whenever I try to save the results with the saveResults() function (put right after engine.reconstruct() just like in your jupyter tutorial)of the Reconstruction file I keep getting empty datas. This seems to be coming from the self.object array being an empty array of zeros but cannot find why. The same thing happens if I try to plot reconstruction.object directly after the reconstruction. Does anyone have a solution? Or another way to save the reconstructed image in its upscaled resolution?

Thank you very much,
NG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions