# Z interpolation with HYDRO from salome.hydrotools.interpolZ import interpolZ_B # Bathymetry name in HYDRO bathyName = # MED file 2D(x,y) of the case produced by SMESH medFile = # med group name med_group_name = # Value to use for undefined Z (used to detect problems) zUndef = # Interpolation method im = # Z interpolation on the bathymetry on the mesh nodes of given group statZ = interpolZ_B(bathyName, medFile, med_group_name, zUndef, im)