spice_read_raw() reads a SPICE3 rawfile (ASCII or binary, as
written by spice3 -r, ngspice -r or spice_write_raw()) into a
spice_result. spice_write_raw() writes a result's plots, or a
single plot, back to back as the SPICE3 raw_write does.
Usage
spice_read_raw(path)
spice_write_raw(x, path, format = c("binary", "ascii"))Value
spice_read_raw(): a spice_result whose notes hold the
reader's warnings and whose title is the first plot's title.
spice_write_raw(): path, invisibly.
Details
A rawfile does not record which vector is the scale: like the 3f5
reader, spice_read_raw() takes the first vector of each plot as
its scale, so an operating-point plot read back has its first
variable as scale while the one from spice_run() has none. All
else (names, types, values, header fields) round-trips exactly
through the binary format; the ASCII format keeps 15 significant
digits, like SPICE3.