Figures of merit are updated to bring them closer in line with implementation in EIDORS where possible, and make them invariant to image render resolution.
Changes:
Fractional Amplitude Set - Option to calculate based on fraction of max (default) or fraction of range. Option to specify conductive target or non-conductive target.
Amplitude - Now divided by pixel count to make this invariant to render resolution
Position Error - Now divided by widest axis to make this invariant to render resolution
Resolution - As before
Shape Deformation - As before
Ringing - Now uses fractional image by default (per EIDORS implementation)
Added convenience function to render 2D mesh with single function call
Replaced figures of merit example with two new examples, one single, and one for a range. These better demonstrate the intended use of the figures of merit.
Bug Fixes
Fixed .ply reading
Fixed create_mesh_plot to correctly autoscale to mesh
Fixed create_plot to allow eit object with single float for perm
Fixed bug where render function caused image to rotate
Unit tests added for each figure of merit function. Docstrings updated.
Figures of merit are updated to bring them closer in line with implementation in EIDORS where possible, and make them invariant to image render resolution.
Changes:
Bug Fixes
Unit tests added for each figure of merit function. Docstrings updated.