In this PR, we added analysis/synthesize_data.py, which contains functions including synthesize_traj and synthesize_transmtx that can be used to estimate the uncertainty of a spectral using the bootstrap method in the modified function calc_spectral_gap in analyze_matrix.py. Additionally, the function calc_t_relax is added for the calculation of the relaxation time, which is proportional to the reciprocal of the spectral gap. We'll leave the unit tests for these newly added functions in another PR after merging #37 first.
In this PR, we added
analysis/synthesize_data.py
, which contains functions includingsynthesize_traj
andsynthesize_transmtx
that can be used to estimate the uncertainty of a spectral using the bootstrap method in the modified functioncalc_spectral_gap
inanalyze_matrix.py
. Additionally, the functioncalc_t_relax
is added for the calculation of the relaxation time, which is proportional to the reciprocal of the spectral gap. We'll leave the unit tests for these newly added functions in another PR after merging #37 first.