SimPEG.utils.io_utils.write_dcip_xyz#

SimPEG.utils.io_utils.write_dcip_xyz(file_name, data_object, data_header=None, uncertainties_header=None, out_dict=None)[source]#

Write 2D or 3D DC/IP data to XYZ-formatted file.

This function writes DC and/or IP data from the SimPEG framework to an XYZ-formatted data file; i.e. each row in the file defines the data for the unique electrode locations provided. This function is versatile enough to write 2D or 3D data. The data may include elevations for the electrodes or be surface formatted.

Parameters:
file_namestr

Path to the file

data_objectSimPEG.data.Data

SimPEG.data.Data object. The survey attribute of this data object must be an instance of :class`SimPEG.electromagnetics.static.resistivity.survey.Survey` or :class`SimPEG.electromagnetics.static.induced_polarization.survey.Survey`

data_header: str

Header for the data column; i.e. the header for the data defined in the dobs attibute of the data object. If None, these data are not written to file

uncertainties_headerstr

Header for the uncertainties column; i.e. the header for the uncertainties defined in the standard_deviations attibute of the data object. If None, these data are not written to file

out_dictdict

A python dictionary containing the names and associated vectors for any additional data columns you wish to write to the file; out_dict = {header1: vec1, header2: vec2, …}.

Galleries and Tutorials using SimPEG.utils.io_utils.write_dcip_xyz#

DC/IP Forward Simulation in 3D

DC/IP Forward Simulation in 3D

DC Resistivity Forward Simulation in 3D

DC Resistivity Forward Simulation in 3D