PyPalmSens 1.9.0
PyPalmSens python-1.9.0 is now available on PyPi.
To upgrade: pip install pypalmsens -U.
For more information, see the documentation.
Corrosion methods
This release adds support for corrosion methods to PyPalmSens. This is mostly a compatibilitey update, so that corrosion data can be read into PyPalmSens. Functionally these methods are exactly the same as the corresponding regular classes. See the documentation for more information.
pypalmsens.corrosion.CorrosionPotentialpypalmsens.corrosion.CyclicPolarizationpypalmsens.corrosion.Galvanostaticpypalmsens.corrosion.LinearPolarizationpypalmsens.corrosion.Potentiostaticpypalmsens.corrosion.ElectrochemicalImpedanceSpectroscopy
Capabilities
You can now retrieve instrument capabilities using InstrumentManager.capabilities.
This provides information on device features, firmware versions, supported current and potential ranges, and other information.
>>> import pypalmsens as ps
>>> with ps.connect() as manager:
... capabilities = manager.capabilities
>>> capabilities
Capabilities(device_type='EmStat4LR', firmware_version=1.5, ...)Estimated duration
Get the estimated measurement duration using InstrumentManager.get_estimated_duration():
>>> import pypalmsens as ps
>>> method = ps.CyclicVoltammetry()
>>> with ps.connect() as manager:
... print(manager.get_estimated_duration(method))
2.099Mixed Mode API changes
This release makes a few changes to the API for Mixed Mode.
pypalmsens.mixed_mode.MixedModeis available from the root level (pypalmsens.MixedMode) for consistency with other techniques. Stages are available frompypalmsens.stages.
import pypalmsens as ps
# old
ps.mixed_mode.MixedMode(stages=[ps.mixed_mode.ConstantE()])
# new
ps.MixedMode(stages=[ps.stages.ConstantE()])See https://dev.palmsens.com/python/latest/_attachments/reference/methods/mixed_mode/
The old paths now emit DeprecationWarnings. They will be removed in a later version.
What's changed
- Add wrappers for corrosion methods (#341)
- Move
get_estimated_durationto instrument manager (#342) - Add support for capabilities (#346)
- Use EILevel for MSP methods (#351)
- Min sampling time must be greater than 0 for Impedance (#354)
- Add
__getitem__and__contains__magic methods to pool (#355) - Move converters and types to root module (#356)
- Update user API (types and mixed mode) (#357)
- Update mixed mode method listing in documentation (#360)
- Add
status()method forIntrumentPool(#361)
Full Changelog: python-1.8.1...python-1.9.0