compSPI / cryoAI

MIT License
42 stars 6 forks source link

Confused about the simulation process #4

Open eugenejyuan opened 2 years ago

eugenejyuan commented 2 years ago

Hi, I have some confusion about the synthetic data generation process.

One is that I noticed the value of the original density volume data (.mrc) is processed by the following formula src/dataio.py#L177 $$mrc\_data = 2e4 (power\_signal / power\_init) (mrc\_data.shape[0] / projection\_sz[0]) * mrc\_data$$

Another question is about the snr parameter. I see the default value is 10 in configfile configfiles/mrc2star_80S_128.ini#L5. Usually SNR in cryoEM is believed near 0.1-0.01 or even lower. In the code, the sigma of additive Gaussian noise is controlled by $power\_signal/snr$ src/noise_utils.py#L10.