Skip to content
Discussion options

You must be logged in to vote

Hey,
the simulator you set up in this way contains the forward model.
So for example you can do:
frame = sim_test.psf.forward(torch.tensor([[20,20,10]]), torch.tensor([1]))
To simulate a single PSF at position 20,20,10 with and an intensity of 1.
At the bottom of this function, you can see how afterwards the background is added and noise simulated: https://github.com/TuragaLab/DECODE/blob/master/decode/simulation/simulator.py

PS: If you have another question add @ASpeiser to the message so I get sent a notification.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ASpeiser
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants