Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
olive004 committed Oct 27, 2024
1 parent 6764f0a commit 60b3b80
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 36 deletions.

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions synbio_morpher/utils/results/analytics/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,7 @@ def compute_sensitivity(signal_idx: int, starting_states, peaks):
return calculate_sensitivity_core(output_diff, starting_states, signal_diff, signal_0)


def compute_sensitivity2(signal_idx: int, starting_states, minv, maxv):
if signal_idx is None:
return None
# Using max instead of peaks because you can only add signal
signal_1 = maxv[signal_idx]
signal_0 = starting_states[signal_idx]

def compute_sensitivity2(starting_states, minv, maxv, signal_1, signal_0):
output_diff = maxv - minv
signal_diff = signal_1 - signal_0

Expand Down

0 comments on commit 60b3b80

Please sign in to comment.