plopm.utils.mapping module
Utiliy function for the grid and locations in the geological models
- plopm.utils.mapping.handle_slide_x(cfg: ConfigPlopm, read: ReadData, n: int) tuple[ndarray[tuple[Any, ...], dtype[_ScalarT]], ndarray[tuple[Any, ...], dtype[_ScalarT]], str, str, int, int, str, str]
Processing the selected yz slide to obtain the grid properties
- plopm.utils.mapping.handle_slide_y(cfg: ConfigPlopm, read: ReadData, n: int) tuple[ndarray[tuple[Any, ...], dtype[_ScalarT]], ndarray[tuple[Any, ...], dtype[_ScalarT]], str, str, int, int, str, str]
Processing the selected xz slide to obtain the grid properties
- plopm.utils.mapping.handle_slide_z(cfg: ConfigPlopm, read: ReadData, n: int) tuple[ndarray[tuple[Any, ...], dtype[_ScalarT]], ndarray[tuple[Any, ...], dtype[_ScalarT]], str, str, int, int, str, str]
Processing the selected xy slide to obtain the grid properties
- plopm.utils.mapping.map_xycoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: ndarray[tuple[Any, ...], dtype[_ScalarT]], n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) ndarray[tuple[Any, ...], dtype[_ScalarT]]
Map the properties from the simulations to the 2D slide
- plopm.utils.mapping.map_xzcoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: ndarray[tuple[Any, ...], dtype[_ScalarT]], n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) ndarray[tuple[Any, ...], dtype[_ScalarT]]
Map the properties from the simulations to the 2D slide
- plopm.utils.mapping.map_yzcoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: ndarray[tuple[Any, ...], dtype[_ScalarT]], n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) ndarray[tuple[Any, ...], dtype[_ScalarT]]
Map the properties from the simulations to the 2D slide
- plopm.utils.mapping.rotate_grid(cfg: ConfigPlopm, n: int, xc: ndarray[tuple[Any, ...], dtype[_ScalarT]], yc: ndarray[tuple[Any, ...], dtype[_ScalarT]]) tuple[ndarray[tuple[Any, ...], dtype[_ScalarT]], ndarray[tuple[Any, ...], dtype[_ScalarT]]]
Rotate the grid if requiered