Skip to content
Snippets Groups Projects

outsource reconstruction data in separate arrays

Merged Zineb Aly requested to merge add-fitinf into master
1 unresolved thread
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@@ -32,7 +32,7 @@
{
"data": {
"text/plain": [
"<km3io.aanet.OfflineReader at 0x7f87bd4ce310>"
"<km3io.offline.OfflineReader at 0x7fb60c2dc590>"
]
},
"execution_count": 2,
@@ -245,7 +245,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [1 2 3 ... 8 9 10] at 0x7f87906e86d0>"
"<ChunkedArray [1 2 3 ... 8 9 10] at 0x7fb5da350b50>"
]
},
"execution_count": 6,
@@ -265,7 +265,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [44 44 44 ... 44 44 44] at 0x7f87906e87d0>"
"<ChunkedArray [44 44 44 ... 44 44 44] at 0x7fb5da3506d0>"
]
},
"execution_count": 7,
@@ -285,7 +285,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [182 183 202 ... 185 185 204] at 0x7f87906e8c10>"
"<ChunkedArray [182 183 202 ... 185 185 204] at 0x7fb5da350950>"
]
},
"execution_count": 8,
@@ -305,7 +305,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [176 125 318 ... 84 255 105] at 0x7f87906f9210>"
"<ChunkedArray [176 125 318 ... 84 255 105] at 0x7fb5da350350>"
]
},
"execution_count": 9,
@@ -332,7 +332,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [5.170483995038151 4.8283137373023015 5.762051382780177 ... 4.430816798843313 5.541263545158426 4.653960350157523] at 0x7f879052d4d0>"
"<ChunkedArray [5.170483995038151 4.8283137373023015 5.762051382780177 ... 4.430816798843313 5.541263545158426 4.653960350157523] at 0x7fb60fcdd2d0>"
]
},
"execution_count": 10,
@@ -449,7 +449,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [[806451572 806451572 806451572 ... 809544061 809544061 809544061] [806451572 806451572 806451572 ... 809524432 809526097 809544061] [806451572 806451572 806451572 ... 809544061 809544061 809544061] ... [806451572 806455814 806465101 ... 809526097 809544058 809544061] [806455814 806455814 806455814 ... 809544061 809544061 809544061] [806455814 806455814 806455814 ... 809544058 809544058 809544061]] at 0x7f87906f9450>"
"<ChunkedArray [[806451572 806451572 806451572 ... 809544061 809544061 809544061] [806451572 806451572 806451572 ... 809524432 809526097 809544061] [806451572 806451572 806451572 ... 809544061 809544061 809544061] ... [806451572 806455814 806465101 ... 809526097 809544058 809544061] [806455814 806455814 806455814 ... 809544061 809544061 809544061] [806455814 806455814 806455814 ... 809544058 809544058 809544061]] at 0x7fb5da350fd0>"
]
},
"execution_count": 14,
@@ -469,7 +469,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [[24 30 22 ... 38 26 23] [29 26 22 ... 26 28 24] [27 19 13 ... 27 24 16] ... [22 22 9 ... 27 32 27] [30 32 17 ... 30 24 29] [27 41 36 ... 29 24 28]] at 0x7f87906f9810>"
"<ChunkedArray [[24 30 22 ... 38 26 23] [29 26 22 ... 26 28 24] [27 19 13 ... 27 24 16] ... [22 22 9 ... 27 32 27] [30 32 17 ... 30 24 29] [27 41 36 ... 29 24 28]] at 0x7fb5da3a3310>"
]
},
"execution_count": 15,
@@ -645,7 +645,7 @@
{
"data": {
"text/plain": [
"<ChunkedArray [[294.6407542676734 294.6407542676734 294.6407542676734 ... 67.81221253265059 67.7756405143316 67.77250505700384] [96.75133289411137 96.75133289411137 96.75133289411137 ... 39.21916536442286 39.184645826013806 38.870325146341884] [560.2775306614813 560.2775306614813 560.2775306614813 ... 118.88577278801066 118.72271313687405 117.80785995187605] ... [71.03251451148226 71.03251451148226 71.03251451148226 ... 16.714140573909347 16.444395245214945 16.34639241716669] [326.440133294878 326.440133294878 326.440133294878 ... 87.79818671079849 87.75488082571873 87.74839444768625] [159.77779654216795 159.77779654216795 159.77779654216795 ... 33.8669134999348 33.821631538334984 33.77240735670646]] at 0x7f8790683d50>"
"<ChunkedArray [[294.6407542676734 294.6407542676734 294.6407542676734 ... 67.81221253265059 67.7756405143316 67.77250505700384] [96.75133289411137 96.75133289411137 96.75133289411137 ... 39.21916536442286 39.184645826013806 38.870325146341884] [560.2775306614813 560.2775306614813 560.2775306614813 ... 118.88577278801066 118.72271313687405 117.80785995187605] ... [71.03251451148226 71.03251451148226 71.03251451148226 ... 16.714140573909347 16.444395245214945 16.34639241716669] [326.440133294878 326.440133294878 326.440133294878 ... 87.79818671079849 87.75488082571873 87.74839444768625] [159.77779654216795 159.77779654216795 159.77779654216795 ... 33.8669134999348 33.821631538334984 33.77240735670646]] at 0x7fb5da302b50>"
]
},
"execution_count": 21,
@@ -788,6 +788,63 @@
"r[0].tracks[0].lik"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"('JGANDALF_BETA0_RAD',\n",
" 'JGANDALF_BETA1_RAD',\n",
" 'JGANDALF_CHI2',\n",
" 'JGANDALF_NUMBER_OF_HITS',\n",
" 'JENERGY_ENERGY',\n",
" 'JENERGY_CHI2',\n",
" 'JGANDALF_LAMBDA',\n",
" 'JGANDALF_NUMBER_OF_ITERATIONS',\n",
" 'JSTART_NPE_MIP',\n",
" 'JSTART_NPE_MIP_TOTAL',\n",
" 'JSTART_LENGTH_METRES',\n",
" 'JVETO_NPE',\n",
" 'JVETO_NUMBER_OF_HITS',\n",
" 'JENERGY_MUON_RANGE_METRES',\n",
" 'JENERGY_NOISE_LIKELIHOOD',\n",
" 'JENERGY_NDF',\n",
" 'JENERGY_NUMBER_OF_HITS')"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"r.tracks.reco.dtype.names"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([99.10458562, 99.10458562, 99.10458562, 37.85515249, 99.10458562,\n",
" 7.16916787, 99.10458562, 99.10458562, 49.13672986, 20.35137468])"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"r.tracks.reco[\"JENERGY_ENERGY\"]"
]
},
{
"cell_type": "markdown",
"metadata": {},
@@ -797,7 +854,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 28,
"metadata": {},
"outputs": [
{
@@ -806,7 +863,7 @@
"<OfflineHits: 10 parsed elements>"
]
},
"execution_count": 26,
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
@@ -824,7 +881,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 30,
"metadata": {},
"outputs": [
{
@@ -833,7 +890,7 @@
"<OfflineTracks: 10 parsed elements>"
]
},
"execution_count": 27,
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
@@ -842,13 +899,6 @@
"r.mc_tracks"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Loading