mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02: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
|
ens_content : bool
|
||||||
print details about the ensembles and replica if true.
|
print details about the ensembles and replica if true.
|
||||||
"""
|
"""
|
||||||
|
if self.tag is not None:
|
||||||
|
print("Description:", self.tag)
|
||||||
if self.value == 0.0:
|
if self.value == 0.0:
|
||||||
percentage = np.nan
|
percentage = np.nan
|
||||||
else:
|
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]))
|
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:
|
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]))
|
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 ens_content is True:
|
||||||
if len(self.e_names) == 1:
|
if len(self.e_names) == 1:
|
||||||
print(self.N, 'samples in', len(self.e_names), 'ensemble:')
|
print(self.N, 'samples in', len(self.e_names), 'ensemble:')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue