mtuq.grid_search.MTUQDataArray¶
- class mtuq.grid_search.MTUQDataArray(data: typing.Any = <NA>, coords: collections.abc.Sequence[collections.abc.Sequence | pandas.core.indexes.base.Index | xarray.core.dataarray.DataArray] | collections.abc.Mapping | None = None, dims: str | collections.abc.Iterable[collections.abc.Hashable] | None = None, name: collections.abc.Hashable | None = None, attrs: collections.abc.Mapping | None = None, indexes: collections.abc.Mapping[Any, xarray.core.indexes.Index] | None = None, fastpath: bool = False)[source]¶
Bases:
xarray.core.dataarray.DataArray
Data structure for storing values on regularly-spaced grids
Note
Besides the methods below, MTUQDataArray includes many useful methods inherited from
xarray.DataArray
. See xarray documentation for more information.Public Methods
Copy an element of an array to a standard Python scalar and return it.
Returns origins index corresponding to minimum misfit
Saves grid search results to NetCDF file
Find indices where elements of v should be inserted in a to maintain order.
Returns sources index corresponding to minimum misfit
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Private helper method