Skip to content
Oliver Rodriguez edited this page Jan 17, 2023 · 15 revisions

Welcome to the hardpotato wiki! Here you will find the documentation on how to use the library, as well as some examples.

General notes

Parameter validation

When creating a technique object, (potentiostat.CV(), for example) with its respective arguments, the parameters are validated to ensure that they fall within the range of the selected potentiostat, otherwise the library will throw and exception preventing the continuation of the script.

Info class

Calling the specifications() function of the Info class prints the techniques available and optional parameters for the selected potentiotsat.

Example:

import hardpotato as hp
model = 'chi1205b'

info = hp.potentiostat.Info(model)
info.specifications()

Optional parameters

To account for the option variability on different potentiostat models, the techniques have the following optional parameters:

  • qt: int. [s] quite time, 2 s by default. Available on the chi1205b, chi1242b, chi601e and chi760e.
  • resistance: double. [ohms] solution resistance to perform automatic iR compensation, zero by default (no compensation). Available on the chi601e and chi760e.
  • mode: str. Emstat Pico mode: low_speed, high_speed, max_range. Defaults to max_range.

Other options can be added this way, depending on specific potentiostat models that are being added to the library. This helps future proof the code.

Modules

Examples: techniques

Examples: methodologies

Clone this wiki locally