Method
__init__
(self,
anType,
nthOct,
minBand,
maxBand,
data,
dataLabel=None,
error=None,
errorLabel='Error',
comment='No comments.',
xLabel=None,
yLabel=None,
title=None)
Source from the content-addressed store, hash-verified
| 111 | # Magic methods |
| 112 | |
| 113 | def __init__(self, |
| 114 | anType, |
| 115 | nthOct, |
| 116 | minBand, |
| 117 | maxBand, |
| 118 | data, |
| 119 | dataLabel=None, |
| 120 | error=None, |
| 121 | errorLabel='Error', |
| 122 | comment='No comments.', |
| 123 | xLabel=None, |
| 124 | yLabel=None, |
| 125 | title=None): |
| 126 | super().__init__() |
| 127 | self.anType = anType |
| 128 | self.nthOct = nthOct |
| 129 | self._minBand = minBand |
| 130 | self._maxBand = maxBand |
| 131 | self.data = data |
| 132 | self.dataLabel = dataLabel |
| 133 | self.error = error |
| 134 | self.errorLabel = errorLabel |
| 135 | self.comment = comment |
| 136 | # Plot infos memory |
| 137 | self.xLabel = xLabel |
| 138 | self.yLabel = yLabel |
| 139 | self.title = title |
| 140 | return |
| 141 | |
| 142 | def __str__(self): |
| 143 | return ('1/{} octave band {} '.format(self.nthOct, self.anType) + |
Tested by
no test coverage detected