Skip to content
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

DERDAT 1s duration option #29

Merged
merged 22 commits into from
Mar 22, 2024
Merged

DERDAT 1s duration option #29

merged 22 commits into from
Mar 22, 2024

Conversation

Cynthujah
Copy link
Contributor

  1. 1s input option is added in "shiny.R"
  2. 1s option is added in "flag_duration_for_updating_if_value_non_standard_and_calced_interval_is_5s" function in "interface.R"

Adding_input_duration_1s in shiny.R
change in criteria in "flag_duration_for_updating_if_value_non_standard_and_calced_interval_is_5s" function for the definition of flag duration.
1s input option is added in shiny.R
NAs are removed during the mean voltage calculations.
down-sampling of "ideal response" is ignored while analyzing 1s data because "ideal response" is already with 1s duration. Only column name "time_group" is changes to match with the existing data-frame.
Potential modification for "Ideal Response Curve" is suggested in "Assumptions and Methodology" tab of GUI
…mpliance Status"

Minor discrepancies in the definition of "Reconnection Compliance Status" is identified and mentioned in the documentation for future reference.
Copy link
Contributor

@cchristiansen cchristiansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Cynthujah, just a couple of minor comments. Otherwise, looks good!

.Rprofile Outdated Show resolved Hide resolved
docs/documentation_tab.R Outdated Show resolved Hide resolved
ideal_response/ideal_response_functions.R Outdated Show resolved Hide resolved
ideal_response/ideal_response_functions.R Outdated Show resolved Hide resolved
Cynthujah and others added 8 commits December 22, 2023 08:35
"post event response" is down-sampled to 5s, only for 1s data analysis, for the definition of "reconnection status".
Down-sampling is done for data with 1s duration to 5s for "post_event_response"  and the other duration are allowed with the previous "post_event_response" calculations.
Copy link
Collaborator

@phoebeheywood phoebeheywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this Cynthujah, just a few minor changes needed

island_assessment/island_assessment_functions.R Outdated Show resolved Hide resolved
docs/documentation_tab.R Outdated Show resolved Hide resolved
Cynthujah and others added 7 commits March 6, 2024 10:12
Calculation of "post_event_response" is downsampled from 1s to 5s. Test file is created for dwonsampling.
Spacing in the added lines of codes in "island_assessment_function.R" and "ufls_detection_voltage.R" are resolved.
@Cynthujah Cynthujah merged commit ea8e6cb into master Mar 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants