Code Monkey home page Code Monkey logo

zahner-analysis-python's Introduction

Zahner-Analysis-Python

zahner_analysis is a Python package which uses the Zahner Analysis to evaluate measured electrochemical data.

The Python package zahner_analysis is a client for the REST interface of the Zahner Analysis module Remote Evaluation. This module is optional and must be selected for installation when installing the Zahner Analysis.

A equivalent electrical circuit model for an impedance measurement can be easily developed with the graphical interface of the Zahner Analysis. The Magic Wand Preset Element Tool tool is available to determine appropriate initial values for the fit.

Zahner Analysis Screenshot

With Python the equivalent electrical circuit models, which have been created with the GUI, can be fitted to impedance spectra. The elements and parameters of the model can be read and processed with Python.

With the Python package thales_remote as a supplement, EIS measurements can be performed with a Zennium and immediately evaluated. The Zahner Analysis is not required for importing and plotting data with Python.

๐Ÿ“š Documentation

The complete documentation of the individual functions can be found on the API documentation website.

๐Ÿ”ง Installation

The package can be installed via pip.

pip install zahner_analysis

The Zahner Analysis must be downloaded from the Zahner-Elektrik website in order to be installed.

๐Ÿ”จ Basic Usage

The Jupyter notebook BasicIntroduction.ipynb explains the fundamentals of using the library.

"""
Load data and model
"""
impedanceCircuitModel = IsfxModelImport("li-ion-model.isfx")
impedanceData = IsmImport("li-ion-battery.ism")

"""
Create the EisFitting object
"""
fitting = EisFitting()

"""
Fit the equivalent electrical circuit model to the data
"""
fittingResult = fitting.fit(impedanceCircuitModel, impedanceData)

"""
Plot the result
"""
EisFittingPlotter.plotBode(fittingResult)

fittingResult Screenshot

๐Ÿ“– Examples

The following examples are build on each other, you should read and understand them in sequence.

If measurement data are saved from the examples, they are located in the corresponding directory of the example.

  • Load the data and the model
  • Fit the model to the data
  • Plot the result
  • Showing all configuration options
  • Customize the connection to Zahner Analysis Software
  • Optional fit and simulation parameters
  • Optional plotting parameters
  • EIS series fit
  • Load all files from a directory
  • Plot circuit element vs series parameter

๐Ÿ“ง Haveing a question?

Send an mail to our support team.

โ‰๏ธ Found a bug or missing a specific feature?

Feel free to create a new issue with a respective title and description on the the Zahner-Analysis-Python repository.
If you already found a solution to your problem, we would love to review your pull request!

โœ… Requirements

Programming is done with the latest Python version at the time of commit.

If you work with equivalent circuits and you need the fit and simulate functions, you need the Zahner Analysis with its REST interface. To use the REST interface, you need a licensed Zahner Analysis with at least version 3.2.1. The Zahner Analysis is not required for importing and plotting data.

The packages matplotlib, SciPy and NumPy are used to display the measurement results. The requests package is necessary to communicate with the Zahner Analysis. Jupyter is not necessary, each example is also available as a Python file.

zahner-analysis-python's People

Contributors

maxkrapp1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.