30#ifndef _PVARHANDLER_H_
31#define _PVARHANDLER_H_
95 const std::vector<PmuppCollection*> &allColl = std::vector<PmuppCollection*>());
179 std::vector<double>
getData(
int idx);
Core data structures and handler classes for mupp parameter management.
PmuppCollection * fColl
pointer to collection containing run data needed for parsing and evaluation
std::vector< double > getErrors()
Gets the computed errors for the variable.
QString getVarName()
Gets the variable name.
std::vector< PmuppCollection * > fAllColl
all loaded collections (handler-index order); Python path only, exposed as coll[]/collErr[]
PVarHandler()
Default constructor.
void evaluatePython()
Evaluates the variable using an embedded Python3 interpreter (TPython).
bool isValid()
Checks if the parsing and evaluation were successful.
std::vector< double > getData(int idx)
Gets the data values for a specific parameter across all runs.
std::string fParseStr
the variable input string to be parsed
void injectPredefVariables()
Injects predefined variables from the collection into the AST.
bool fIsValid
flag indicating whether parsing and evaluation succeeded
mupp::prog::PVarHandler fVar
variable handler storing the computed values and errors
std::vector< double > getValues()
Gets the computed values for the variable.
mupp::ast::statement_list fAst
Abstract Syntax Tree generated from parsing.
std::string fVarName
name of the variable to extract from evaluation results
QString getCollName()
Gets the collection name.
std::vector< double > getDataErr(int idx)
Gets the error values for a specific parameter across all runs.
Represents a collection of related experimental runs.
The PVarHandler class manages variable data during evaluation.
std::list< statement > statement_list
Type alias for a list of statements forming a program.