Skip to main content

Electrochemical data processing for OriginPro

Project description

OriginEC

A Python tool for visualizing and analyzing electrochemical measurement data using OriginPro.

Overview

OriginEC is a tool that automatically processes data obtained from electrochemical measurement devices (Gamry, BioLogic EC-Lab) and creates graphs in OriginPro. Data processing can be easily performed through a GUI interface.

Features

  • Cyclic Voltammetry (CV) Data Processing

    • Import and process CV data from Gamry format (.DTA, .txt)
    • Import and process CV data from BioLogic EC-Lab format
    • Normalization to current density by electrode area
    • Automatic scaling
    • Graph creation in OriginPro
  • Charge/Discharge Data Processing (BioLogic EC-Lab)

    • Import charge/discharge data from EC-Lab
    • Automatic separation of charge and discharge cycles
    • Automatic cycle number calculation
    • Charge/discharge curve creation in OriginPro
  • GUI Interface

    • File selection
    • Processing method selection (CV_Gamry, CV_Biologic, ChDis_ECLab)
    • Parameter input (electrode diameter, scan rate, etc.)

Requirements

  • Python >= 3.11
  • OriginPro (must be installed)

Dependencies

  • originpro >= 1.1.14
  • pandas >= 2.3.3
  • numpy >= 2.4.1
  • scipy >= 1.17.0
  • FreeSimpleGUI >= 5.2.0.post1

Installation

pip install originec

Or install from source:

git clone https://github.com/tomooki/originec.git
cd originec
poetry install

Usage

Launch in GUI Mode

Method 1: Command line (easiest after installation)

originec

Method 2: Python module

python -m originec

Method 3: From OriginPro Python Console

import originec
originec.launch()

Method 4: Direct import

from originec.origin_UI import main
main()

Method 5: Using launcher script Place launch_originec.py in Origin's User Files folder, then run from Origin's Script Window or Python Console:

exec(open('launch_originec.py').read())

Programmatic Usage

Processing Gamry CV Data

from originec.CV.cvorigin import CVMakerGamry

# Specify list of file paths
file_list = ["path/to/file1.DTA", "path/to/file2.DTA"]

# Normalize to current density by specifying electrode diameter (mm)
diameter = 3.0  # 3mm diameter electrode
CVMakerGamry(file_list, diameter=diameter)

Processing BioLogic CV Data

from originec.CV.cvorigin import CVMakerBiologic

# Copy data to clipboard from BioLogic EC-Lab (Alt+D) before running
CVMakerBiologic()

Processing BioLogic Charge/Discharge Data

from originec.Biologic.chdis_bio import ECLabChDisMaker

# Copy data to clipboard from EC-Lab before running
ECLabChDisMaker()

Data Formats

Gamry Format

  • .DTA files: Gamry raw data files
  • .txt files: Tab-delimited exported data

BioLogic EC-Lab Format

  • Data copied to clipboard from EC-Lab using Alt+D
  • CV data: Potential (Ewe/V) and current (I/mA, I/A, I/μA, etc.)
  • Charge/discharge data: Capacity (Capacity/mA.h/g) and potential (E/V)

License

Please contact the project owner regarding the license for this project.

Author

tomooki (tomooki0414@gmail.com)

Version

0.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

originec-0.1.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

originec-0.1.3-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file originec-0.1.3.tar.gz.

File metadata

  • Download URL: originec-0.1.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Windows/11

File hashes

Hashes for originec-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5b8464fee6894e3472459a7aece274c7294092f31ec8723b6616564274690255
MD5 24deff7bfbfab4c4e3baa95cee1c77d6
BLAKE2b-256 a3dce2cfbf1451809123a4cdc0929e64497d84fbdd582a856f76de6186e97c2f

See more details on using hashes here.

File details

Details for the file originec-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: originec-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Windows/11

File hashes

Hashes for originec-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5227d23723015d02eabdc0d5bcd74dab59605e45d5a2752df6fc93386fb682f
MD5 436159f49ef42f81cc9b4f8d36ffd38e
BLAKE2b-256 f93b9df4e4343ec5256bd40f26503110d4337992cea587c25d8507be144b50e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page