simpeg.electromagnetics.time_domain.Fields3DElectricField#
- class simpeg.electromagnetics.time_domain.Fields3DElectricField(simulation)[source]#
Bases:
FieldsTDEMFields class for storing 3D total electric field solutions.
This class stores the total electric field solution computed using a
time_domain.Simulation3DElectricFieldsimulation object. This class can be used to extract the following quantities:'e'and'j'on mesh edges.'b','dbdt'and'dhdt'on mesh faces.
See the example below to learn how fields can be extracted from a
Fields3DElectricFieldobject.- Parameters:
- simulation
time_domain.Simulation3DElectricField The TDEM simulation object associated with the fields.
- simulation
Attributes
The aliased fields of the object.
Approximate cost of storing all of the known fields in MB.
Python data type(s) used to store the fields.
The field solutions and where they are discretized on the mesh.
Mesh used by the simulation.
The simulation object used to compute the field solution.
Survey used by the simulation.
Methods
startup()Run startup to connect the simulation's discrete attributes to the fields object.
Examples
The
Fields3DElectricFieldobject stores the total electric field solution on mesh edges. To extract the discrete electric fields and db/dt for all sources and time-steps:f = simulation.fields(m) e = f[:, 'e', :] dbdt = f[:, 'dbdt', :]
The array
ereturned will have shape (n_edges, n_sources, n_steps). And the arraydbdtreturned will have shape (n_faces, n_sources, n_steps). We can also extract the fields for a subset of the sources and time-steps as follows:f = simulation.fields(m) e = f[source_list, 'e', t_inds] dbdt = f[source_list, 'dbdt', t_inds]