You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,16 @@ This repo is written in Python by Paul David Harris, with the objective of imple
8
8
9
9
The primary functions of this library are the EM_H2MM, and the equivalent EM_H2MM_par, which differ only in that EM_H2MM_par is accelerated by parallel processing.
10
10
These functions use Maximum Likelihood Estimators to optimize a hidden Markov Model of data produced primarily by diffusing smFRET measurements- which are composed of arrival times of single photons at two or more detectors. This method is built off of well established hidden Markov modeling (HMM) but extends it to efficiently handel variable times between observations.
11
-
Inputs to the functions are a h2mm_model object, which is composed of the prior or initial state vector, the transition probability matrix, and the observational likelihood matrix.
11
+
Inputs to the functions are:
12
+
h2mm_model object: an object of the h2mm_model class specific to H2MMpythonlib, which contains three numpy arrays:
13
+
prior: initial state distribution
14
+
trans: the transition probability matrix
15
+
obs: the emmision proability matrix, giving the probability of a photon arriving at a given detector in a given state
16
+
ArrivalColors: a list of numpy int arrays correspondig to the colors (detectors)(indexed from 0) of the photons
17
+
ArrivalTimes: a list of numpy int arrays, 1 array per burst, corresponding to the arrival times of the photons
18
+
The output of EM_H2MM and EM_H2MM_par is another h2mm_model object, which contains the optimized parameters.
19
+
20
+
This algorithm is both powerful and risky to use.
21
+
The main difficulty arrises due to the strong potential of overfitting.
22
+
Yet the potential to detect and quantify hidden dynamics is too good to pass up.
23
+
I ask any researcher to apply this method cautiously, but hopefully.
0 commit comments