cellpy.utils.batch_tools.engines
#
Engines are functions that are used by the Do-ers.
Keyword Args: experiments, farms, barn, optionals Returns: farms, barn
Module Contents#
Functions#
|
engine to extract cycles |
|
engine that performs incremental analysis of the cycle-data |
|
engine to extract raw data |
|
Engine that gets values from the db for given set of cell IDs. |
|
|
|
engine to extract summary data |
Attributes#
- simple_db_engine(reader=None, cell_ids=None, file_list=None, pre_path=None, include_key=False, include_individual_arguments=True, additional_column_names=None, batch_name=None, **kwargs)[source]#
Engine that gets values from the db for given set of cell IDs.
The simple_db_engine looks up values for mass, names, etc. from the db using the reader object. In addition, it searches for the corresponding raw files / data.
- Parameters:
reader – a reader object (defaults to dbreader.Reader)
cell_ids – keys (cell IDs) (assumes that the db has already been filtered, if not, use batch_name).
file_list – file list to send to filefinder (instead of searching in folders for files).
pre_path – prepended path to send to filefinder.
include_key – include the key col in the pages (the cell IDs).
include_individual_arguments – include the argument column in the pages.
additional_column_names – list of additional column names to include in the pages.
batch_name – name of the batch (used if cell_ids are not given)
**kwargs – sent to filefinder
- Returns:
pages (pandas.DataFrame)