mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: performance of export to jackknife improved
This commit is contained in:
parent
9253f82942
commit
12a93eafb0
1 changed files with 2 additions and 2 deletions
|
@ -623,9 +623,9 @@ class Obs:
|
|||
name = self.names[0]
|
||||
full_data = self.deltas[name] + self.r_values[name]
|
||||
n = full_data.size
|
||||
mean = np.mean(full_data)
|
||||
mean = self.value
|
||||
tmp_jacks = np.zeros(n + 1)
|
||||
tmp_jacks[0] = self.value
|
||||
tmp_jacks[0] = mean
|
||||
tmp_jacks[1:] = (n * mean - full_data) / (n - 1)
|
||||
return tmp_jacks
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue