summaryrefslogtreecommitdiff
path: root/test/rotate_test.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-12-21 11:36:25 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commit127dda0bae74829eed4b274797db26e6741ffdb5 (patch)
tree38396dafa0de363eb7887b74fcb4c348e58cdd2b /test/rotate_test.py
parente150de0d229401b045bf17cd5a1b658f69b2230c (diff)
downloadchroma-127dda0bae74829eed4b274797db26e6741ffdb5.tar.gz
chroma-127dda0bae74829eed4b274797db26e6741ffdb5.tar.bz2
chroma-127dda0bae74829eed4b274797db26e6741ffdb5.zip
Apply a floor to the probability of each channel being in the observed
state (hit or not), rather than a floor on the hit probability. A channel that is impossible to hit should have zero probability in the likelihood and not be hit in the actual data. Before this change, that channel would be forced to have a hit probability of 0.5 / ntotal, which is wrong. We only need to ensure the probability of the observed state of the channel is not zero so that the log() function is defined.
Diffstat (limited to 'test/rotate_test.py')
0 files changed, 0 insertions, 0 deletions