Releases: virgesmith/neworder
Releases · virgesmith/neworder
v0.3.0
Examples
- new: 3d N-body simulation
- new: wolf-sheep predation model
- fixed interactive figures (for matplotlib 3.4)
Internal improvements
- refactor package to support multiple submodules in future releases - allows for mixed python and C++ implementations
- enabled test coverage (codecov.io)
Breaking changes
- The function
neworder.version()
has been removed and replaced with the more standardneworder.__version__
v0.2.1
neworder 0.2.1
no functional change
Bugfixes
- fix issue where
CalendarTimeline.dt()
always returned 0.0 for open-ended timelines
v0.2.0
neworder 0.2.0 release
Breaking changes
- Calling the Model's
checkpoint
method during model run is no longer supported. - The Model's
checkpoint
method has been renamedfinalise
and is called after the final timestep.
New features
- Monte-Carlo: added Poisson counts function
- Timeline: added open-ended linear timeline
- Timeline: added open-ended calendar timeline
Internal improvements
- Monte-Carlo: improved input parameter validation
- make global state parameters atomic
- consolidated CI builds: moved travis builds to appveyor
- examples code tar/zip files now versioned
v0.1.2
This release purely addresses a build configuration issue with conda-forge. Functionally identical to 0.1.0
v0.1.1
Fixes packaging issues with 0.1.0, otherwise identical
v0.1.0
New features
-
new timeline functionality (breaking change):
neworder.LinearTimeline
replacesneworder.Timeline
neworder.NoTimeline
replacesneworder.Timeline.null()
neworder.NumericTimeline
enables arbitrary numeric timelinesneworder.CalendarTimeline
allows date-based timelines with steps in increments of days, months or years
-
use python's warnings mechanism to report warnings, rather than the standard logging mechanism
Bug fixes
- fix bug where Monte-Carlo functions would fail because tolerance of probabilities summing to exactly 1 was too tight - tolerance is now ~1e-8
- ensure that checkpoint code is still run on current timestep even if halt signal has been sent
v0.0.8
Relax min version requirement for numpy and pandas dependencies, to satisfy conda-forge
v0.0.7
Functional changes
- add
MonteCarlo.sample
method - add
MonteCarlo.state
method (disabled on OSX due to library issue) - add
Model.halt
method for graceful early termination of model run
Other changes
- Major updates to examples and documentation
- Usable Docker image containing all the examples code
v0.0.6
trying to resolve conda-forge issues
v0.0.5
first pre-release