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 Bayesian estimate of transport coefficients #73

Closed
wants to merge 8 commits into from

Conversation

ppegolo
Copy link

@ppegolo ppegolo commented Feb 7, 2024

No description provided.

@ppegolo ppegolo requested a review from lorisercole as a code owner February 7, 2024 12:26
@@ -236,8 +237,9 @@ def compute_psd(self, PSD_FILTER_W=None, freq_units='THz'):
# number of degrees of freedom of the chi-square distribution of the psd / 2
self.ndf_chi = self.N_EQUIV_COMPONENTS - self.N_CURRENTS + 1
if self.ndf_chi <= 0:
raise RuntimeError('The number of degrees of freedom of the chi-squared distribution is <=0. The number of '
'equivalent (Cartesian) components of the input current must be >= number of currents.')
warnings.warn('The number of degrees of freedom of the chi-squared distribution is <=0. The number of '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ppegolo this means that the bayesian filter works also when we have fewer independent time series than the number of components?

@rikigigi
Copy link
Member

continuing the development here: https://github.com/sissaschool/sportran/tree/ppegolo/bayes

@rikigigi
Copy link
Member

obsolete. Continuing in #74

@rikigigi rikigigi closed this Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants