> On 13. Mar 2018, at 11:28, Robert Helling <hell...@atdotde.de> wrote:
> 
>> On 12. Mar 2018, at 15:58, Willem Ferguson <willemfergu...@zoology.up.ac.za 
>> <mailto:willemfergu...@zoology.up.ac.za>> wrote:
>> 
>>  b) Adapting the gas partial pressure graphs to reflect what the diver 
>> breathes during bailout. When rendering the dive by creating a plot_info 
>> structure for each sample, the easiest mechanism of incorporating bailout 
>> would be to use the Shearwater approach: have a byte indicating Loop or 
>> Bailout and perform the appropriate calculation for gas partial pressures. 
>> Alternatively, it may be possible to reference the linked list of existing 
>> events, find the next bailout event and plot the pO2 depending on the type 
>> of bailout event (i.e. Bailout or OC->Loop). But this would incur 
>> significantly more computational overhead since this lookup will be needed 
>> for each plot_info on the dive profile.
> 
> how is a bailout different than a gas change event (except semantics of 
> “emergency”). Why don’t you insert a gaschange to OC (i.e. with set point 0)?
> 


Sorry, I am too slow. This is of course PSCR.

I wouldn’t add a byte (not even a bool) to indicate that. Rather do it with 
events (given that most of the dives don’t have any such event and those that 
have have very few). You would need to establish a similar logic as with gas 
switches (or even piggy pack this info into the gasswitch events).

Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to