airbornegeo.eq_sources_1d

Contents

airbornegeo.eq_sources_1d#

eq_sources_1d(data, *, data_column, damping, depth='default', block_size=None, groupby_column=None)[source]#

Fit a set of equivalent sources along 1 dimension. These fitted sources can then be used to predict the data at the intersection points, on a regular line spacing, or to upward continue the line. If groupby_column is provided, the source will be fit individually for each group,

Parameters:
  • data (DataFrame) โ€“ the dataframe containing the columns distance_along_line, grouby_column, data_column, and height.

  • data_column (str) โ€“ the column name for the data to fit.

  • damping (float) โ€“ the damping value to use in fitting the equivalent sources

  • depth (float | str) โ€“ the source depths, by default โ€œdefaultโ€

  • block_size (float | None) โ€“ Block reduce the number of sources. This doesnโ€™t block reduce the data, that should be done before with func::block_reduce, by default None

  • groupby_column (str | None) โ€“ Column name to group by before sorting by time, by default None

Returns:

a dictionary with a keys of each group name and a values of fitted equivalent sources, or if groupby_column is not provided, just a single fitted set of equivalent sources.

Return type:

dict | EquivalentSources