Commit 0b552459 authored by Philipp Haim's avatar Philipp Haim

New property names

parent 603f40d8
Pipeline #64080 failed with stages
in 8 minutes and 59 seconds
......@@ -472,7 +472,7 @@ class CorrelatedFieldMaker:
lst = [('Offset amplitude', self.amplitude_total_offset),
('Total fluctuation amplitude', self.total_fluctuation)]
namps = len(self.amplitudes)
namps = len(self.normalized_amplitudes)
if namps > 1:
for ii in range(namps):
lst.append(('Slice fluctuation (space {})'.format(ii),
......@@ -498,9 +498,19 @@ class CorrelatedFieldMaker:
return fluctuations_slice_mean/np.mean(np.sqrt(scm))
def amplitudes(self):
def normalized_amplitudes(self):
return self._a
def amplitude(self):
if len(self._a) > 1:
s = ('If more than one spectrum is present in the model,',
' no unique set of amplitudes exist because only the',
' relative scale is determined.')
raise NotImplementedError(s)
expand = VdotOperator(full(self._a[0].target, 1)).adjoint
return self._a[0]*(expand @ self.amplitude_total_offset)
def amplitude_total_offset(self):
return self._azm
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment