Make a number table formatting class
In 7e3dcfbf Sam introduced a nice table-of-numbers printer using
tabulate. This method will surely be useful elsewhere eventually, such as for printing sensing matrices, so we should move it into its own utility class. This utility class could also have dunder methods for TeX and Jupyter so that tables show up in a nice way there too (for instance, Jupyter looks for a
_repr_html_ method when an object is displayed).
Such a table formatter should also have ways to control which columns are shown/not shown. Maybe some fancy terminal colour scheming too: show values < some threshold in red, otherwise green? Or use a heat map? The
style() method provided by
click might be useful there. This should make it easier to see differences in numbers. We probably want some option to apply colour based on logarithmic differences too.