geost.bro.bro_geotop.GeoTop.isel#
- GeoTop.isel(**xr_kwargs)#
Use Xarray selection functionality to select indices along specified dimensions. This uses the “.isel” method of an Xarray Dataset.
- Parameters:
**xr_kwargs – xr.Dataset.isel keyword arguments. See relevant Xarray documentation.
Examples
Select a specified coordinates or slice coordinates from the VoxelModel instance:
>>> selected = voxelmodel.isel(x=[1, 2, 3]) # Using keyword arguments >>> selected = voxelmodel.isel({"x": [1, 2, 3]}) # Using a dictionary >>> selected = voxelmodel.isel(x=slice(1, 4)) # Using a slice