New fig crosscut image

Former-commit-id: 0154de34b285cd15b7d720edfb7d7ed3a8e7b7c5
This commit is contained in:
Marek Nečada 2018-10-05 19:02:06 +03:00
parent de32e6f920
commit 156c54f4b3
1 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def _scuffTMatrixConvert_EM_01(EM):
else:
return None
def loadScuffTMatrices(fileName, normalisation = 1, version = 'old'):
def loadScuffTMatrices(fileName, normalisation = 1, version = 'old', freqscale = None):
"""
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))[ň,ň,:,ň,ň]
elif normalisation == 2: # Kristensson?
pass
if freqscale is not None:
freqs *= freqscale
freqs_weirdunits *= freqscale
return (TMatrices, freqs, freqs_weirdunits, lMax)