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 Resistivity Forward Simulation in 3D

DC Resistivity Forward Simulation in 3D

DC/IP Forward Simulation in 3D

DC/IP Forward Simulation in 3D