nasa / progpy

The NASA Prognostic Python Packages is a Python framework focused on defining and building models and algorit for prognostics (computation of remaining useful life) of engineering systems, and provides a set of models and algorithms for select components developed within this framework, suitable for use in prognostic applications.
https://nasa.github.io/progpy/
Other
55 stars 8 forks source link

Feature: save_freq of 0 saves every pt #68

Closed teubert closed 1 year ago

teubert commented 1 year ago

Update save_freq to allow 0, a save_freq of 0 now saves every point. Updated next_state for auto to ensure it doesn't get stuck on a step size of 0

github-actions[bot] commented 1 year ago

Thank you for opening this PR. Each PR into dev requires a code review. For the code review, look at the following:

codecov-commenter commented 1 year ago

Codecov Report

Merging #68 (1a44508) into dev (334b190) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev      #68   +/-   ##
=======================================
  Coverage   84.17%   84.18%           
=======================================
  Files          99       99           
  Lines       10106    10111    +5     
=======================================
+ Hits         8507     8512    +5     
  Misses       1599     1599           
Impacted Files Coverage Δ
src/progpy/prognostics_model.py 88.52% <100.00%> (+0.02%) :arrow_up:
tests/test_base_models.py 97.61% <100.00%> (+0.01%) :arrow_up: