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.4.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.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: originec-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6a2120e2bbd1e03461d62a3b6b8b17cb39f41ae6e07f4dac939d743a80296e04
MD5 3bc32091ac0946f89beb720c8f31a4fa
BLAKE2b-256 6da033a109254b189327bf9f2906ce26686a132b32bcf1d49587bbbbedba2347

See more details on using hashes here.

File details

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

File metadata

  • Download URL: originec-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc72f9f8cf50df2985ce8dcd0d332928ca500337a2046f55004d9d78ced7e43
MD5 0f8a00feb2009225a36d6e6f7acfc7cf
BLAKE2b-256 244dbff5b7220cf1bb3b668467dba0f331d8e4a554caaaebb4d935a121e407d3

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