New fig crosscut image
Former-commit-id: 0154de34b285cd15b7d720edfb7d7ed3a8e7b7c5
This commit is contained in:
parent
de32e6f920
commit
156c54f4b3
|
@ -152,7 +152,7 @@ def _scuffTMatrixConvert_EM_01(EM):
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def loadScuffTMatrices(fileName, normalisation = 1, version = 'old'):
|
def loadScuffTMatrices(fileName, normalisation = 1, version = 'old', freqscale = None):
|
||||||
"""
|
"""
|
||||||
TODO doc
|
TODO doc
|
||||||
|
|
||||||
|
@ -198,6 +198,9 @@ def loadScuffTMatrices(fileName, normalisation = 1, version = 'old'):
|
||||||
TMatrices[:,:,:,:,:] = TMatrices[:,:,:,:,:] * np.sqrt(ny*(ny+1))[ň,ň,ň,ň,:] / np.sqrt(ny*(ny+1))[ň,ň,:,ň,ň]
|
TMatrices[:,:,:,:,:] = TMatrices[:,:,:,:,:] * np.sqrt(ny*(ny+1))[ň,ň,ň,ň,:] / np.sqrt(ny*(ny+1))[ň,ň,:,ň,ň]
|
||||||
elif normalisation == 2: # Kristensson?
|
elif normalisation == 2: # Kristensson?
|
||||||
pass
|
pass
|
||||||
|
if freqscale is not None:
|
||||||
|
freqs *= freqscale
|
||||||
|
freqs_weirdunits *= freqscale
|
||||||
return (TMatrices, freqs, freqs_weirdunits, lMax)
|
return (TMatrices, freqs, freqs_weirdunits, lMax)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue