Skip to main content

A CLI tool to process and plot Coulomb titration .dat files

Project description

kulun 库仑滴定数据处理与绘图工具

kulun 是一个用 Python 编写的命令行工具,专门用于提取、合并并绘制由库仑滴定仪生成的 .dat 数据文件。该工具能够快速绘制滴定曲线及一阶导数图,并自动标注突跃点时间间隔。

安装

可以通过 pip 快速安装:

pip install kulun

功能与用法

安装后,您可以在终端中任意位置直接使用 kulun 命令。

1. 提取数据 (-e / --extract)

.dat 文件或文件夹中提取第4和第5列数据为 .csv 文件。

kulun -e file1.dat file2.dat
kulun -e ./data_folder

2. 合并数据 (-c / --combine)

顺序拼接多个 .csv 数据文件,自动平移时间轴确保连续。

kulun -c file1.csv file2.csv 

3. 一键提取并合并 (-ec)

kulun -ec file1.dat file2.dat
  • 注意⚠️:凡是包含 "c" 方法的命令都需要注意传入文件的顺序!

4. 数据绘图 (-p / --plot)

基于提取的 CSV 文件,自动识别平行曲线、画出滴定和一阶导曲线,分析突跃点并输出高质量科研插图 .png

kulun -p data.csv

5. 高阶组合功能

同时合并并画图:

kulun -cp file1.csv file2.csv

提取、合并并画图:

kulun -ecp file1.dat file2.dat

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

kulun-1.0.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

kulun-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file kulun-1.0.0.tar.gz.

File metadata

  • Download URL: kulun-1.0.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for kulun-1.0.0.tar.gz
Algorithm Hash digest
SHA256 78390d8a38ac8ed084ceb338350f869e848962e65c61d7df9facca5a959ab67b
MD5 22197fd9e7abd1bf13b5a10a802073b8
BLAKE2b-256 5bd006431d26c86f9c185f43be8521c594a1958355a8f55ecfd25ce3f6ab0ff4

See more details on using hashes here.

File details

Details for the file kulun-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kulun-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for kulun-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee416f0bb27971808f1b275cc2c5bf468f065dfe684afe0918e35c366a8e1762
MD5 374d57ad7bef2250968c07e56750ea6e
BLAKE2b-256 699f8323e8c0d29159fad5294064c9918d93fa21f0dd86b88577e57177560f11

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