kicad2ems.pcbqs.thermal.viewer

The temperatures where kicad2ems's viewer reads results: the board and, per
layer, its map on a grid, to turn, cut and probe in its 2D and 3D
views (as the DC drop's maps: pdn/viewer.py).

    write_viewer(out, board, problem, result)  the files' names, for
                                               thermal.json

It writes
    <out>/thermal_board.json  the board: all its copper (it all conducts), the
                              parts that dissipate marked
    <out>/thermal/exc_board/  dump_T_<layer>_fd.npz per layer: the
                              temperature, C (NaN off the board)
with a dump_info.json, the dumps at 0 Hz as plane dumps (a temperature is one
number: the vector's x). Each says its unit and that its colours span its own
values ("range": "data"), so a map runs from the board's coolest point to its
hottest and not from zero.
kicad2ems.pcbqs.thermal.viewer.write_viewer(out, board, problem, result)[source]
Write the files above for a Result; returns dict(board=,
dumps=[{method, layer, file}]).