mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 18:18:03 +00:00
Update nb
This commit is contained in:
parent
9b8fc5c573
commit
3343863e42
1 changed files with 1 additions and 72 deletions
|
@ -352,55 +352,6 @@
|
|||
"### $V_{\\rm ext}$ comparison"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 210,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"x = get_samples(\"csiborg2X\", \"2MTF\", sample_beta=True, nsim=0)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 211,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Vmag 94.29981 23.331015\n",
|
||||
"l 222.92768598708813 16.134583922518924\n",
|
||||
"b 1.1990685907793002 13.129351447417978\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"for key in [\"Vmag\", \"l\", \"b\"]:\n",
|
||||
" print(key, np.mean(x[key]), np.std(x[key]))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 212,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "SyntaxError",
|
||||
"evalue": "invalid syntax (1423263463.py, line 1)",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;36m Cell \u001b[0;32mIn[212], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m Vmag 75.1953 16.753086\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"Vmag 75.1953 16.753086\n",
|
||||
"l 193.0452956714865 18.970419455435362\n",
|
||||
"b -32.655542283036134 13.891108329016546"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 193,
|
||||
|
@ -583,34 +534,12 @@
|
|||
"fig.show()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 203,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"19422.07421875"
|
||||
]
|
||||
},
|
||||
"execution_count": 203,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"get_gof(\"BIC\", \"csiborg2X\", \"2MTF\", sample_beta=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# 19422.07421875"
|
||||
]
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
|
Loading…
Reference in a new issue