Browse Source

K pi fit parameter comparison

master
cetin 1 year ago
parent
commit
2b2420bccd
  1. 60
      B_Kpi_tasks.ipynb
  2. 61
      B_tasks.ipynb

60
B_Kpi_tasks.ipynb

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 46,
"execution_count": 58,
"metadata": {},
"outputs": [],
"source": [
@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 47,
"execution_count": 59,
"metadata": {},
"outputs": [
{
@ -30,7 +30,7 @@
"410"
]
},
"execution_count": 47,
"execution_count": 59,
"metadata": {},
"output_type": "execute_result"
}
@ -51,7 +51,7 @@
},
{
"cell_type": "code",
"execution_count": 48,
"execution_count": 60,
"metadata": {},
"outputs": [
{
@ -60,7 +60,7 @@
"0.9519681349578257"
]
},
"execution_count": 48,
"execution_count": 60,
"metadata": {},
"output_type": "execute_result"
}
@ -76,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 49,
"execution_count": 61,
"metadata": {},
"outputs": [],
"source": [
@ -105,7 +105,7 @@
},
{
"cell_type": "code",
"execution_count": 50,
"execution_count": 62,
"metadata": {},
"outputs": [],
"source": [
@ -136,7 +136,7 @@
},
{
"cell_type": "code",
"execution_count": 51,
"execution_count": 63,
"metadata": {},
"outputs": [],
"source": [
@ -169,7 +169,7 @@
},
{
"cell_type": "code",
"execution_count": 52,
"execution_count": 64,
"metadata": {},
"outputs": [
{
@ -226,7 +226,7 @@
},
{
"cell_type": "code",
"execution_count": 54,
"execution_count": 65,
"metadata": {},
"outputs": [
{
@ -288,7 +288,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 66,
"metadata": {},
"outputs": [
{
@ -336,21 +336,49 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 73,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"found \n",
"zmag = 5196.312017664934\n",
"lost \n",
"zmag = 5200.71031871899\n"
]
}
],
"source": [
"#vergleich der zmag werte\n",
"zmag_found = z_mag(xv_found, zv_found, tx_found, scifi_fitpars_found[:,0], scifi_fitpars_found[:,1])\n",
"zmag_lost = z_mag(xv_lost, zv_lost, tx_lost, scifi_fitpars_lost[:,0], scifi_fitpars_lost[:,1])\n",
"zmag_lost = zmag_lost[~np.isnan(zmag_lost)]\n",
"#zmag_lost.show()\n",
"\n"
"zmag_found = zmag_found[~np.isnan(zmag_found)]\n",
"\n",
"print(\"found \\nzmag = \", str(np.mean(zmag_found)))\n",
"print(\"lost \\nzmag = \", str(np.mean(zmag_lost)))"
]
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 71,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"zmag= 5196.312017664934\n"
]
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": 74,
"metadata": {},
"outputs": [
{

61
B_tasks.ipynb

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 40,
"metadata": {},
"outputs": [],
"source": [
@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 41,
"metadata": {},
"outputs": [],
"source": [
@ -40,7 +40,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 42,
"metadata": {},
"outputs": [
{
@ -49,7 +49,7 @@
"0.8606728758791105"
]
},
"execution_count": 29,
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
@ -72,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 43,
"metadata": {},
"outputs": [
{
@ -81,7 +81,7 @@
"0.96875"
]
},
"execution_count": 30,
"execution_count": 43,
"metadata": {},
"output_type": "execute_result"
}
@ -101,7 +101,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 44,
"metadata": {},
"outputs": [
{
@ -110,7 +110,7 @@
"0.8603431839847474"
]
},
"execution_count": 31,
"execution_count": 44,
"metadata": {},
"output_type": "execute_result"
}
@ -133,7 +133,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 45,
"metadata": {},
"outputs": [
{
@ -154,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 46,
"metadata": {},
"outputs": [
{
@ -193,7 +193,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 47,
"metadata": {},
"outputs": [],
"source": [
@ -222,7 +222,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 48,
"metadata": {},
"outputs": [],
"source": [
@ -253,7 +253,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 49,
"metadata": {},
"outputs": [],
"source": [
@ -262,7 +262,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 50,
"metadata": {},
"outputs": [],
"source": [
@ -307,7 +307,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 51,
"metadata": {},
"outputs": [
{
@ -365,7 +365,7 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 52,
"metadata": {},
"outputs": [
{
@ -401,7 +401,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 53,
"metadata": {},
"outputs": [
{
@ -410,7 +410,7 @@
"-4.6785491318157854e-07"
]
},
"execution_count": 13,
"execution_count": 53,
"metadata": {},
"output_type": "execute_result"
}
@ -421,7 +421,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 54,
"metadata": {},
"outputs": [
{
@ -469,21 +469,34 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 55,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"found \n",
"zmag = 5215.5640412342\n",
"lost \n",
"zmag = 5450.484726770035\n"
]
}
],
"source": [
"#vergleich der zmag werte\n",
"zmag_found = z_mag(xv_found, zv_found, tx_found, scifi_fitpars_found[:,0], scifi_fitpars_found[:,1])\n",
"zmag_lost = z_mag(xv_lost, zv_lost, tx_lost, scifi_fitpars_lost[:,0], scifi_fitpars_lost[:,1])\n",
"zmag_lost = zmag_lost[~np.isnan(zmag_lost)]\n",
"#zmag_lost.show()\n",
"\n"
"zmag_found = zmag_found[~np.isnan(zmag_found)]\n",
"\n",
"print(\"found \\nzmag = \", str(np.mean(zmag_found)))\n",
"print(\"lost \\nzmag = \", str(np.mean(zmag_lost)))"
]
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 56,
"metadata": {},
"outputs": [
{

Loading…
Cancel
Save