<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 December 2016 at 09:43, Robert Helling <span dir="ltr"><<a href="mailto:helling@atdotde.de" target="_blank">helling@atdotde.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div style="word-wrap:break-word">John,<span class=""><div><br><div><blockquote type="cite"><div>Am 09.12.2016 um 22:51 schrieb John Van Ostrand <<a href="mailto:john@vanostrand.com" target="_blank">john@vanostrand.com</a>>:</div><br class="m_-9188714757267934726Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">On Thu, Dec 8, 2016 at 9:36 AM, Willem Ferguson<span class="m_-9188714757267934726Apple-converted-space"> </span></span><span dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><<a href="mailto:willemferguson@zoology.up.ac.za" target="_blank">willemferguson@<wbr>zoology.up.ac.za</a>></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span class="m_-9188714757267934726Apple-converted-space"> </span></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">wrote:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote class="gmail_quote" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>Would it be feasible to calculate retrospective gradient factors on real dive profiles? We sometimes use a VR3 dive computer which does give this information, but it would be very useful to to have it being calculated automatically for each dive.<br></blockquote><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"> Do you mean you want to see the decompression stops for a different set of GFs? Or do you want to automatically find the most liberal GFs that fit a dive profile?<br><br>For the former questoin set up GFs in the Preferences and go back to view the dive. For the latter question I iterate through GFs manually to find the closest one.</div><br class="m_-9188714757267934726Apple-interchange-newline"></div></blockquote></div><br></div></span><div>I guess what Willem meant was to do something along the lines we do now for VPM-B planned dives: There we compute GFhigh/low such that you would get a similar decompression profile.</div><div><br></div><div>I have not yet answered to Willem’s original mail as I do not really know how one would implement this. Here are my thoughts: At each instant of time during the dive, we could compute a gradient factor such that the current depth would be the ceiling. That part is easy. One could then try to find  a line in the gradient factor vs depth plot that best approximates these points. The problem is that this makes only sense during the decompression phase of the dive, i.e. for the time where it makes sense to consider the current depth to be at least roughly the ceiling. During the bottom part of the dive as well as during the first part of the ascent this would give you far too low gradient factors.</div><div><br></div><div>So we would need to find out for which part of the dive to apply this. I don’t know what a good criterium would be: Something like the last 25% of max depth? Some part where the ascent is slower than the current ascent rate? We could take user input (maybe in form of the ruler) or we could find that last part of the dive where a linear approximation for the gradient factor vs depth plot is best (measured in chi squared or something similar).</div><div><br></div><br></div></blockquote><div>I know I'm a bit late to the conversation here, but we could take a slightly more conservative approach where the calculated retrospective high/low gradient factors represent a linear bound rather than best fit.  In other words, find the lowest pair of gradient factors that such that at no point in the dive is the ceiling exceeded.  In effect it's like looking at the ceiling plotted on the profile, and increasing the gradient factors as much as possible without the diver breaking the ceiling.<br><br></div><div>The process could be:<br></div><div>1) calculate instantaneous gradient factors for each sample (just need the max for all tissues)<br></div><div>2) Take GF-high as the maximum gradient factor (yes, this assumes that GF-high occurs upon surfacing, but this is realistic in most cases, and in any case it should be conservative)<br></div><div>3) Loop through each calculated per-sample gradient factor, and linearly extrapolate to find the GF-low (at depth of first stop, assuming the GF-low at max depth preference is not selected) such that the current tissue's gradient factor sits on the GF-low/GF-high line<br></div><div>4) Take GF-low as the maximum of all the per-sample GF-low extrapolated values.<br><br></div><div>Whether it is better to calculate retrospective gradient factors as best-fit or as a bound is another question, but this method should be easier.<br></div><div><br></div><div>Cheers,<br><br></div><div>Rick<br></div><div><br></div></div></div></div>