You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When calling get_permeability_data as shown below, it is possible to pass temperature and frequency values that are outside of the range of the source data, like temperature=-20, frequency=1e12 and get results back without triggering a warning.
raise a warning ( https://docs.python.org/3/library/warnings.html ) when temperature or frequency are out of range, e.g. "temperature=-20 is outside of range [25, 100]". Use case: quick visual feedback.
a boolean value indicating whether or not the values were extrapolated, e.g. {"extrapolated": False}. Use case: annotation in subsequent analyses.
(nice to have) the maximum distance to the nearest neighbor along the temperature and frequency axes, e.g.: {"furthest_neighbor": (0, 15000)}, indicating that the furthest point away in the interpolation was 0C and 15000 Hz away from the requested point. Use case: proxy for uncertainty.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When calling
get_permeability_data
as shown below, it is possible to passtemperature
andfrequency
values that are outside of the range of the source data, liketemperature=-20, frequency=1e12
and get results back without triggering a warning.Describe the solution you'd like
"temperature=-20 is outside of range [25, 100]"
. Use case: quick visual feedback.(values, info_dict)
similar to theinfo_dict
returned byscipy.curve_fit
( https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve_fit.html ). whereinfo_dict
contains:{"extrapolated": False}
. Use case: annotation in subsequent analyses.{"furthest_neighbor": (0, 15000)}
, indicating that the furthest point away in the interpolation was 0C and 15000 Hz away from the requested point. Use case: proxy for uncertainty.The text was updated successfully, but these errors were encountered: