nasa / prog_models

The NASA Prognostic Model Package is a Python framework focused on defining and building models for prognostics (computation of remaining useful life) of engineering systems, and provides a set of prognostics models for select components developed within this framework, suitable for use in prognostics applications for these components.
123 stars 50 forks source link

Add missing inits #570

Closed teubert closed 1 year ago

teubert commented 1 year ago

Fixes an issue where build doesn't recognize subpackages without init.py on some systems

github-actions[bot] commented 1 year ago
Benchmarking Results From: Test Time (s)
import main 0.15583750000000007
import thrown object 0.5784362999999999
model initialization 0.1875937999999997
set noise 0.7740992000000002
simulate 0.5854810000000001
simulate with saving 1.5997472000000004
simulate with saving, dt 2.1242883999999993
simulate with printing results, dt 2.6125589
Plot results 17.0733954
Metrics 0.04214179999999956
Surrogate Model Generation 2.4501160000000013
surrogate sim 1.622381899999997
surrogate sim, dt 4.045203100000002
To: Test Time (s)
import main 0.16070110000000004
import thrown object 0.5807809999999998
model initialization 0.1921235000000001
set noise 0.7728181000000003
simulate 0.5659127000000002
simulate with saving 1.6349351000000003
simulate with saving, dt 2.0881539
simulate with printing results, dt 2.6414274000000004
Plot results 16.9080174
Metrics 0.04096739999999954
Surrogate Model Generation 2.506790600000002
surrogate sim 1.6449055000000001
surrogate sim, dt 4.278731399999998