The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.timeseries_utils.get_sample#

get_sample(tindex, ref_tindex)[source]#

Sample the index so that the frequency is not higher than the frequency of ref_tindex.

Parameters
Returns

series

Return type

pandas.Index

Notes

Find the index closest to the ref_tindex, and then return a selection of the index.