Skip to content

Commit

Permalink
Fix mask fraction corrected FSC
Browse files Browse the repository at this point in the history
  • Loading branch information
jojoelfe committed Sep 7, 2024
1 parent 0ba5c0d commit 28e6385
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ttfsc/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ def ttfsc_cli(
rlnCorrectedFourierShellCorrelationPhaseRandomizedMaskedMaps=fsc_values_randomized[i]
if correct_for_masking
else nan,
rlnFourierShellCorrelationParticleMaskFraction=1
- ((1 - f) * data_general.rlnParticleBoxFractionSolventMask)
rlnFourierShellCorrelationParticleMaskFraction=f
/ data_general.rlnParticleBoxFractionSolventMask
/ (1.0 + (1.0 / data_general.rlnParticleBoxFractionSolventMask - 1.0) * f.abs())
if mask != Masking.none
else nan,
)
Expand Down

0 comments on commit 28e6385

Please sign in to comment.