Beispiel #1
0
 def liquid_depth_from_volume(self, vol):
     if vol <= 0:
         return 0
     if vol <= 4.97137:
         return 3.33494414484718 / cubeRoot(
             -3 * vol + sqrt(116.52404878202921 + 9 * square(vol))
         ) - 0.6827840632552957 * cubeRoot(
             -3 * vol + sqrt(116.52404878202921 + 9 * square(vol)))
     if vol <= 1014.06:
         return -4.527482527717488 + 1.4293857409730928 * cubeRoot(
             39.92570761834668 + 4.646502581189681 * vol)
     return -302.1252531106694 + 15.294554814291097 * cubeRoot(
         8610.391237925141 + 0.6794188941067961 * vol)
Beispiel #2
0
 def liquid_depth_from_volume(self, vol):
     if vol <= 0:
         return 0
     if vol <= 0.67718:
         return 3.2346271740790455 / cubeRoot(
             -3 * vol + sqrt(106.32185983362221 + 9 * square(vol))
         ) - 0.6827840632552957 * cubeRoot(
             -3 * vol + sqrt(106.32185983362221 + 9 * square(vol)))
     if vol <= 463.316:
         return -8.597168410942386 + 2.324577069455727 * cubeRoot(
             52.28910925575565 + 2.660323800283652 * vol)
     return -214.3418544824842 + 19.561686679619903 * cubeRoot(
         1474.2109760964095 + 0.37305557584692783 * vol)
Beispiel #3
0
 def radius_from_liquid_depth(self, depth):
     if depth <= 0:
         return 0
     if depth <= 1.16088:
         return 0.9281232870726978 * sqrt(
             (3.624697354653752 - 1.1608835603563077 * depth) * depth)
     if depth <= 19.5033:
         return 1.2010337579883252 + 0.26527628779029744 * depth
     return 5.9882324145182295 + 0.01982036374935098 * depth
Beispiel #4
0
 def radius_from_liquid_depth(self, depth):
     if depth <= 0:
         return 0
     if depth <= 0.194095:
         return 2.2698281410529737 * sqrt(
             (2.2462247020231834 - 0.19409486595347666 * depth) * depth)
     if depth <= 16.6742:
         return 1.4533089603930036 + 0.16904507285715673 * depth
     return 3.963660597359791 + 0.018492238050892146 * depth
 def p50_single_v1_4_opentrons_96_tiprack_300ul_eppendorf5_0ml(self, depth):
     if depth <= 0.0839332:
         return 0
     if depth < 0.333631:
         return -0.505 + 0.9281232870726978 * sqrt((3.624697354653752 - 1.1608835603563077 * depth) * depth)
     if depth <= 16.3089:
         return 0.3710711112433953 + 0.26527628779029744*depth
     if depth <= 55.4:
         return 4.188102882787763 + 0.031231049120679123*depth
     return self._free_sailing()
 def p50_single_v1_4_opentrons_96_tiprack_300ul_eppendorf1_5ml(self, depth):
     if depth <= 0.0220787:
         return 0
     if depth < 0.114975:
         return -0.505 + 2.2698281410529737 * sqrt((2.2462247020231834 - 0.19409486595347666 * depth) * depth)
     if depth < 12.2688:
         return 0.6233463136480737 + 0.16904507285715673*depth
     if depth < 12.6:
         return 2.3141559767629554 + 0.031231049120679123*depth
     if depth < 19.9:
         return 2.05177678472461 + 0.05205479452054796*depth
     if depth <= 37.8:
         return 2.2593854454167044 + 0.04162219850586984*depth
     return self._free_sailing()