File Formats
Frida uses its own file format for saving and loading data and curve files. It can also read several legacy formats.
Current format: .yda
The native Frida format uses the extension .yda. It is a plain-text
YAML file with the following top-level keys:
Meta— format identifier and file typeformat:"yaml/frida 2.0"type:"generic tabular data"or"frida2 curve"
History— sequence of strings documenting all operations applied to the file (one entry per operation)Coord— coordinate metadatax,y: name and unit of the x and y axesz: list of z-coordinate descriptors (name and unit per entry)
RPar— list of file constants (r0, r1, …), each with name, unit, value, and standard deviationCurve(curve files only) — fit model metadata: expression, number of parameters, weighing scheme, and chi-squaredSlices— the data itself, one entry per spectrum:j: spectrum indexz: list of z-values for this spectrumx,y,dy(data files): arrays of x, y, and optional error valuesp,attr,fitOutcome,fitChi2, … (curve files): parameter values, free/fixed flags, and fit quality metrics
Files are written by the fs command and read by fl.
Export formats
Frida can export data to two plain-text tabular formats:
.csv— comma-separated values.tab— tab-separated values
These formats do not preserve metadata (coordinates, history, etc.). Use them for exchanging data with other programs.
Legacy formats
Frida reads the following older formats:
| Extension | Description |
|---|---|
.y08 |
Previous Frida2 binary format (pre-2008) |
.a01 |
Frida1 (Ida) data format |
.i96 |
Frida1 (Ida) data format, 1996 version |
.nxs |
NeXus/HDF5 format (experimental) |
Legacy files are read-only; use fs to re-save them in the current
.yda format.