vibe-sketcherDocumentation

vibesketcher.render.porosity_table

Publication table of a stored porosity estimate: CSV, SVG and TeX (#206).

The table is drawn from an estimate stored on its structure (vibesketcher.document.porosity_store), never from a loose result: a stale estimate (the structure changed since it was stored) is refused. Every table names the quantity, its symbol, value and unit, and carries the label “geometric planning estimate, not BET/adsorption capacity”, the structure digest, the probe, the radius table, the grid and the outcome.

Functions

rows(item)

The table rows of a stored estimate: quantity, symbol, value and unit.

table(item, fmt)

The table in fmt (csv, svg or tex).

table_csv(item)

The table as CSV with '#' provenance lines (full precision values).

table_svg(item)

The table as standalone SVG (UTF-8) with its provenance lines beneath.

table_tex(item)

The table as a LaTeX table float (tabular, booktabs-free, plain LaTeX).

vibesketcher.render.porosity_table.rows(item)[source]

The table rows of a stored estimate: quantity, symbol, value and unit.

Parameters:

item (dict[str, Any])

Return type:

list[dict[str, Any]]

vibesketcher.render.porosity_table.table_csv(item)[source]

The table as CSV with ‘#’ provenance lines (full precision values).

Parameters:

item (dict[str, Any])

Return type:

str

vibesketcher.render.porosity_table.table_tex(item)[source]

The table as a LaTeX table float (tabular, booktabs-free, plain LaTeX).

Parameters:

item (dict[str, Any])

Return type:

str

vibesketcher.render.porosity_table.table_svg(item)[source]

The table as standalone SVG (UTF-8) with its provenance lines beneath.

Parameters:

item (dict[str, Any])

Return type:

bytes

vibesketcher.render.porosity_table.table(item, fmt)[source]

The table in fmt (csv, svg or tex).

Parameters:
Return type:

bytes