NREL / pCrunch

Apache License 2.0
8 stars 11 forks source link

Added option to return intermediate ranges, means and counts from the… #11

Closed JakeNunemaker closed 3 years ago

JakeNunemaker commented 3 years ago

… DEL calculation.

@gbarter I added an option to return the ranges, means and counts from the underlying rainflow algorithm. If return_intermediate is False, it will just return np.NaN for these outputs.

I also started looking into the Goodman correction but am confused. The documentation that I've seen refers to it as a stress correction (relates mean stress to ultimate stress) but we're working with loads at this point. Is there a Goodman loads correction that is different?

JakeNunemaker commented 3 years ago

@gbarter No problem! Do you want me to merge this in now?

I don't know if I'll have much time in the next few weeks to look at the Goodman correction part but potentially could after this project with C is done.

gbarter commented 3 years ago

Sure, go ahead and merge and we can save the Goodman question for later.