# esys.downunder.magtel2d Package

## Classes

- `MT_2D`

class esys.downunder.magtel2d.MT_2D(domain, mode, freq_def, tags, rho, rho_1d, ifc_1d, xstep=100, zstep=100, maps=None, plot=False, limits=None)
  __init__(domain, mode, freq_def, tags, rho, rho_1d, ifc_1d, xstep=100, zstep=100, maps=None, plot=False, limits=None)

    Constructor which initialises the 2D magnetotelluric class: (*) check for argument type (*) check for valid argument values (*) initialises required values

    param domain :: the 2d mesh domain type domain :: `escript data object`

    param mode :: TE or TM mode type mode :: `string`

    param freq_def :: highest/lowest frequency & points per decade type freq_def :: `dictionary`

    param tags :: the tag names of the regions defined in the mesh type tags :: `list`

    param rho :: the resistivity values of the regions in the mesh type rho :: `list`

    param rho_1d :: the resistivity values at the left & right boundary type rho_1d :: `dictionary`

    param ifc_1d :: the layer interface depths of the left & right boundary type ifc_1d :: `dictionary`

    param xstep :: user-defined step size for horizontal sample list type xstep :: `number` (optional)

    param zstep :: user-defined step size for vertical sample list type zstep :: `number` (optional)

    param maps :: list with user-defined functions which map the resistivity for each region type maps :: `list` (optional)

    param plot :: user-defined flag to show a plot of apparent resistivity and phase at each frequency type plot :: `boolean` (optional)

    self.domain :: escript data object of mesh self.X :: escript data object with all mesh coordinates self.mode :: string with TE or TM mode self.xmin :: float with x-coordinate minimum self.xmax :: float with x-coordinate maximum self.zmin :: float with z-coordinate minimum self.zmax :: float with z-coordinate maximum self.zstep :: number with sample step in vertical direction self.xstep :: number with sample step in horizontal direction self.rho :: list with resistivity values of all regions self.rho_1d :: dictionary with resistivity values at boundaries left/right self.ifc_1d :: dictionary with interface depths at boundaries left/right self.plot :: boolean flag to show plots of apparent resistivity and phase self.sigma :: escript data object with the conductivity model (based on ‘rho’ and ‘maps’) self.frequencies :: list of sounding frequencies self.boundary_mask :: Dirichlet mask at boundaries

  pdeSolve()

    Solves the PDE for either the TE or the TM mode. (TE mode is the transverse Electric field). (TM mode is the transverse Magnetic field).

    (uses `self`)

    mt2d :: list with real/imag fields for each sounding frequency arho :: list with apparent resistivities for each sounding frequency aphi :: list with phase values for each sounding frequency

## Functions

## Others

- HAVE_FINLEY

## Packages