Heatmap: Color undersaturated values relative to inert gas pressure

Color "undersaturated" values relative to inert gas pressure of gas being
breathed, rather than relative to inert gas pressure of air.
Also change slightly the point at which bright green (hue = 120 deg) from 10%
of M value to 0% of M value (=ambient pressure).
Other than the slight shift in lower bound of the green-red scale, this does
not affect the colors of the tissues with inert gas pressure greater than
ambient pressure, which are relative to the Buhlmann M value.

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2016-10-18 08:05:32 +11:00 committed by Dirk Hohndel
parent 9ed5a5bfe9
commit fd46167ae0
2 changed files with 9 additions and 8 deletions

View file

@ -133,7 +133,7 @@ public:
private:
QString visibilityKey;
int tissueIndex;
QColor ColorScale(double value);
QColor ColorScale(double value, int inert);
};