simpeg.electromagnetics.static.spectral_induced_polarization.survey.Survey.get_slice#
- Survey.get_slice(source, receiver)[source]#
Get slice to index a flat array for a given source-receiver pair.
Use this method to index a data or uncertainty array for a source-receiver pair of this survey.
- Parameters:
- Returns:
- Raises:
KeyError
If the given
source
orreceiver
do not belong to this survey.
See also