mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
description moved to top in Obs.details
This commit is contained in:
parent
3a265c03ba
commit
ee9d43ad26
1 changed files with 2 additions and 2 deletions
|
@ -346,6 +346,8 @@ class Obs:
|
|||
ens_content : bool
|
||||
print details about the ensembles and replica if true.
|
||||
"""
|
||||
if self.tag is not None:
|
||||
print("Description:", self.tag)
|
||||
if self.value == 0.0:
|
||||
percentage = np.nan
|
||||
else:
|
||||
|
@ -361,8 +363,6 @@ class Obs:
|
|||
print(' t_int\t %3.8e +/- %3.8e tau_exp = %3.2f, N_sigma = %1.0i' % (self.e_tauint[e_name], self.e_dtauint[e_name], self.tau_exp[e_name], self.N_sigma[e_name]))
|
||||
else:
|
||||
print(' t_int\t %3.8e +/- %3.8e S = %3.2f' % (self.e_tauint[e_name], self.e_dtauint[e_name], self.S[e_name]))
|
||||
if self.tag is not None:
|
||||
print("Description:", self.tag)
|
||||
if ens_content is True:
|
||||
if len(self.e_names) == 1:
|
||||
print(self.N, 'samples in', len(self.e_names), 'ensemble:')
|
||||
|
|
Loading…
Add table
Reference in a new issue