|
7 | 7 |
|
8 | 8 | # MEASUREMENTS |
9 | 9 |
|
10 | | -#: |
| 10 | +#: Observable ID column in the observable and measurement tables |
11 | 11 | OBSERVABLE_ID = "observableId" |
12 | 12 |
|
13 | | -#: |
| 13 | +#: Preequilibration condition ID column in the measurement table |
14 | 14 | PREEQUILIBRATION_CONDITION_ID = "preequilibrationConditionId" |
15 | 15 |
|
16 | | -#: |
| 16 | +#: Simulation condition ID column in the measurement table |
17 | 17 | SIMULATION_CONDITION_ID = "simulationConditionId" |
18 | 18 |
|
19 | | -#: |
| 19 | +#: Measurement value column in the measurement table |
20 | 20 | MEASUREMENT = "measurement" |
21 | 21 |
|
22 | | -#: |
| 22 | +#: Time column in the measurement table |
23 | 23 | TIME = "time" |
24 | 24 |
|
25 | 25 | #: Time value that indicates steady-state measurements |
26 | 26 | TIME_STEADY_STATE = _math.inf |
27 | 27 |
|
28 | | -#: |
| 28 | +#: Observable parameters column in the measurement table |
29 | 29 | OBSERVABLE_PARAMETERS = "observableParameters" |
30 | 30 |
|
31 | | -#: |
| 31 | +#: Noise parameters column in the measurement table |
32 | 32 | NOISE_PARAMETERS = "noiseParameters" |
33 | 33 |
|
34 | | -#: |
| 34 | +#: Dataset ID column in the measurement table |
35 | 35 | DATASET_ID = "datasetId" |
36 | 36 |
|
37 | | -#: |
| 37 | +#: Replicate ID column in the measurement table |
38 | 38 | REPLICATE_ID = "replicateId" |
39 | 39 |
|
40 | 40 | #: Mandatory columns of measurement table |
|
65 | 65 |
|
66 | 66 | # PARAMETERS |
67 | 67 |
|
68 | | -#: |
| 68 | +#: Parameter ID column in the parameter table |
69 | 69 | PARAMETER_ID = "parameterId" |
70 | | -#: |
| 70 | +#: Parameter name column in the parameter table |
71 | 71 | PARAMETER_NAME = "parameterName" |
72 | | -#: |
| 72 | +#: Parameter scale column in the parameter table |
73 | 73 | PARAMETER_SCALE = "parameterScale" |
74 | | -#: |
| 74 | +#: Lower bound column in the parameter table |
75 | 75 | LOWER_BOUND = "lowerBound" |
76 | | -#: |
| 76 | +#: Upper bound column in the parameter table |
77 | 77 | UPPER_BOUND = "upperBound" |
78 | | -#: |
| 78 | +#: Nominal value column in the parameter table |
79 | 79 | NOMINAL_VALUE = "nominalValue" |
80 | | -#: |
| 80 | +#: Estimate column in the parameter table |
81 | 81 | ESTIMATE = "estimate" |
82 | | -#: |
| 82 | +#: Initialization prior type column in the parameter table |
83 | 83 | INITIALIZATION_PRIOR_TYPE = "initializationPriorType" |
84 | | -#: |
| 84 | +#: Initialization prior parameters column in the parameter table |
85 | 85 | INITIALIZATION_PRIOR_PARAMETERS = "initializationPriorParameters" |
86 | | -#: |
| 86 | +#: Objective prior type column in the parameter table |
87 | 87 | OBJECTIVE_PRIOR_TYPE = "objectivePriorType" |
88 | | -#: |
| 88 | +#: Objective prior parameters column in the parameter table |
89 | 89 | OBJECTIVE_PRIOR_PARAMETERS = "objectivePriorParameters" |
90 | 90 |
|
91 | 91 | #: Mandatory columns of parameter table |
|
115 | 115 | *PARAMETER_DF_OPTIONAL_COLS[1:], |
116 | 116 | ] |
117 | 117 |
|
118 | | -#: |
| 118 | +#: Initialization-type prior |
119 | 119 | INITIALIZATION = "initialization" |
120 | | -#: |
| 120 | +#: Objective-type prior |
121 | 121 | OBJECTIVE = "objective" |
122 | 122 |
|
123 | 123 |
|
124 | 124 | # CONDITIONS |
125 | 125 |
|
126 | | -#: |
| 126 | +#: Condition ID column in the condition table |
127 | 127 | CONDITION_ID = "conditionId" |
128 | | -#: |
| 128 | +#: Condition name column in the condition table |
129 | 129 | CONDITION_NAME = "conditionName" |
130 | 130 |
|
131 | 131 |
|
132 | 132 | # OBSERVABLES |
133 | 133 |
|
134 | | -#: |
| 134 | +#: Observable name column in the observables table |
135 | 135 | OBSERVABLE_NAME = "observableName" |
136 | | -#: |
| 136 | +#: Observable formula column in the observables table |
137 | 137 | OBSERVABLE_FORMULA = "observableFormula" |
138 | | -#: |
| 138 | +#: Noise formula column in the observables table |
139 | 139 | NOISE_FORMULA = "noiseFormula" |
140 | | -#: |
| 140 | +#: Observable transformation column in the observables table |
141 | 141 | OBSERVABLE_TRANSFORMATION = "observableTransformation" |
142 | | -#: |
| 142 | +#: Noise distribution column in the observables table |
143 | 143 | NOISE_DISTRIBUTION = "noiseDistribution" |
144 | 144 |
|
145 | 145 | #: Mandatory columns of observables table |
|
165 | 165 |
|
166 | 166 | # TRANSFORMATIONS |
167 | 167 |
|
168 | | -#: |
| 168 | +#: Linear transformation |
169 | 169 | LIN = "lin" |
170 | | -#: |
| 170 | +#: Logarithmic transformation |
171 | 171 | LOG = "log" |
172 | | -#: |
| 172 | +#: Logarithmic base 10 transformation |
173 | 173 | LOG10 = "log10" |
174 | 174 | #: Supported observable transformations |
175 | 175 | OBSERVABLE_TRANSFORMATIONS = [LIN, LOG, LOG10] |
176 | 176 |
|
177 | 177 |
|
178 | 178 | # NOISE MODELS |
179 | 179 |
|
180 | | -#: |
| 180 | +#: Uniform distribution |
181 | 181 | UNIFORM = "uniform" |
182 | | -#: |
| 182 | +#: Uniform distribution on the parameter scale |
183 | 183 | PARAMETER_SCALE_UNIFORM = "parameterScaleUniform" |
184 | | -#: |
| 184 | +#: Normal distribution |
185 | 185 | NORMAL = "normal" |
186 | | -#: |
| 186 | +#: Normal distribution on the parameter scale |
187 | 187 | PARAMETER_SCALE_NORMAL = "parameterScaleNormal" |
188 | | -#: |
| 188 | +#: Laplace distribution |
189 | 189 | LAPLACE = "laplace" |
190 | | -#: |
| 190 | +#: Laplace distribution on the parameter scale |
191 | 191 | PARAMETER_SCALE_LAPLACE = "parameterScaleLaplace" |
192 | | -#: |
| 192 | +#: Log-normal distribution |
193 | 193 | LOG_NORMAL = "logNormal" |
194 | | -#: |
| 194 | +#: Log-Laplace distribution |
195 | 195 | LOG_LAPLACE = "logLaplace" |
196 | 196 |
|
197 | 197 | #: Supported prior types |
|
212 | 212 |
|
213 | 213 | # VISUALIZATION |
214 | 214 |
|
215 | | -#: |
| 215 | +#: Plot ID column in the visualization table |
216 | 216 | PLOT_ID = "plotId" |
217 | | -#: |
| 217 | +#: Plot name column in the visualization table |
218 | 218 | PLOT_NAME = "plotName" |
219 | | -#: |
| 219 | +#: Value for plot type 'simulation' in the visualization table |
220 | 220 | PLOT_TYPE_SIMULATION = "plotTypeSimulation" |
221 | | -#: |
| 221 | +#: Value for plot type 'data' in the visualization table |
222 | 222 | PLOT_TYPE_DATA = "plotTypeData" |
223 | | -#: |
| 223 | +#: X values column in the visualization table |
224 | 224 | X_VALUES = "xValues" |
225 | | -#: |
| 225 | +#: X offset column in the visualization table |
226 | 226 | X_OFFSET = "xOffset" |
227 | | -#: |
| 227 | +#: X label column in the visualization table |
228 | 228 | X_LABEL = "xLabel" |
229 | | -#: |
| 229 | +#: X scale column in the visualization table |
230 | 230 | X_SCALE = "xScale" |
231 | | -#: |
| 231 | +#: Y values column in the visualization table |
232 | 232 | Y_VALUES = "yValues" |
233 | | -#: |
| 233 | +#: Y offset column in the visualization table |
234 | 234 | Y_OFFSET = "yOffset" |
235 | | -#: |
| 235 | +#: Y label column in the visualization table |
236 | 236 | Y_LABEL = "yLabel" |
237 | | -#: |
| 237 | +#: Y scale column in the visualization table |
238 | 238 | Y_SCALE = "yScale" |
239 | | -#: |
| 239 | +#: Legend entry column in the visualization table |
240 | 240 | LEGEND_ENTRY = "legendEntry" |
241 | 241 |
|
242 | 242 | #: Mandatory columns of visualization table |
|
287 | 287 | DATASET_ID, |
288 | 288 | ] |
289 | 289 |
|
290 | | -#: |
| 290 | +#: Plot type value in the visualization table for line plot |
291 | 291 | LINE_PLOT = "LinePlot" |
292 | | -#: |
| 292 | +#: Plot type value in the visualization table for bar plot |
293 | 293 | BAR_PLOT = "BarPlot" |
294 | | -#: |
| 294 | +#: Plot type value in the visualization table for scatter plot |
295 | 295 | SCATTER_PLOT = "ScatterPlot" |
296 | 296 | #: Supported plot types |
297 | 297 | PLOT_TYPES_SIMULATION = [LINE_PLOT, BAR_PLOT, SCATTER_PLOT] |
|
303 | 303 | Y_SCALES = [LIN, LOG, LOG10] |
304 | 304 |
|
305 | 305 |
|
306 | | -#: |
| 306 | +#: Plot type "data" value in the visualization table for mean and standard |
| 307 | +# deviation |
307 | 308 | MEAN_AND_SD = "MeanAndSD" |
308 | | -#: |
| 309 | +#: Plot type "data" value in the visualization table for mean and standard |
| 310 | +# error |
309 | 311 | MEAN_AND_SEM = "MeanAndSEM" |
310 | | -#: |
| 312 | +#: Plot type "data" value in the visualization table for replicates |
311 | 313 | REPLICATE = "replicate" |
312 | | -#: |
| 314 | +#: Plot type "data" value in the visualization table for provided noise values |
313 | 315 | PROVIDED = "provided" |
314 | 316 | #: Supported settings for handling replicates |
315 | 317 | PLOT_TYPES_DATA = [MEAN_AND_SD, MEAN_AND_SEM, REPLICATE, PROVIDED] |
316 | 318 |
|
317 | 319 |
|
318 | 320 | # YAML |
319 | | -#: |
| 321 | +#: PEtab version key in the YAML file |
320 | 322 | FORMAT_VERSION = "format_version" |
321 | | -#: |
| 323 | +#: Parameter file key in the YAML file |
322 | 324 | PARAMETER_FILE = "parameter_file" |
323 | | -#: |
| 325 | +#: Problems key in the YAML file |
324 | 326 | PROBLEMS = "problems" |
325 | | -#: |
| 327 | +#: SBML files key in the YAML file |
326 | 328 | SBML_FILES = "sbml_files" |
327 | | -#: |
| 329 | +#: Model files key in the YAML file |
| 330 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
328 | 331 | MODEL_FILES = "model_files" |
329 | | -#: |
| 332 | +#: Model location key in the YAML file |
| 333 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
330 | 334 | MODEL_LOCATION = "location" |
331 | | -#: |
| 335 | +#: Model language key in the YAML file |
| 336 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
332 | 337 | MODEL_LANGUAGE = "language" |
333 | | -#: |
| 338 | +#: Condition files key in the YAML file |
334 | 339 | CONDITION_FILES = "condition_files" |
335 | | -#: |
| 340 | +#: Measurement files key in the YAML file |
336 | 341 | MEASUREMENT_FILES = "measurement_files" |
337 | | -#: |
| 342 | +#: Observable files key in the YAML file |
338 | 343 | OBSERVABLE_FILES = "observable_files" |
339 | | -#: |
| 344 | +#: Visualization files key in the YAML file |
340 | 345 | VISUALIZATION_FILES = "visualization_files" |
341 | | -#: |
| 346 | +#: Mapping files key in the YAML file |
| 347 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
342 | 348 | MAPPING_FILES = "mapping_files" |
343 | | -#: |
| 349 | +#: Extensions key in the YAML file |
| 350 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
344 | 351 | EXTENSIONS = "extensions" |
345 | 352 |
|
346 | 353 |
|
347 | 354 | # MAPPING |
348 | | -#: |
| 355 | + |
| 356 | +#: PEtab entity ID column in the mapping table |
| 357 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
349 | 358 | PETAB_ENTITY_ID = "petabEntityId" |
350 | | -#: |
| 359 | +#: Model entity ID column in the mapping table |
| 360 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
351 | 361 | MODEL_ENTITY_ID = "modelEntityId" |
352 | | -#: |
| 362 | +#: Required columns of the mapping table |
| 363 | +# (PEtab v2.0 -- DEPRECATED: use value from petab.v2.C) |
353 | 364 | MAPPING_DF_REQUIRED_COLS = [PETAB_ENTITY_ID, MODEL_ENTITY_ID] |
354 | 365 |
|
355 | 366 | # MORE |
356 | 367 |
|
357 | | -#: |
| 368 | +#: Simulated value column in the simulation table |
358 | 369 | SIMULATION = "simulation" |
359 | | -#: |
| 370 | +#: Residual value column in the residuals table |
360 | 371 | RESIDUAL = "residual" |
361 | | -#: |
| 372 | +#: ??? |
362 | 373 | NOISE_VALUE = "noiseValue" |
363 | 374 |
|
364 | | -# separator for multiple parameter values (bounds, observableParameters, ...) |
| 375 | +#: separator for multiple parameter values (bounds, observableParameters, ...) |
365 | 376 | PARAMETER_SEPARATOR = ";" |
366 | 377 |
|
367 | 378 |
|
|
0 commit comments