Update tutorials/hgps.ipynb
"print(spectral_model)"
]
},
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "# One common task is to compute integral fluxes\n",
- "# The error is computed using the covariance matrix\n",
- "# (off-diagonal info not given in HGPS, i.e. this is an approximation)\n",
- "spectral_model.integral_error(emin=1 * u.TeV, emax=10 * u.TeV)"
- ]
- },
{
"cell_type": "code",
"execution_count": null,
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.6.0"
+ "version": "3.7.0"
}
},
"nbformat": 4,
- "nbformat_minor": 2
+ "nbformat_minor": 4
}
