viperleed.calc.files.ioerrorcalc

Module ioerrorcalc of viperleed.calc.files.

Functions for reading and writing files relevant to the error calculation.

Functions

draw_error(axis, bound, error, r_interval[, ...])

Adds annotation for statistical error estimates to individual error plots.

extract_var_r(errors)

format_col_content(content)

Formats a value into a string suitable for writing to errors CSV files.

generate_errors_csv(errors[, sep])

geo_errors_csv_content(error)

Generate columns dict for geometrical errors containing the contents of a file to be written into Errors.zip.

get_string_from_columns(columns[, sep])

Formats a columns dictionary into a string conforming to the CSV format.

make_errors_figs(errors[, formatting])

Creates figures for Errors.pdf.

occ_errors_csv_content(error)

Generate columns dict for occupational errors containing the contents of a file to be written into Errors.zip.

vib_errors_csv_content(error)

Generate columns dict for vibrational errors containing the contents of a file to be written into Errors.zip.

write_errors_archive(individual_files, ...)

write_errors_pdf(figs[, filename])

Writes a list of figures to a pdf file.

write_errors_summary_csv(summary_content, ...)