Create an intermediate object to contain data for modeling.
Under the hood will be a pandas.Dataframe from which to pull data. This object maybe optimal for plotting as well.
A lot of changes in here:
factored mtpy.core.z into mtpy.core.z, mtpy.core.tipper, mtpy.core.res_phase
ResPhase is solely based on the impedance where resistivity and phase are properties of z. If res and phase are set then impedance is calculated.
All classes here now have attributes for model error.
MT can now provide dictionaries for interpolation of z and t, which in the future should come directly from the Z and Tipper class.
Inherits MTLocation to handle all location stuff.
Added mtpy.core.mt_location which is a point location that contains lat, lon, elevation, east, north, model_east, model_north, model_elevation, datum_crs, utm_crs and epsg numbers.
Projections are solely based on pyproj and all use of GDAL directly is removed, which gets rid of the check
Projections use pyproj.CRS under the hood to properly project points
Changed the projections in mtpy.utils.gis_tools to only use pyproj and input is always x, y and return is always x, y.
Added mtpy.core.mt_stations which is a collection of station locations. It takes care of anything related to station locations. It can output a dataframe of location parameters.
Added mtpy.core.mt_data.MTData which inherits MTStations and an OrderedDict. Its main function is the central container for a group of transfer functions. It includes all the plotting schemes that MTCollection has.
Has capability of reading/writing modem data files
Can compute model errors
Can center stations
Can project stations to topography
Add/Get/Remove a station based on station id
Interpolate, rotate (in place or not)
Plotting: All plots now use MTData as its class of choice
Modeling:
Modem Model now just takes station locations and center point, in the future this will be a general class and should use discretize from simpeg.
Removed import of modem plotting schemes for now because they aren't up to date yet
Create an intermediate object to contain data for modeling.
Under the hood will be a
pandas.Dataframe
from which to pull data. This object maybe optimal for plotting as well.A lot of changes in here:
mtpy.core.z
intomtpy.core.z
,mtpy.core.tipper
,mtpy.core.res_phase
ResPhase
is solely based on the impedance where resistivity and phase are properties of z. If res and phase are set then impedance is calculated.MT
can now provide dictionaries for interpolation of z and t, which in the future should come directly from the Z and Tipper class.MTLocation
to handle all location stuff.mtpy.core.mt_location
which is a point location that contains lat, lon, elevation, east, north, model_east, model_north, model_elevation, datum_crs, utm_crs and epsg numbers.pyproj.CRS
under the hood to properly project pointsmtpy.utils.gis_tools
to only use pyproj and input is always x, y and return is always x, y.mtpy.core.mt_stations
which is a collection of station locations. It takes care of anything related to station locations. It can output a dataframe of location parameters.mtpy.core.mt_data.MTData
which inheritsMTStations
and anOrderedDict
. Its main function is the central container for a group of transfer functions. It includes all the plotting schemes thatMTCollection
has.MTData
as its class of choiceModel
now just takes station locations and center point, in the future this will be a general class and should usediscretize
from simpeg.Residual
, need to figure that out.