|
mupp 1.1.0
|
Represents a collection of related experimental runs. More...
#include <Pmupp.h>
Public Member Functions | |
| PmuppCollection () | |
| Default constructor. Initializes an empty collection. | |
| void | SetPathName (QString pathName) |
| Sets the full path name of the collection file. | |
| void | SetName (QString name) |
| Sets the collection name. | |
| void | AddRun (PmuppRun run) |
| Adds a run to this collection. | |
| QString | GetPathName () |
| Gets the full path name of the collection file. | |
| QString | GetName () |
| Gets the collection name. | |
| int | GetNoOfRuns () |
| Gets the number of runs in this collection. | |
| PmuppRun | GetRun (unsigned int idx) |
| Retrieves a run from a collection by index. | |
Private Attributes | |
| QString | fPathName |
| full path and filename of the collection data file | |
| QString | fName |
| display name of the collection (usually just the filename) | |
| QVector< PmuppRun > | fRun |
| vector of all runs in this collection | |
Represents a collection of related experimental runs.
The PmuppCollection class groups together multiple runs that form a coherent dataset, typically representing a scan over some experimental parameter such as temperature, magnetic field, energy, pressure, etc.
A collection corresponds to a single data file (db, dat, or msr format) and contains all runs from that file. This is the top level in the data hierarchy: Parameter -> Run -> Collection
Example use cases:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| PmuppRun PmuppCollection::GetRun | ( | unsigned int | idx | ) |
Retrieves a run from a collection by index.
Returns a copy of the run at the specified index. If the index is out of range, returns an empty (default-constructed) run.
| idx | zero-based index of the run to retrieve |
|
inline |
|
inline |
|
private |
|
private |
|
private |