We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2977583 commit 1973fccCopy full SHA for 1973fcc
stagpy/plates.py
@@ -609,7 +609,7 @@ def main_plates(sdat):
609
if sdat.par['boundaries']['air_layer']:
610
dsa = sdat.par['boundaries']['air_thickness']
611
isurf = np.argmin(abs(radius - radius[-1] + dsa))
612
- vrms_surface = uprof_averaged.iloc[isurf]
+ vrms_surface = uprof_averaged[isurf]
613
isurf = np.argmin(abs((1 - dsa) - radius))
614
isurf -= 4 # why different isurf for the rest?
615
else:
0 commit comments