emat/model/core_model.py
def read_experiment_parameters(
            self,
            design_name,
            db=None,
            only_pending=False,
    ):
        """
        Reads uncertainties and levers from a design of experiments from the database.

        Args:
            design_name (str): The name of the design to load.
            db (Database, optional): The Database from which to read experiments.
                If no db is given, the default `db` for this model is used.
            only_pending (bool, default False): If True, only pending
                experiments (which have no performance measure results
                stored in the database) are returned.

        Returns:
            pandas.DataFrame:
                A DataFrame that contains all uncertainties, levers, and measures
                for the experiments.

        Raises:
            ValueError:
                If `db` is not given and there is no default
                Database connection set.
        """
        db = db if db is not None else self.db

        if db is None:
            raise ValueError('no database to read from')

        return self.ensure_dtypes(
            db.read_experiment_parameters(self.scope.name, design_name, only_pending=only_pending)
        )

        Reads uncertainties and levers from a design of experiments from the database.

        Args:
            design_name (str): The name of the design to load.
            db (Database, optional): The Database from which to read experiments.
                If no db is given, the default `db` for this model is used.
            only_pending (bool, default False): If True, only pending
                experiments (which have no performance measure results
                stored in the database) are returned.

        Returns:
            pandas.DataFrame:
                A DataFrame that contains all uncertainties, levers, and measures
                for the experiments.

        Raises:
            ValueError:
                If `db` is not given and there is no default
                Database connection set.
        
Reads uncertainties and levers from a design of experiments from the database.
Reads uncertainties and levers from a design of experiments from the database .
def read_experiment_parameters(
            self,
            design_name,
            db=None,
            only_pending=False,
    ):
        db = db if db is not None else self.db
        if db is None:
            raise ValueError('no database to read from')
        return self.ensure_dtypes(
            db.read_experiment_parameters(self.scope.name, design_name, only_pending=only_pending)
        )
def read_experiment_parameters ( self , design_name , db = None , only_pending = False , ) : db = db if db is not None else self . db if db is None : raise ValueError ( 'no database to read from' ) return self . ensure_dtypes ( db . read_experiment_parameters ( self . scope . name , design_name , only_pending = only_pending ) )
Reads uncertainties and levers from a design of experiments from the database.
Reads uncertainties and levers from a design of experiments from the database .
"""
        Reads uncertainties and levers from a design of experiments from the database.

        Args:
            design_name (str): The name of the design to load.
            db (Database, optional): The Database from which to read experiments.
                If no db is given, the default `db` for this model is used.
            only_pending (bool, default False): If True, only pending
                experiments (which have no performance measure results
                stored in the database) are returned.

        Returns:
            pandas.DataFrame:
                A DataFrame that contains all uncertainties, levers, and measures
                for the experiments.

        Raises:
            ValueError:
                If `db` is not given and there is no default
                Database connection set.
        """
A DataFrame that contains all uncertainties, levers, and measures
for the experiments.
A DataFrame that contains all uncertainties levers and measures for the experiments .
pandas.DataFrame
If `db` is not given and there is no default
Database connection set.
If ` db ` is not given and there is no default Database connection set .
ValueError
self
design_name
The name of the design to load.
The name of the design to load .
db
The Database from which to read experiments.
If no db is given, the default `db` for this model is used.
The Database from which to read experiments . If no db is given the default ` db ` for this model is used .
only_pending
If True, only pending
experiments (which have no performance measure results
stored in the database) are returned.
If True only pending experiments ( which have no performance measure results stored in the database ) are returned .