Skip to content

Commit

Permalink
- turns out scaling is not implemented in copasi, so lets returned t…
Browse files Browse the repository at this point in the history
…he unscaled one
  • Loading branch information
fbergmann committed Nov 13, 2024
1 parent 3fccfe6 commit c8f8c2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basico/task_lna.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ def get_lna_solution(**kwargs):
:return: a tuple of the LNA solution
"""

return get_lna_status(**kwargs), get_lna_covariance_matrix(True, **kwargs), get_lna_reduced_covariance_matrix(True, **kwargs), get_lna_reduced_b_matrix(True, **kwargs)
return get_lna_status(**kwargs), get_lna_covariance_matrix(False, **kwargs), get_lna_reduced_covariance_matrix(False, **kwargs), get_lna_reduced_b_matrix(False, **kwargs)


def get_lna_covariance_matrix(scaled, **kwargs):
def get_lna_covariance_matrix(scaled=False, **kwargs):
""" Returns the LNA covariance matrix calculated last time `run_lna` was called
"""
model = model_io.get_model_from_dict_or_default(kwargs)
Expand All @@ -135,7 +135,7 @@ def get_lna_covariance_matrix(scaled, **kwargs):



def get_lna_reduced_covariance_matrix(scaled, **kwargs):
def get_lna_reduced_covariance_matrix(scaled=False, **kwargs):
""" Returns the LNA covariance matrix calculated last time `run_lna` was called
"""
model = model_io.get_model_from_dict_or_default(kwargs)
Expand All @@ -156,7 +156,7 @@ def get_lna_reduced_covariance_matrix(scaled, **kwargs):
)


def get_lna_reduced_b_matrix(scaled, **kwargs):
def get_lna_reduced_b_matrix(scaled=False, **kwargs):
""" Returns the LNA covariance matrix calculated last time `run_lna` was called
"""
model = model_io.get_model_from_dict_or_default(kwargs)
Expand Down

0 comments on commit c8f8c2d

Please sign in to comment.