Open ninamiolane opened 2 years ago
This is close to being complete but some additional features are suggested and likely to be needed:
DFT[I] = fft3(fftshift(I))
. Also, the scaling factor of Fourier transform is important to identify clearly.Can try to put these into issues at some point but wanted to do a brain dump here
What?
config
input to the docstrings of the simSPI/linear_simulator/projector.py module.Why?
Cryo-EM image formation model has different characteristics depending on whether it is formulated in image space (real space) or Fourier space (reciprocal space).
The community needs to be able to experiment with both formulations of the image formation model.
Where?
Projector
class is located in the simSPI/linear_simulator/projector.py module.How?
config
input to theProjector
class to have aspace
key, where the value will be eitherimage
orfourier
.forward
method into a private_forward_image
method._forward_fourier
method, with the projection operation in fourier space.forward
method that calls either_forward_image
or_forward_fourier
depending on the value in theself.config
attribute.