-
Couldn't load subscription status.
- Fork 14
Module load data
Performs common operations on files created by the pypotato library.
Reads a file created with the pypotato library. It is inherited by the rest of the classes.
Methods
*potentiostat.Read.read(text=0, model=0)
- text: str or False. Text to locate in file to use as starting point to read.
- model: str or False. Potentiostat model used when creating the files.
*potentiostat.Read.search(text)
- text: str. Text to locate in file to use as starting point to read.
Returns data: instance
- i: numpy array. [A] measured current.
- E: numpy array. [V] measured voltage.
- t: numpy array. [s] measured time. Optional, available for the Emstat Pico.
Loads a general data file with X and Y columns.
Parameters
- fileName: str. Filename of the file to read with extension included.
- folder: str. Directory where the file is located.
- skiprows: int. Number of rows from the top to skip.
- delimiter: char. Character used to delimiter columns: ',', ' ', '\t', etc.
- model: str or False. Potentiostat model used when creating the files.
Returns data: XY instance
- x: numpy array. [AU] first column.
- y: numpy array. [AU] rest of the columns.
Loads a cyclic voltammogram data file obtained with the pypotato library.
Parameters
- fileName: str. Filename of the file to read with extension included.
- folder: str. Directory where the file is located.
- model: str or False. Potentiostat model used when creating the files.
Returns data: CV instance
- E: numpy array. [V] potential array.
- i: numpy array. [A] current array.
Loads a linear sweep voltammogram data file obtained with the pypotato library.
Parameters
- fileName: str. Filename of the file to read with extension included.
- folder: str. Directory where the file is located.
- model: str or False. Potentiostat model used when creating the files.
Returns data: LSV instance
- E: numpy array. [V] potential array.
- i: numpy array. [i] current array.
Loads a chronoamperogram data file obtained with the pypotato library.
Parameters
- fileName: str. Filename of the file to read with extension included.
- folder: str. Directory where the file is located.
- model: str or False. Potentiostat model used when creating the files.
Returns data: CA instance
- t: numpy array. [s] time array.
- i: numpy array. [i] current array.
Loads a chronoamperogram data file obtained with the pypotato library.
Parameters
- fileName: str. Filename of the file to read with extension included.
- folder: str. Directory where the file is located.
- model: str or False. Potentiostat model used when creating the files.
Returns data: OCP instance
- t: numpy array. [s] time array.
- E: numpy array. [V] potential array.