Skip to content

Instantly share code, notes, and snippets.

@DavidMStraub
Created May 31, 2016 06:20
Show Gist options
  • Save DavidMStraub/9617d806f19cd6f659c748c4890bf426 to your computer and use it in GitHub Desktop.
Save DavidMStraub/9617d806f19cd6f659c748c4890bf426 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Reproducing arXiv:1501.00367v2"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"import flavio"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Set the SSE parametrization as default for the $B\\to V$ form factors"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"flavio.config['implementation']['Bs->phi form factor'] = 'Bs->phi SSE'\n",
"flavio.config['implementation']['B->K* form factor'] = 'B->K* SSE'"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Load the lattice SSE parameters"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"flavio.physics.bdecays.formfactors.b_v.lattice_parameters.lattice_load(flavio.default_parameters)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Table 1, [16, 19] bin"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5.84\n",
"6.35\n",
"5.14\n"
]
}
],
"source": [
"for d in ['B0->K*mumu', 'B+->K*mumu', 'Bs->phimumu']:\n",
" print('{:.2f}'.format(1e8*flavio.sm_prediction('<dBR/dq2>(' + d + ')', 16, 19)))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Table 2, [16, 19] bin"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.335\n",
"0.342\n",
"-0.230\n",
"-0.650\n",
"-0.534\n"
]
}
],
"source": [
"for o in ['FL', 'AFB', 'S3', 'P4p', 'P5p']:\n",
" print('{:.3f}'.format(flavio.sm_prediction('<'+o+'>(B0->K*mumu)', 16, 19)))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Table 3, [16, 19] bin"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.346\n"
]
}
],
"source": [
"for o in ['FL', 'S3',]:\n",
" print('{:.3f}'.format(flavio.sm_prediction('<'+o+'>(Bs->phimumu)', 16, 19)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.1+"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment