Utilities

Utilities

class chronoamperometry.utils.DataFrameBuild(mt_excel_data)[source]

This class consumes excel file outputs from PalmSens Multitrace and converts them to a standardized pandas dataframe format

dataframe_from_mtxl()[source]

Consumes excel files and produces unmelted dataframes where each column is a different channel, except the first, which is time.

melted_dataframe_from_mtxl()[source]

Consumes excel files and produces melted dataframes, grammar of graphics style.

class chronoamperometry.utils.SelectData(data, subset_1=None, subset_2=None)[source]

This class is useful for splitting data into two subsets (e.g.: if there are different variables on the same run, etc.) or for deleting a subset of the data. Simply pass in a list of channel numbers that should be

in the first or second subsets.
delete_subset()[source]

This method will keep the first subset and delete the second subset of the input data.

split_dataframes()[source]

This method will convert the raw output from the PalmSens Multitrace software for the MultiEmStat potentiostat or a processed dataframe to multiple dataframes, one for each experimental variable so that they can be compared.

Is useful for multiple variables on the same device