Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add relevant functionalities for estimating the spectral gap uncertainties #39

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

wehs7661
Copy link
Owner

@wehs7661 wehs7661 commented Apr 3, 2024

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.

@wehs7661 wehs7661 self-assigned this Apr 3, 2024
@wehs7661 wehs7661 added the enhancement New feature or request label Apr 3, 2024
@wehs7661 wehs7661 merged commit f683e57 into add_tests Apr 3, 2024
1 of 2 checks passed
@wehs7661 wehs7661 deleted the spectral_gap_err branch April 3, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant