Closed danielsvedberg closed 1 year ago
https://github.com/nubs01/blechpy/blob/de2319a20cd299fef5423e003bdf8ad67699c30f/blechpy/analysis/poissonHMM.py#L53
currently prohibits any state from having a firing rate of 0. Need to add condition to detect indices with 0 rate and replace with 0 for indices where events k > 0 and replace with 1 where events k == 0
solved with commit #61
https://github.com/nubs01/blechpy/blob/de2319a20cd299fef5423e003bdf8ad67699c30f/blechpy/analysis/poissonHMM.py#L53
currently prohibits any state from having a firing rate of 0. Need to add condition to detect indices with 0 rate and replace with 0 for indices where events k > 0 and replace with 1 where events k == 0