Skip to content

Enquiry about fixing the probe during reconstruction #595

@tingyouli

Description

@tingyouli

Dear Contributors,
Happy New Year!

I tried to fix a ground truth probe during reconstruction, this probe is what I used for simulating the diffraction patterns. To do this, I tried set
probe=np.load("data/probe.npy")
p.scans.scan_00.illumination.model = probe
p.engines.engine.probe_update_start = 10000

here, the probe_update_start is large than the total steps, so it won't update the probe until end.
Though the model seems to work well with the output, I carefully checked find that the probe that comes last after reconstruction is not the same as what I fixed in the illumination.model. I want the final reconstructed probe is the same as the probe loaded here.
e.g. list(P.probe.S.values())[0] is equal to np.load("data/probe.npy").

I don't know what is wrong with this, can you help me identify what is wrong with this code?
Thank you so much!!!

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