Mercurial > public > mk2
comparison code_part1/OSTC_code_c_part2/p2_tables.romdata @ 165:8b5b848db4cd
+ Clean Buhlmann tables addressing
+ OSTC 1.80 uses ZH-L16a coefficient, version 1995 (?), with compartiment 1a.
| author | JeanDo |
|---|---|
| date | Fri, 21 Jan 2011 01:44:38 +0100 |
| parents | 96a35aeda5f2 |
| children | cb055a7d75f3 |
comparison
equal
deleted
inserted
replaced
| 164:999abb01c78f | 165:8b5b848db4cd |
|---|---|
| 1 | 1 // ************************************************************** |
| 2 | |
| 3 // OSTC - diving computer code | 2 // OSTC - diving computer code |
| 4 | |
| 5 // Copyright (C) 2008 HeinrichsWeikamp GbR | 3 // Copyright (C) 2008 HeinrichsWeikamp GbR |
| 6 | 4 // |
| 7 | |
| 8 | |
| 9 // This program is free software: you can redistribute it and/or modify | 5 // This program is free software: you can redistribute it and/or modify |
| 10 | |
| 11 // it under the terms of the GNU General Public License as published by | 6 // it under the terms of the GNU General Public License as published by |
| 12 | |
| 13 // the Free Software Foundation, either version 3 of the License, or | 7 // the Free Software Foundation, either version 3 of the License, or |
| 14 | |
| 15 // (at your option) any later version. | 8 // (at your option) any later version. |
| 16 | 9 // |
| 17 | |
| 18 | |
| 19 // This program is distributed in the hope that it will be useful, | 10 // This program is distributed in the hope that it will be useful, |
| 20 | |
| 21 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | |
| 23 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 24 | |
| 25 // GNU General Public License for more details. | 13 // GNU General Public License for more details. |
| 26 | 14 // |
| 27 | |
| 28 | |
| 29 // You should have received a copy of the GNU General Public License | 15 // You should have received a copy of the GNU General Public License |
| 30 | |
| 31 // along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 // along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 32 | 17 // |
| 33 | 18 // HISTORY |
| 34 | 19 // 2011-01-20; jDG Cleanup addressing. |
| 35 | 20 // |
| 36 | 21 // ************************************************************** |
| 37 /* | 22 |
| 38 | 23 rom const float buhlmann_a[32] = |
| 39 INHALT | 24 { // ??? Data ZH-L16A, from Tauchmedizin 1995 ??? |
| 40 | 25 //---a for N2 ---------------------------------------------------------------- |
| 41 ------ | 26 1.2599, /// WARNING ZH-L16c-1990 gives different values: 1.3318 |
| 42 | 27 1.0000, /// ... 1.0048 |
| 43 { unsigned int *rom e2secs[]; | 28 0.8618, /// ... 0.8653 |
| 44 | 29 0.7562, /// ... 0.7520 |
| 45 { unsigned int *rom a_N2[]; | 30 0.6200, /// ... 0.6194 |
| 46 | 31 0.5043, /// ... 0.5043 |
| 47 { unsigned int *rom b_N2[]; | 32 0.4410, /// ... 0.4396 |
| 48 | 33 0.4000, /// ... 0.3977 |
| 49 { unsigned int *rom t05[]; formated: und zwar t05 * -1.0 / ln(2) | 34 0.3750, /// ... 0.3701 |
| 50 | 35 0.3500, /// ... 0.3456 |
| 51 { unsigned int *rom e1min[]; | 36 0.3295, /// ... 0.3269 |
| 52 | 37 0.3065, /// ... 0.3065 |
| 53 { unsigned int *rom ht[]; t05 unmodified | 38 0.2835, /// ... 0.2848 |
| 54 | 39 0.2610, /// ... 0.2622 |
| 55 */ | 40 0.2480, /// ... 0.2486 |
| 56 | 41 0.2327, /// ... 0.2341 |
| 57 | 42 //---- a of He --------------------------------------------------------------- |
| 58 | 43 1.7424, /// ... 1,7443 |
| 59 | 44 1.3830, /// ... 1,3800 |
| 60 | 45 1.1919, /// ... 1,1879 |
| 61 rom const unsigned int e2secs[] = | 46 1.0458, /// ... 1,0455 |
| 62 | 47 .9220, /// ... 0,9211 |
| 48 .8205, /// ... 0,8232 | |
| 49 .7305, /// ... 0,7321 | |
| 50 .6502, /// ... 0,6508 | |
| 51 .5950, /// ... 0,5981 | |
| 52 .5545, /// ... 0,5568 | |
| 53 .5333, /// ... 0,5285 | |
| 54 .5189, /// ... 0,5178 | |
| 55 .5181, /// ... 0,5137 | |
| 56 .5176, /// ... 0,5196 | |
| 57 .5172, /// ... 0,5150 | |
| 58 .5119 /// ... 0,5109 | |
| 59 }; | |
| 60 | |
| 61 rom const float buhlmann_b[] = | |
| 62 { | |
| 63 //---- b for N2 -------------------------------------------------------------- | |
| 64 0.5050, /// WARNING ZH-L16c gives a different value: 0.5241 | |
| 65 0.6514, /// All the other values matches ZH-L16c-1990 | |
| 66 0.7222, | |
| 67 0.7825, | |
| 68 0.8126, | |
| 69 0.8434, | |
| 70 0.8693, | |
| 71 0.8910, | |
| 72 0.9092, | |
| 73 0.9222, | |
| 74 0.9319, | |
| 75 0.9403, | |
| 76 0.9477, | |
| 77 0.9544, | |
| 78 0.9602, | |
| 79 0.9653, | |
| 80 //---- b for He -------------------------------------------------------------- | |
| 81 0.4245, | |
| 82 0.5747, | |
| 83 0.6527, | |
| 84 0.7223, | |
| 85 0.7582, | |
| 86 0.7957, | |
| 87 0.8279, | |
| 88 0.8553, | |
| 89 0.8757, | |
| 90 0.8903, | |
| 91 0.8997, | |
| 92 0.9073, | |
| 93 0.9122, | |
| 94 0.9171, | |
| 95 0.9217, | |
| 96 0.9267 | |
| 97 }; | |
| 98 | |
| 99 rom const float buhlmann_t05[] = | |
| 100 { | |
| 101 //---- half-life for N2 ------------------------------------------------------ | |
| 102 -5.77078, // 4 min * -1/ln(2) | |
| 103 -11.54156, | |
| 104 -17.31234, | |
| 105 -25.96851, | |
| 106 -38.95277, | |
| 107 -56.26511, | |
| 108 -79.34823, | |
| 109 -111.08752, | |
| 110 -157.25376, | |
| 111 -210.63348, | |
| 112 -269.78397, | |
| 113 -344.80411, | |
| 114 -440.02199, | |
| 115 -562.65107, | |
| 116 -718.46213, | |
| 117 -916.11135, // 635 min * -1/ln(2) | |
| 118 //---- half-life for He ------------------------------------------------------ | |
| 119 -2.178469512, // 1.51 min * -1/ln(2) | |
| 120 -4.356939024, | |
| 121 -6.809520594, | |
| 122 -10.08443834, | |
| 123 -14.72991637, | |
| 124 -20.89022419, | |
| 125 -29.61852919, | |
| 126 -41.99685264, | |
| 127 -59.43903569, | |
| 128 -79.62233931, | |
| 129 -101.9841124, | |
| 130 -130.33307, | |
| 131 -166.3283113, | |
| 132 -212.6821029, | |
| 133 -271.5729145, | |
| 134 -346.2900907 // 240,03 * -1/ln(2) | |
| 135 }; | |
| 136 | |
| 137 rom const float buhlmann_ht[] = | |
| 138 { | |
| 139 //---- N2 -------------------------------------------------------------------- | |
| 140 4, // Compartiment length, in minute, for nitrogen. | |
| 141 8, | |
| 142 12, | |
| 143 18, | |
| 144 27, | |
| 145 39, | |
| 146 55, | |
| 147 77, | |
| 148 109, | |
| 149 146, | |
| 150 187, | |
| 151 239, | |
| 152 305, | |
| 153 390, | |
| 154 498, | |
| 155 635, | |
| 156 //---- He -------------------------------------------------------------------- | |
| 157 1.51, // Compartiment half-life, in minute, for helium. | |
| 158 3.02, | |
| 159 4.72, | |
| 160 6.99, | |
| 161 10.21, | |
| 162 14.48, | |
| 163 20.53, | |
| 164 29.11, | |
| 165 41.20, | |
| 166 55.19, | |
| 167 70.69, | |
| 168 90.34, | |
| 169 115.29, | |
| 170 147.42, | |
| 171 188.24, | |
| 172 240.03 | |
| 173 }; | |
| 174 | |
| 175 rom const float e2secs[] = | |
| 63 { | 176 { |
| 64 | 177 //---- N2 -------------------------------------------------------------------- |
| 65 // N2 | 178 5.7596E-03, // und zwar 1 - 2^(-2sec/HT) |
| 66 | 179 2.8839E-03, |
| 67 0x07BB, 0xBC3B, 0xD0FF, 0x3C3B, 0xF80C, 0xF23A, 0x4997, 0xA33A | 180 1.8467e-03, |
| 68 | 181 1.2481e-03, |
| 69 , 0xE93A, 0x603A, 0x0418, 0x1E3A, 0x9009, 0xDF39, 0x014C, 0x9D39 | 182 8.5537E-04, |
| 70 | 183 6.0308E-04, |
| 71 , 0xE53E, 0x5E39, 0x3AED, 0x2539, 0x338D, 0x0139, 0xC6BA, 0xCA38 | 184 4.2541E-04, |
| 72 | 185 3.0002E-04, |
| 73 , 0x82DC, 0x9E38, 0x844D, 0x7838, 0x9F9D, 0x4238, 0x34AC, 0x1838 | 186 2.1195E-04, |
| 74 | 187 1.5824E-04, |
| 75 // He | 188 1.2355E-04, |
| 76 | 189 9.6669E-05, |
| 77 , 0xA3C9, 0x783C, 0x45BD, 0xF93B, 0xCC02, 0xA03B, 0x3E44, 0x583B | 190 7.5751E-05, |
| 78 | 191 5.92E-05, |
| 79 , 0x6223, 0x143B, 0x31FA, 0xD03A, 0xA46D, 0x933A, 0xDDFB, 0x4F3A | 192 4.64E-05, |
| 80 | 193 3.64E-05, |
| 81 , 0x03F8, 0x123A, 0x8D71, 0xDB39, 0xAB55, 0xAB39, 0x7712, 0x8639 | 194 //---- He -------------------------------------------------------------------- |
| 82 | 195 0.01518479275, |
| 83 , 0xEA1E, 0x5239, 0x2C54, 0x2439, 0x37B2, 0x0039, 0xDADB, 0xC938 | 196 0.007621439546, |
| 84 | 197 0.004883145696, |
| 85 /* | 198 0.003299965996, |
| 86 | 199 0.002260409686, |
| 87 Die e2secs Werte in float Notation: | 200 0.00159437032, |
| 88 | 201 0.001124788578, |
| 89 5.7596E-03, und zwar 1 - 2^(-2sec/t05) | 202 0.0007933953673, |
| 90 | 203 0.0005606414716, |
| 91 2.8839E-03, | 204 0.0004185553604, |
| 92 | 205 0.0003267948866, |
| 93 1.8467e-03, | 206 0.0002557222899, |
| 94 | 207 0.0002003867723, |
| 95 1.2481e-03, | 208 0.0001567161546, |
| 96 | 209 0.0001227342122, |
| 97 8.5537E-04, | 210 9.625377675E-5 |
| 98 | 211 }; |
| 99 6.0308E-04, | 212 |
| 100 | 213 rom const float e1min[] = |
| 101 4.2541E-04, | 214 { |
| 102 | 215 //---- N2 -------------------------------------------------------------------- |
| 103 3.0002E-04, | 216 0.1591036, // Integration constant for 1 minute, |
| 104 | 217 0.08299596, // ie. 1 - 2^(-1/ht) |
| 105 2.1195E-04, | 218 0.053942353, |
| 106 | 219 0.036774196, |
| 107 1.5824E-04, | 220 0.02534539, |
| 108 | 221 0.017935055, |
| 109 1.2355E-04, | 222 0.012684012, |
| 110 | 223 8.961515534E-3, |
| 111 9.6669E-05, | 224 6.338971845E-3, |
| 112 | 225 4.73633146E-3, |
| 113 7.5751E-05, | 226 3.699808187E-3, |
| 114 | 227 2.89599589E-3, |
| 115 5.92E-05, | 228 2.270033275E-3, |
| 116 | 229 1.775722E-3, |
| 117 4.64E-05, | 230 1.390893611E-3, |
| 118 | 231 1.090974815E-3, |
| 119 3.64E-05 | 232 //---- e 1min He ------------------------------------------------------------- |
| 120 | 233 0.368108684, |
| 121 // e 2 sec He | 234 0.2050840824, |
| 122 | 235 0.1365792957, |
| 123 sim_pres_tissue_limit[0] = 0.01518479275; | 236 0.09440463235, |
| 124 | 237 0.06563586265, |
| 125 sim_pres_tissue_limit[1] = 0.007621439546; | 238 0.04674161154, |
| 126 | 239 0.03319905126, |
| 127 sim_pres_tissue_limit[2] = 0.004883145696; | 240 0.02353005571, |
| 128 | 241 0.0166832282, |
| 129 sim_pres_tissue_limit[3] = 0.003299965996; | 242 0.01248075064, |
| 130 | 243 0.009757532198, |
| 131 sim_pres_tissue_limit[4] = 0.002260409686; | 244 0.007643290133, |
| 132 | 245 0.005994168431, |
| 133 sim_pres_tissue_limit[5] = 0.00159437032; | 246 0.004690816669, |
| 134 | 247 0.003675481163, |
| 135 sim_pres_tissue_limit[6] = 0.001124788578; | 248 0.002883586737 |
| 136 | 249 }; |
| 137 sim_pres_tissue_limit[7] = 0.0007933953673; | 250 |
| 138 | 251 rom const float e10min[] = |
| 139 sim_pres_tissue_limit[8] = 0.0005606414716; | 252 { |
| 140 | 253 //---- N2 -------------------------------------------------------------------- |
| 141 sim_pres_tissue_limit[9] = 0.0004185553604; | 254 // Die 10 min Werte in float Notation: |
| 142 | 255 // und zwar 1 - 2^(-10/ht) |
| 143 sim_pres_tissue_limit[10] =0.0003267948866; | 256 0.823223, // 1 - 2^(-10/4.0) |
| 144 | 257 0.579552, |
| 145 sim_pres_tissue_limit[11] =0.0002557222899; | 258 0.425651, |
| 146 | 259 0.312487, |
| 147 sim_pres_tissue_limit[12] =0.0002003867723; | 260 0.226416, |
| 148 | 261 0.165547, |
| 149 sim_pres_tissue_limit[13] =0.0001567161546; | 262 0.11984, |
| 150 | 263 0.0860863, |
| 151 sim_pres_tissue_limit[14] =0.0001227342122; | 264 0.0616117, |
| 152 | 265 0.0463665, |
| 153 sim_pres_tissue_limit[15] =9.625377675E-5 | 266 0.0363881, |
| 154 | 267 0.0285855, |
| 155 */ | 268 0.0224698, |
| 156 | 269 0.017616, |
| 157 }; | 270 0.0138222, |
| 158 | 271 0.0108563, |
| 159 | 272 //---- He -------------------------------------------------------------------- |
| 160 | 273 0.989851, |
| 161 rom const unsigned int a_N2[] = | 274 0.899258, |
| 162 | 275 0.769737, |
| 163 { | 276 0.629027, |
| 164 | 277 0.492821, |
| 165 // N2 | 278 0.380407, |
| 166 | 279 0.286538, |
| 167 0x6744, 0xA13F, 0x0000, 0x803F, 0xED9E, 0x5C3F, 0x5396, 0x413F | 280 0.211886, |
| 168 | 281 0.154849, |
| 169 , 0x52B8, 0x1E3F, 0xCE19, 0x013F, 0xC1CA, 0xE13E, 0xCDCC, 0xCC3E | 282 0.118026, |
| 170 | 283 0.0934005, |
| 171 , 0x0000, 0xC03E, 0x3333, 0xB33E, 0x39B4, 0xA83E, 0x91ED, 0x9C3E | 284 0.0738569, |
| 172 | 285 0.0583504, |
| 173 , 0xE926, 0x913E, 0xCBA1, 0x853E, 0xB6F3, 0x7D3E, 0xE948, 0x6E3E | 286 0.0459303, |
| 174 | 287 0.0361528, |
| 175 // He | 288 0.0284646, |
| 176 | 289 }; |
| 177 , 0xF706, 0xDF3F, 0x2506, 0xB13F, 0x2E90, 0x983F, 0xC7DC, 0x853F | 290 |
| 178 | |
| 179 , 0x3108, 0x6C3F, 0x4A0C, 0x523F, 0x0C02, 0x3B3F, 0x8273, 0x263F | |
| 180 | |
| 181 , 0xEC51, 0x183F, 0xB6F3, 0x0D3F, 0x5986, 0x083F, 0xA1D6, 0x043F | |
| 182 | |
| 183 , 0x34A2, 0x043F, 0x6F81, 0x043F, 0x3867, 0x043F, 0xE10B, 0x033F | |
| 184 | |
| 185 | |
| 186 | |
| 187 /* | |
| 188 | |
| 189 // a of N2 | |
| 190 | |
| 191 sim_pres_tissue[0] = 1.2599; | |
| 192 | |
| 193 sim_pres_tissue[1] = 1.0; | |
| 194 | |
| 195 sim_pres_tissue[2] = 0.8618; | |
| 196 | |
| 197 sim_pres_tissue[3] = 0.7562; | |
| 198 | |
| 199 sim_pres_tissue[4] = 0.6200; | |
| 200 | |
| 201 sim_pres_tissue[5] = 0.5043; | |
| 202 | |
| 203 sim_pres_tissue[6] = 0.4410; | |
| 204 | |
| 205 sim_pres_tissue[7] = 0.4000; | |
| 206 | |
| 207 sim_pres_tissue[8] = 0.3750; | |
| 208 | |
| 209 sim_pres_tissue[9] = 0.3500; | |
| 210 | |
| 211 sim_pres_tissue[10] = 0.3295; | |
| 212 | |
| 213 sim_pres_tissue[11] = 0.3065; | |
| 214 | |
| 215 sim_pres_tissue[12] = 0.2835; | |
| 216 | |
| 217 sim_pres_tissue[13] = 0.2610; | |
| 218 | |
| 219 sim_pres_tissue[14] = 0.2480; | |
| 220 | |
| 221 sim_pres_tissue[15] = 0.2327; | |
| 222 | |
| 223 // a of He | |
| 224 | |
| 225 sim_pres_tissue[16] = 1742.4 / 1000.0; | |
| 226 | |
| 227 sim_pres_tissue[17] = 1383.0 / 1000.0; | |
| 228 | |
| 229 sim_pres_tissue[18] = 1191.9 / 1000.0; | |
| 230 | |
| 231 sim_pres_tissue[19] = 1045.8 / 1000.0; | |
| 232 | |
| 233 sim_pres_tissue[20] = 9220. / 10000.0; | |
| 234 | |
| 235 sim_pres_tissue[21] = 8205. / 10000.0; | |
| 236 | |
| 237 sim_pres_tissue[22] = 7305. / 10000.0; | |
| 238 | |
| 239 sim_pres_tissue[23] = 6502. / 10000.0; | |
| 240 | |
| 241 sim_pres_tissue[24] = 5950. / 10000.0; | |
| 242 | |
| 243 sim_pres_tissue[25] = 5545. / 10000.0; | |
| 244 | |
| 245 sim_pres_tissue[26] = 5333. / 10000.0; | |
| 246 | |
| 247 sim_pres_tissue[27] = 5189. / 10000.0; | |
| 248 | |
| 249 sim_pres_tissue[28] = 5181. / 10000.0; | |
| 250 | |
| 251 sim_pres_tissue[29] = 5176. / 10000.0; | |
| 252 | |
| 253 sim_pres_tissue[30] = 5172. / 10000.0; | |
| 254 | |
| 255 sim_pres_tissue[31] = 5119. / 10000.0; | |
| 256 | |
| 257 */ | |
| 258 | |
| 259 }; | |
| 260 | |
| 261 | |
| 262 | |
| 263 rom const unsigned int b_N2[] = | |
| 264 | |
| 265 { | |
| 266 | |
| 267 // N2 | |
| 268 | |
| 269 0xAE47, 0x013F, 0x27C2, 0x263F, 0x19E2, 0x383F, 0xEC51, 0x483F, | |
| 270 | |
| 271 0x8E06, 0x503F, 0x10E9, 0x573F, 0x728A, 0x5E3F, 0x9318, 0x643F, | |
| 272 | |
| 273 0x55C1, 0x683F, 0x4D15, 0x6C3F, 0x0091, 0x6E3F, 0x80B7, 0x703F, | |
| 274 | |
| 275 0x789C, 0x723F, 0x8F53, 0x743F, 0xABCF, 0x753F, 0xE71D, 0x773F | |
| 276 | |
| 277 // He | |
| 278 | |
| 279 , 0x1058, 0xD93E, 0x8A1F, 0x133F, 0x5917, 0x273F, 0xA7E8, 0x383F | |
| 280 | |
| 281 , 0x6519, 0x423F, 0xFFB2, 0x4B3F, 0x41F1, 0x533F, 0xF1F4, 0x5A3F | |
| 282 | |
| 283 , 0xE02D, 0x603F, 0xB3EA, 0x633F, 0xBD52, 0x663F, 0xD044, 0x683F | |
| 284 | |
| 285 , 0xF085, 0x693F, 0x11C7, 0x6A3F, 0x88F4, 0x6B3F, 0x363C, 0x6D3F | |
| 286 | |
| 287 | |
| 288 | |
| 289 /* | |
| 290 | |
| 291 5050, Werte sind Einheitslos. 5050 ist in float als 0.5050 | |
| 292 | |
| 293 6514, | |
| 294 | |
| 295 7222, | |
| 296 | |
| 297 7825, | |
| 298 | |
| 299 8126, | |
| 300 | |
| 301 8434, | |
| 302 | |
| 303 8693, | |
| 304 | |
| 305 8910, | |
| 306 | |
| 307 9092, | |
| 308 | |
| 309 9222, | |
| 310 | |
| 311 9319, | |
| 312 | |
| 313 9403, | |
| 314 | |
| 315 9477, | |
| 316 | |
| 317 9544, | |
| 318 | |
| 319 9602, | |
| 320 | |
| 321 9653 | |
| 322 | |
| 323 // b | |
| 324 | |
| 325 sim_pres_tissue[16] = 0.4245; | |
| 326 | |
| 327 sim_pres_tissue[17] = 0.5747; | |
| 328 | |
| 329 sim_pres_tissue[18] = 0.6527; | |
| 330 | |
| 331 sim_pres_tissue[19] = 0.7223; | |
| 332 | |
| 333 sim_pres_tissue[20] = 0.7582; | |
| 334 | |
| 335 sim_pres_tissue[21] = 0.7957; | |
| 336 | |
| 337 sim_pres_tissue[22] = 0.8279; | |
| 338 | |
| 339 sim_pres_tissue[23] = 0.8553; | |
| 340 | |
| 341 sim_pres_tissue[24] = 0.8757; | |
| 342 | |
| 343 sim_pres_tissue[25] = 0.8903; | |
| 344 | |
| 345 sim_pres_tissue[26] = 0.8997; | |
| 346 | |
| 347 sim_pres_tissue[27] = 0.9073; | |
| 348 | |
| 349 sim_pres_tissue[28] = 0.9122; | |
| 350 | |
| 351 sim_pres_tissue[29] = 0.9171; | |
| 352 | |
| 353 sim_pres_tissue[30] = 0.9217; | |
| 354 | |
| 355 sim_pres_tissue[31] = 0.9267; | |
| 356 | |
| 357 */ | |
| 358 | |
| 359 }; | |
| 360 | |
| 361 | |
| 362 | |
| 363 rom const unsigned int t05[] = | |
| 364 | |
| 365 { | |
| 366 | |
| 367 // N2 | |
| 368 | |
| 369 0x3BAA, 0xB8C0, 0x3BAA, 0x38C1, 0xFE44, 0x90C1, 0xD484, 0xD5C1 | |
| 370 | |
| 371 , 0xA2CF, 0x1BC2, 0x5805, 0x5DC2, 0x3BAD, 0x9CC2, 0xCF2C, 0xDEC2 | |
| 372 | |
| 373 , 0xF640, 0x1DC3, 0x2BA2, 0x52C3, 0x59E4, 0x86C3, 0xED66, 0xACC3 | |
| 374 | |
| 375 , 0xD002, 0xDCC3, 0xABA9, 0x0CC4, 0x939D, 0x33C4, 0x2007, 0x65C4 | |
| 376 | |
| 377 // He | |
| 378 | |
| 379 , 0x0B6C, 0x0BC0, 0x0B6C, 0x8BC0, 0x98E7, 0xD9C0, 0xDC59, 0x21C1 | |
| 380 | |
| 381 , 0xBDAD, 0x6BC1, 0x2E1F, 0xA7C1, 0xBFF2, 0xECC1, 0xC7FC, 0x27C2 | |
| 382 | |
| 383 , 0x93C1, 0x6DC2, 0xA33E, 0x9FC2, 0xDEF7, 0xCBC2, 0x4455, 0x02C3 | |
| 384 | |
| 385 , 0x0C54, 0x26C3, 0x9EAE, 0x54C3, 0x55C9, 0x87C3, 0x2225, 0xADC3 | |
| 386 | |
| 387 /* | |
| 388 | |
| 389 4, und zwar 4.0 * -1.0 / ln(2) ... | |
| 390 | |
| 391 8, | |
| 392 | |
| 393 12, | |
| 394 | |
| 395 18, | |
| 396 | |
| 397 27, | |
| 398 | |
| 399 39, | |
| 400 | |
| 401 55, | |
| 402 | |
| 403 77, | |
| 404 | |
| 405 109, | |
| 406 | |
| 407 146, | |
| 408 | |
| 409 187, | |
| 410 | |
| 411 239, | |
| 412 | |
| 413 305, | |
| 414 | |
| 415 390, | |
| 416 | |
| 417 498, | |
| 418 | |
| 419 635 | |
| 420 | |
| 421 // He; t05 * -1 /ln(2) | |
| 422 | |
| 423 pres_tissue[16] = -2.178469512; | |
| 424 | |
| 425 pres_tissue[17] = -4.356939024; | |
| 426 | |
| 427 pres_tissue[18] = -6.809520594; | |
| 428 | |
| 429 pres_tissue[19] = -10.08443834; | |
| 430 | |
| 431 pres_tissue[20] = -14.72991637; | |
| 432 | |
| 433 pres_tissue[21] = -20.89022419; | |
| 434 | |
| 435 pres_tissue[22] = -29.61852919; | |
| 436 | |
| 437 pres_tissue[23] = -41.99685264; | |
| 438 | |
| 439 pres_tissue[24] = -59.43903569; | |
| 440 | |
| 441 pres_tissue[25] = -79.62233931; | |
| 442 | |
| 443 pres_tissue[26] = -101.9841124; | |
| 444 | |
| 445 pres_tissue[27] = -130.33307; | |
| 446 | |
| 447 pres_tissue[28] = -166.3283113; | |
| 448 | |
| 449 pres_tissue[29] = -212.6821029; | |
| 450 | |
| 451 pres_tissue[30] = -271.5729145; | |
| 452 | |
| 453 pres_tissue[31] = -346.2900907; | |
| 454 | |
| 455 */ | |
| 456 | |
| 457 }; | |
| 458 | |
| 459 | |
| 460 | |
| 461 // ab hier bei Speicher 0x4100 | |
| 462 | |
| 463 rom const unsigned int e1min[] = | |
| 464 | |
| 465 { // N2 | |
| 466 | |
| 467 0x0EEC, 0x223E, 0xC9F9, 0xA93D, 0xA8F2, 0x5C3D, 0x8AA0, 0x163D | |
| 468 | |
| 469 , 0x23A1, 0xCF3C, 0x89EC, 0x923C, 0x9AD0, 0x4F3C, 0x52D3, 0x123C | |
| 470 | |
| 471 , 0x26B7, 0xCF3B, 0x3A33, 0x9B3B, 0x7B78, 0x723B, 0xC0CA, 0x3D3B | |
| 472 | |
| 473 , 0xD7C4, 0x143B, 0x58BF, 0xE83A, 0xA54E, 0xB63A, 0x0AFF, 0x8E3A | |
| 474 | |
| 475 // He | |
| 476 | |
| 477 , 0xBE78, 0xBC3E, 0x9001, 0x523E, 0x71DB, 0x0B3E, 0x3757, 0xC13D | |
| 478 | |
| 479 , 0x186C, 0x863D, 0x2274, 0x3F3D, 0xBAFB, 0x073D, 0x1AC2, 0xC03C | |
| 480 | |
| 481 , 0x44AB, 0x883C, 0x107C, 0x4C3C, 0x0EDE, 0x1F3C, 0x9174, 0xFA3B | |
| 482 | |
| 483 , 0xBB6A, 0xC43B, 0x6CB5, 0x993B, 0x57E0, 0x703B, 0x8FFA, 0x3C3B | |
| 484 | |
| 485 /* | |
| 486 | |
| 487 Die e1min Werte in float Notation: | |
| 488 | |
| 489 und zwar 1 - 2^(-1/t05) | |
| 490 | |
| 491 c_2[0] = 0.1591036; | |
| 492 | |
| 493 c_2[1] = 0.08299596; | |
| 494 | |
| 495 c_2[2] = 0.053942353; | |
| 496 | |
| 497 c_2[3] = 0.036774196; | |
| 498 | |
| 499 c_2[4] = 0.02534539; | |
| 500 | |
| 501 c_2[5] = 0.017935055; | |
| 502 | |
| 503 c_2[6] = 0.012684012; | |
| 504 | |
| 505 c_2[7] = 8.961515534E-3; | |
| 506 | |
| 507 c_2[8] = 6.338971845E-3; | |
| 508 | |
| 509 c_2[9] = 4.73633146E-3; | |
| 510 | |
| 511 c_2[10] = 3.699808187E-3; | |
| 512 | |
| 513 c_2[11] = 2.89599589E-3; | |
| 514 | |
| 515 c_2[12] = 2.270033275E-3; | |
| 516 | |
| 517 c_2[13] = 1.775722E-3; | |
| 518 | |
| 519 c_2[14] = 1.390893611E-3; | |
| 520 | |
| 521 c_2[15] = 1.090974815E-3; | |
| 522 | |
| 523 // e 1 īmin He | |
| 524 | |
| 525 pres_tissue[0] = 0.368108684; | |
| 526 | |
| 527 pres_tissue[1] = 0.2050840824; | |
| 528 | |
| 529 pres_tissue[2] = 0.1365792957; | |
| 530 | |
| 531 pres_tissue[3] = 0.09440463235; | |
| 532 | |
| 533 pres_tissue[4] = 0.06563586265; | |
| 534 | |
| 535 pres_tissue[5] = 0.04674161154; | |
| 536 | |
| 537 pres_tissue[6] = 0.03319905126; | |
| 538 | |
| 539 pres_tissue[7] = 0.02353005571; | |
| 540 | |
| 541 pres_tissue[8] = 0.0166832282; | |
| 542 | |
| 543 pres_tissue[9] = 0.01248075064; | |
| 544 | |
| 545 pres_tissue[10] = 0.009757532198; | |
| 546 | |
| 547 pres_tissue[11] = 0.007643290133; | |
| 548 | |
| 549 pres_tissue[12] = 0.005994168431; | |
| 550 | |
| 551 pres_tissue[13] = 0.004690816669; | |
| 552 | |
| 553 pres_tissue[14] = 0.003675481163; | |
| 554 | |
| 555 pres_tissue[15] = 0.002883586737; | |
| 556 | |
| 557 */ | |
| 558 | |
| 559 }; | |
| 560 | |
| 561 | |
| 562 | |
| 563 rom const unsigned int ht[] = | |
| 564 | |
| 565 { | |
| 566 | |
| 567 // N2 | |
| 568 | |
| 569 0x0000, 0x8040, 0x0000, 0x0041, 0x0000, 0x4841, 0x0000, 0x9441 | |
| 570 | |
| 571 , 0x0000, 0xD841, 0x3333, 0x1942, 0x3333, 0x5942, 0x0000, 0x9A42 | |
| 572 | |
| 573 , 0x0000, 0xDA42, 0x0000, 0x1243, 0x0000, 0x3B43, 0x0000, 0x6F43 | |
| 574 | |
| 575 , 0x0080, 0x9843, 0x0000, 0xC343, 0x0000, 0xF943, 0x00C0, 0x1E44 | |
| 576 | |
| 577 // He | |
| 578 | |
| 579 , 0xAE47, 0xC13F, 0xAE47, 0x4140, 0x3D0A, 0x9740, 0x14AE, 0xDF40 | |
| 580 | |
| 581 , 0x295C, 0x2341, 0x14AE, 0x6741, 0x713D, 0xA441, 0x48E1, 0xE841 | |
| 582 | |
| 583 , 0xCDCC, 0x2442, 0x8FC2, 0x5C42, 0x4861, 0x8D42, 0x14AE, 0xB442 | |
| 584 | |
| 585 , 0x7B94, 0xE642, 0x856B, 0x1343, 0x713D, 0x3C43, 0xAE07, 0x7043 | |
| 586 | |
| 587 /* | |
| 588 | |
| 589 He: | |
| 590 | |
| 591 sim_pres_tissue[0] = 1.51; | |
| 592 | |
| 593 sim_pres_tissue[1] = 3.02; | |
| 594 | |
| 595 sim_pres_tissue[2] = 4.72; | |
| 596 | |
| 597 sim_pres_tissue[3] = 6.99; | |
| 598 | |
| 599 sim_pres_tissue[4] =10.21; | |
| 600 | |
| 601 sim_pres_tissue[5] =14.48; | |
| 602 | |
| 603 sim_pres_tissue[6] =20.53; | |
| 604 | |
| 605 sim_pres_tissue[7] =29.11; | |
| 606 | |
| 607 sim_pres_tissue[8] =41.20; | |
| 608 | |
| 609 sim_pres_tissue[9] =55.19; | |
| 610 | |
| 611 sim_pres_tissue[10] =70.69; | |
| 612 | |
| 613 sim_pres_tissue[11] =90.34; | |
| 614 | |
| 615 sim_pres_tissue[12] =115.29; | |
| 616 | |
| 617 sim_pres_tissue[13] =147.42; | |
| 618 | |
| 619 sim_pres_tissue[14] =188.24; | |
| 620 | |
| 621 sim_pres_tissue[15] =240.03; | |
| 622 | |
| 623 */ | |
| 624 | |
| 625 }; | |
| 626 | |
| 627 | |
| 628 | |
| 629 rom const unsigned int e10min[] = | |
| 630 | |
| 631 { | |
| 632 | |
| 633 // N2 | |
| 634 | |
| 635 0xBEBE, 0x523F, 0x855D, 0x143F, 0xEEEE, 0xD93E, 0x4CFE, 0x9F3E | |
| 636 | |
| 637 , 0x99D9, 0x673E, 0x2785, 0x293E, 0xAD6E, 0xF53D, 0x044E, 0xB03D | |
| 638 | |
| 639 , 0x8D5C, 0x7C3D, 0xCDEA, 0x3D3D, 0xB00B, 0x153D, 0x232C, 0xEA3C | |
| 640 | |
| 641 , 0x9612, 0xB83C, 0x6E4F, 0x903C, 0x8276, 0x623C, 0x9FDE, 0x313C | |
| 642 | |
| 643 // He | |
| 644 | |
| 645 , 0xE066, 0x7D3F, 0xC635, 0x663F, 0x7C0D, 0x453F, 0xEA07, 0x213F | |
| 646 | |
| 647 , 0x0953, 0xFC3E, 0xB5C4, 0xC23E, 0x1CB5, 0x923E, 0xA5F8, 0x583E | |
| 648 | |
| 649 , 0xBC90, 0x1E3E, 0x9EB7, 0xF13D, 0xC348, 0xBF3D, 0x4942, 0x973D | |
| 650 | |
| 651 , 0xD400, 0x6F3D, 0x6921, 0x3C3D, 0xF514, 0x143D, 0x982E, 0xE93C | |
| 652 | |
| 653 /* | |
| 654 | |
| 655 He: 10 min | |
| 656 | |
| 657 sim_pres_tissue[0] = 0.989851; | |
| 658 | |
| 659 sim_pres_tissue[1] = 0.899258; | |
| 660 | |
| 661 sim_pres_tissue[2] = 0.769737; | |
| 662 | |
| 663 sim_pres_tissue[3] = 0.629027; | |
| 664 | |
| 665 sim_pres_tissue[4] = 0.492821; | |
| 666 | |
| 667 sim_pres_tissue[5] = 0.380407; | |
| 668 | |
| 669 sim_pres_tissue[6] = 0.286538; | |
| 670 | |
| 671 sim_pres_tissue[7] = 0.211886; | |
| 672 | |
| 673 sim_pres_tissue[8] = 0.154849; | |
| 674 | |
| 675 sim_pres_tissue[9] = 0.118026; | |
| 676 | |
| 677 sim_pres_tissue[10] =0.0934005; | |
| 678 | |
| 679 sim_pres_tissue[11] =0.0738569; | |
| 680 | |
| 681 sim_pres_tissue[12] =0.0583504; | |
| 682 | |
| 683 sim_pres_tissue[13] =0.0459303; | |
| 684 | |
| 685 sim_pres_tissue[14] =0.0361528; | |
| 686 | |
| 687 sim_pres_tissue[15] =0.0284646; | |
| 688 | |
| 689 N2: 10 min | |
| 690 | |
| 691 sim_pres_tissue[16] = 0.823223; | |
| 692 | |
| 693 sim_pres_tissue[17] = 0.579552; | |
| 694 | |
| 695 sim_pres_tissue[18] = 0.425651; | |
| 696 | |
| 697 sim_pres_tissue[19] = 0.312487; | |
| 698 | |
| 699 sim_pres_tissue[20] = 0.226416; | |
| 700 | |
| 701 sim_pres_tissue[21] = 0.165547; | |
| 702 | |
| 703 sim_pres_tissue[22] = 0.11984; | |
| 704 | |
| 705 sim_pres_tissue[23] = 0.0860863; | |
| 706 | |
| 707 sim_pres_tissue[24] = 0.0616117; | |
| 708 | |
| 709 sim_pres_tissue[25] = 0.0463665; | |
| 710 | |
| 711 sim_pres_tissue[26] = 0.0363881; | |
| 712 | |
| 713 sim_pres_tissue[27] = 0.0285855; | |
| 714 | |
| 715 sim_pres_tissue[28] = 0.0224698; | |
| 716 | |
| 717 sim_pres_tissue[29] = 0.017616; | |
| 718 | |
| 719 sim_pres_tissue[30] = 0.0138222; | |
| 720 | |
| 721 sim_pres_tissue[31] = 0.0108563; | |
| 722 | |
| 723 */ | |
| 724 | |
| 725 }; | |
| 726 |
