Figures and illustration

Turn instrument exports into a workbook for Origin

Gather the text and CSV files your instruments export into one .xlsx workbook, a sheet per measurement, with each column’s quantity, unit and sample above the numbers, ready to plot in Origin, Excel or Prism.

Preview

Vicena can do this work, but it has not yet passed our reference test for it. Check its result with care.

Run it

or drop them here

Accepts .csv, .tsv, .txt, .dat, .xy, .asc, .prn, .xlsx, .xls

The files your instrument software wrote, one per measurement: text, CSV or Excel, with any delimiter or decimal separator.

Optional: the quantity and unit of each column and the sample of each file, when the files do not say. Vicena asks if it cannot tell.

Two powder XRD scans exported with decimal commas, semicolons and no header (Kuzhir, Maltanava and Belko, Zenodo, 10.5281/zenodo.14608815, CC BY 4.0). Vicena should read every row as numbers, put each scan in its own sheet with 2θ (°) and intensity (counts) above the columns and the sample as their comment, and say how to open the workbook in Origin.

What you get

  • An .xlsx workbook, one sheet per file, with each column’s quantity, unit and sample in three rows above the numbers, which Origin reads into its Long Name, Units and Comments rows
  • Numbers stored as numbers, whatever the delimiter or decimal separator of the export, with any rows that could not be read reported
  • How to open the workbook in your version of Origin

What you need

The exported files

Send the files the instrument software wrote, one per measurement, rather than a copy pasted into a spreadsheet. Decimal commas, semicolons and tabs are read as they are.

What each column holds

Many instruments write no header. Say the quantity and unit of each column and which sample each file is, so the workbook carries them: a column without a unit is not ready for a paper.

How it works

Vicena reads each file, finds its delimiter, decimal separator and header lines, and checks the numbers it reads against the file, reporting any row it skipped.

It writes the workbook with the X column first and each Y column after it, with quantity, unit and sample in the three rows above the numbers, and tells you how to open it in Origin. When you also want a figure, it plots the same data in a journal figure.

Limits

  • Vicena cannot write an Origin project (.opju or .opj): the format is closed and only Origin writes it. The workbook opens in Origin 2021b or later by dragging it into the workspace, and in older versions through File → Import → Excel with three header lines.
  • The data are copied unchanged: no smoothing, background subtraction or normalisation unless you ask for it.

Next