simpeg.electromagnetics.static.resistivity.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:
KeyErrorIf the given
sourceorreceiverdo not belong to this survey.
See also