Skip to content

Commit

Permalink
CHG: Remove class properties _avg, _var, _cov
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsp-spirit committed Sep 14, 2022
1 parent 95669ed commit 87be272
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions syncopy/datatype/continuous_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,15 +728,6 @@ class TimeLockData(ContinuousData):
_defaultDimord = ["time", "channel"]
_stackingDimLabel = "time"

# A `h5py.Dataset` holding the average of `data`, or `None` if not computed yet.
_avg = None

# A `h5py.Dataset` holding variance of `data`, or `None` if not computed yet.
_var = None

# A `h5py.Dataset` holding covariance of `data`, or `None` if not computed yet.
_cov = None

# "Constructor"
def __init__(self,
data=None,
Expand Down Expand Up @@ -781,6 +772,15 @@ def __init__(self,
channel=channel,
dimord=dimord)

# A `h5py.Dataset` holding the average of `data`, or `None` if not computed yet.
self._avg = None

# A `h5py.Dataset` holding variance of `data`, or `None` if not computed yet.
self._var = None

# A `h5py.Dataset` holding covariance of `data`, or `None` if not computed yet.
self._cov = None

@property
def avg(self):
return self._avg
Expand Down

0 comments on commit 87be272

Please sign in to comment.