feat: example 2 improved

This commit is contained in:
Fabian Joswig 2022-01-06 17:38:12 +01:00
parent b00fab4838
commit f149eea412

View file

@ -28,7 +28,7 @@
"id": "e5764fd0", "id": "e5764fd0",
"metadata": {}, "metadata": {},
"source": [ "source": [
"We can load data from a preprocessed file which contain a list of `pyerror` `Obs`:" "We can load data from a preprocessed file which contains a list of `pyerror` `Obs`:"
] ]
}, },
{ {
@ -68,7 +68,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"my_correlator = pe.correlators.Corr(correlator_data)" "my_correlator = pe.Corr(correlator_data)"
] ]
}, },
{ {
@ -161,7 +161,7 @@
"id": "634dd613", "id": "634dd613",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Or symmetrised" "or symmetrised"
] ]
}, },
{ {
@ -180,7 +180,7 @@
"id": "3d733872", "id": "3d733872",
"metadata": {}, "metadata": {},
"source": [ "source": [
"And we can compare different `Corr` objects by passing `comp` to the `show` method" "We can compare different `Corr` objects by passing `comp` to the `show` method"
] ]
}, },
{ {
@ -376,6 +376,14 @@
"symmetrised_correlator.show([5, 20], comp=[first_derivative, second_derivative], y_range=[-500, 1300])" "symmetrised_correlator.show([5, 20], comp=[first_derivative, second_derivative], y_range=[-500, 1300])"
] ]
}, },
{
"cell_type": "markdown",
"id": "0db4f67d",
"metadata": {},
"source": [
"There is a range of addtional methods of the `Corr` class which can be found in the documentation."
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,