jepegit / cellpy

extract and tweak data from electrochemical tests of cells
MIT License
88 stars 30 forks source link

export easily to excel #259

Closed jepegit closed 1 year ago

jepegit commented 1 year ago

Would be nice to have a method on CellpyCell that exports the content to an Excel file.

Preferably it should create one file with several sheets:

  1. meta data
  2. summary data
  3. (optional) step data
  4. (optional) raw data
  5. (optional) processed cycle data (voltage-capacity-curves, dQ/dV, OCVrlx, other)

Possible API:

import cellpy

c = cellpy.get(filenames, instrument=instrument)
c.to_excel(outfilename, [args], [kwargs])
jepegit commented 1 year ago

Done (still room for improvements, for example cannot export ica, ocvrlx etc)