-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Baseline Correction #319
Closed
Closed
Baseline Correction #319
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
aa31cee
Create a function to perform baseline correction on acceleration time…
crswong888 958ef7c
Created tests for BaselineCorrection
crswong888 4845be3
Wrote MooseDocs page for BaselineCorrection
crswong888 1f7c423
modified a few comments in baseline correction source code
crswong888 f0d7d7b
removed redundant unit tests for baseline correction. TODO: recreate …
crswong888 2f6aa91
made it possible to output any of the three kinematic variables - the…
crswong888 b73c57f
modified half sine unit test such that it returns the adjusted displa…
crswong888 90c34a6
Updated baseline correction docs to reflect new 'series_type' paramet…
crswong888 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
IVP: initial value problem | ||
BLC: baseline correction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!--placeholder page for BaselineCorrection examples, do not link this to examples index--> | ||
|
||
# Example 11: Baseline Correction Example Set | ||
|
||
!alert construction | ||
A comprehensive set of examples that will demonstrate use of [source/functions/BaselineCorrection.md] will become available here soon. Please see [Issue `#344`](https://github.com/idaholab/mastodon/issues/344) for more information and updates. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
doc/content/source/functions/baselinecorrection_data/demo_1.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
time,acceleration | ||
0.0,0.0000 | ||
0.1,3.0499 | ||
0.2,5.8012 | ||
0.3,7.9847 | ||
0.4,9.3866 | ||
0.5,9.8696 | ||
0.6,9.3866 | ||
0.7,7.9847 | ||
0.8,5.8012 | ||
0.9,3.0499 | ||
1.0,0.0000 |
12 changes: 12 additions & 0 deletions
12
doc/content/source/functions/baselinecorrection_data/demo_1_adjusted.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
time,displacement | ||
0.0,0.0000 | ||
0.1,-0.0235 | ||
0.2,-0.0796 | ||
0.3,-0.1414 | ||
0.4,-0.1877 | ||
0.5,-0.2047 | ||
0.6,-0.1877 | ||
0.7,-0.1414 | ||
0.8,-0.0796 | ||
0.9,-0.0235 | ||
1.0,0.0000 |
12 changes: 12 additions & 0 deletions
12
doc/content/source/functions/baselinecorrection_data/demo_1_drift.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
time,displacement | ||
0.0,0.0000 | ||
0.1,0.1525 | ||
0.2,0.5950 | ||
0.3,1.2843 | ||
0.4,2.1529 | ||
0.5,3.1157 | ||
0.6,4.0785 | ||
0.7,4.9471 | ||
0.8,5.6364 | ||
0.9,6.0789 | ||
1.0,6.2314 |
12 changes: 12 additions & 0 deletions
12
doc/content/source/functions/baselinecorrection_data/demo_2_adjusted.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
time,displacement | ||
0.0,0.0000 | ||
0.1,-0.1150 | ||
0.2,-0.3891 | ||
0.3,-0.6911 | ||
0.4,-0.9170 | ||
0.5,-1.0000 | ||
0.6,-0.9170 | ||
0.7,-0.6911 | ||
0.8,-0.3891 | ||
0.9,-0.1150 | ||
1.0,0.0000 |
22 changes: 22 additions & 0 deletions
22
doc/content/source/functions/baselinecorrection_data/demo_3_adjusted.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
time,displacement | ||
0.0,0.0000 | ||
0.1,-0.0368 | ||
0.2,-0.1279 | ||
0.3,-0.2373 | ||
0.4,-0.3341 | ||
0.5,-0.3955 | ||
0.6,-0.4073 | ||
0.7,-0.3650 | ||
0.8,-0.2728 | ||
0.9,-0.1427 | ||
1.0,0.0078 | ||
1.1,0.1583 | ||
1.2,0.2884 | ||
1.3,0.3806 | ||
1.4,0.4229 | ||
1.5,0.4111 | ||
1.6,0.3497 | ||
1.7,0.2528 | ||
1.8,0.1435 | ||
1.9,0.0524 | ||
2.0,0.0156 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please list this example in the index.md file as well?