in2Trans.transfromFields.fetchPointValuesFromField

fetchPointValuesFromField(dataDF, xyPoints, resType, interpMethod='bilinear')[source]

derive field values at xyPoints using a interpMethod (options: nearest and bilinear)

Parameters
  • dataDF (pandas dataFrame) – dataframe with info on simulations (including result file paths,configuration)

  • xyPoints (dict) – dictionary with keys x, y and point of interest coordinates

  • resType (str) – name of result type (pfv, pft, …)

  • interpMethod (str) – interpolation method to derive values of field at xyPoints

Returns

dataDF – updated pandas dataFrame with new column pointValues_resType providing value of resType at xyPoint

Return type

pandas dataFrame