-
Notifications
You must be signed in to change notification settings - Fork 24
Description
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!!!