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

SA: option for custom outputs #622

Closed
PavelBal opened this issue Apr 9, 2024 · 4 comments
Closed

SA: option for custom outputs #622

PavelBal opened this issue Apr 9, 2024 · 4 comments
Assignees

Comments

@PavelBal
Copy link
Member

PavelBal commented Apr 9, 2024

SA should support other outputs than PK-parameters only.

How? Proposal - the user provides a function with well-defined signature and returns a value. E.g.:

customSAOuput <- function(simulationResults, outputPath) {
  tmp <- simulationResults$data$outputPath
  # do some magic
  result <- magic(tmp)
  return(result)
}

Checks to perform:

  • function signature is SimulationResults, string
@PavelBal
Copy link
Member Author

PavelBal commented Apr 9, 2024

Name of the function must be considered for the title in plots (and table outputs)

@Laura-Villain
Copy link

Example: average of tmp between times X and Y (ex: mean tmp between time=10 min and time =60 min)

@PavelBal
Copy link
Member Author

When implemented, update the plotting functions.

  • Update documentation
  • Add customOutputs argument

@rengelke
Copy link
Contributor

rengelke commented Aug 6, 2024

Resolved in #685

@rengelke rengelke closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants