Skip to content

Commit

Permalink
Update structurefunction.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinDumeur committed Jul 13, 2023
1 parent 0785c21 commit 418278e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pymultifracs/structurefunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def __post_init__(self, mrq, bootstrapped_mfa):

self._compute(mrq)
self._compute_zeta(mrq.n_rep)
#self.H = self._get_H()

def _compute(self, mrq):

Expand Down Expand Up @@ -185,6 +184,9 @@ def get_intercept(self):

def __getattr__(self, name):

if name == 'H':
return self._get_H()

if name == 'S2':
out = self.logvalues[self.q == 2]
return out.reshape(out.shape[0], self.n_sig, -1)
Expand Down

0 comments on commit 418278e

Please sign in to comment.