invert4geom.randomly_sample_data#
- randomly_sample_data(seed, data_df, data_col, uncert_col)[source]#
Given a dataframe with a data column and an uncertainty column, sample the data with a normal distribution within the uncertainty range. Note that this overwrites the data column with the newly sampled data.
- Parameters:
- Returns:
dataframe with data column updated with sampled values
- Return type: