Establishes connections between simulated quantities and
corresponding observed data sets. Utilized within ParameterIdentification
instances to align and compare simulation outputs with empirical data.
Active bindings
observedDataSetsA named list containing
DataSetobjects for comparison with simulation outcomes.dataTransformationsA named list of factors and offsets.
dataWeightsA named list of y-value weights.
quantitySimulation quantities to be aligned with observed data values.
simIdIdentifier of the simulation associated with the mapped quantity.
scalingSpecifies scaling for output mapping: linear (default) or logarithmic.
transformResultsFunctionA function to preprocess simulated results (time and observation values) before residual calculation. It takes numeric vectors
xValsandyVals, and returns a named list with keysxValsandyVals.
Methods
Method addObservedDataSets()
Method setDataTransformations()
Configures transformations for datasets.
Usage
PIOutputMapping$setDataTransformations(
labels = NULL,
xOffsets = 0,
yOffsets = 0,
xFactors = 1,
yFactors = 1
)Arguments
labelsList of dataset labels for targeted transformations. Absence of labels applies transformations globally.
xOffsetsNumeric list/value for X-offset adjustments.
yOffsetsNumeric list/value for Y-offset adjustments.
xFactorsNumeric list/value for X-scaling factors.
yFactorsNumeric list/value for Y-scaling factors.
Method setDataWeights()
Assigns weights to observed data sets for residual weighting during parameter identification.
Arguments
weightsA named list of numeric values or numeric vectors. The names must match the names of the observed datasets.
Each element in the list can be:
a scalar, which will be broadcast to all y-values of the corresponding dataset,
or a numeric vector matching the number of y-values for that dataset.
To apply both dataset-level and point-level weights, multiply them beforehand and provide the combined result as a single numeric vector per dataset.