## Readme for code-5

This part of code is the probablity analysis program.
It will process the spatiotemporal-resolved multi-phase data in the approaches of statistics and in-depth probablity analysis.
More technical steps can be found in SI.

1. Use the DLeOCT_prD.m as the main function.
2. Update the file paths for input and output data; users can define if need.
3. Update the processing ID for different analysis purpose.
4. Pre-process the multi-phase segmentation data, and initial data_config.
5. Pass the data to the Probability_estimator.m (see SI for more details) to do probability analysis.
6. Analyzing the probability distributions in terms of 1D-plot, 2D-map, and histograms (example results can be example raw data\probability distribution data\).
7. Investigating into the joint-probability to test the orign of each phase.
8. Investigating the impact of bubble size.
9. Fit the probability histograms.
10. Study spatiotemporal dynamics using the joint probability distributions.
11. Study the impact of solid regions and tpc.
12. Phase phase mixing phenomena.
13. Explore more spatiotemoral probablity results for futre research purpose.
14. All the probability distribution and related (example raw data\probability distribution data\) results can be obtained by uncomment some image/plot making lines in the sub-function Probability_estimator.m or its sub-functions. 