PrincetonUniversity / aspire

Algorithms for Single Particle Reconstruction
Other
13 stars 3 forks source link

Imaginary components in `cryo_project` #48

Closed janden closed 7 years ago

janden commented 7 years ago

When calling it through, cryo_gen_projections, for example through

cryo_gen_projections(64,1,1);

it crashes due to large imaginary components. This worked a while ago, so some of the changes that we've introduced must have broken it.

yoelsh commented 7 years ago

Fixed in iss48 and merged into master. The problem is probably due to the new NUFFT which creates small imaginary components (10^-13). The fix allows for imaginary components up to 5.0e-13 in double precision, and 5.0e-7 in single precision.