v0.3.0
Announcements
- A couple of key APIs were changed to reflect what they are actually doing, see breaking below
- We have added a deeper dive into the conversion from discrete to continuous data that will help understand this key part of the package, see improved documentation below
Changelog
⚠️ Breaking Changes
-
- Changed the input arguments of [
discrete_to_continuous][continuous_timeseries.discrete_to_continuous.discrete_to_continuous].
We have updated so that, rather than taking in adiscreteargument,
we take in anxand ayarray and aname.
This API better represents the separation between
discrete representations, continuous representations
and the conversion in between them (which is a different thing again).
All other discrete to continuous conversion functions were updated to match this change in API. - Changed the input arguments of [
Timeseries.from_arrays][continuous_timeseries.Timeseries.from_arrays].
We have updated so thattime_axis_boundsis nowxandvalues_at_boundsis nowy.
This update reflects the fact that, depending on the interpolation choice,
the passed in values will not always end up being the values at the bounds.
(#19)
- Changed the input arguments of [
🎉 Improvements
- Added a check to [
TimeseriesDiscrete.to_continuous_timeseries][continuous_timeseries.TimeseriesDiscrete.to_continuous_timeseries]
so that the user is aware if the chosen interpolation choice means that the instance's
values at bounds are not actually respected.
The warning can be controlled with the newwarn_if_output_values_at_bounds_could_confuseandcheck_change_funcarguments
to [TimeseriesDiscrete.to_continuous_timeseries][continuous_timeseries.TimeseriesDiscrete.to_continuous_timeseries]. (#19)
📚 Improved Documentation
- Added further background into our discrete to continuous conversion (see Discrete to continuous conversions). (#19)
Changes
- 1636bba bump: version 0.2.2a1 -> 0.3.0
- c2a3f94 Fix up tests
- f0a9f37 CHANGELOG
- 01a7b2e Fix miswritten doc
- d5b7060 Write up docs
- 535551e Finish cleaning up docs
- 32435fa Update docs
- bb96714 Update pdm.lock
- aaea28a Finish off tests
- e1c4e4a Fix tests
- adf4285 Fix first set of tests
- 1a8a3e6 First set of renamings
- 6a4554d bump(pre-release): version 0.2.1 > 0.2.2a1