diff --git a/examples/example_basics.ipynb b/examples/example_basics.ipynb
index a4a1365..d12c35e 100644
--- a/examples/example_basics.ipynb
+++ b/examples/example_basics.ipynb
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -37,7 +37,7 @@
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -47,27 +47,9 @@
},
{
"cell_type": "code",
- "execution_count": 6,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "ename": "AttributeError",
- "evalue": "`np.infty` was removed in the NumPy 2.0 release. Use `np.inf` instead.",
- "output_type": "error",
- "traceback": [
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
- "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)",
- "Cell \u001b[0;32mIn[6], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Module imports\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mfourth_day\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Fourth_Day, config\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/fourth_day/__init__.py:3\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# -*- coding: utf-8 -*-\u001b[39;00m\n\u001b[0;32m----> 3\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mfourth_day\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Fourth_Day\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mconfig\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m config\n\u001b[1;32m 6\u001b[0m __all__ \u001b[38;5;241m=\u001b[39m (Fourth_Day, config)\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/fourth_day/fourth_day.py:24\u001b[0m\n\u001b[1;32m 21\u001b[0m \u001b[38;5;66;03m# -----------------------------------------\u001b[39;00m\n\u001b[1;32m 22\u001b[0m \u001b[38;5;66;03m# Package modules\u001b[39;00m\n\u001b[1;32m 23\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mconfig\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m config\n\u001b[0;32m---> 24\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgenesis\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Genesis\n\u001b[1;32m 25\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01madamah\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Adamah\n\u001b[1;32m 26\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mcurrent\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Current\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/fourth_day/genesis.py:13\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mpkgutil\u001b[39;00m\n\u001b[1;32m 12\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mconfig\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m config\n\u001b[0;32m---> 13\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpdfs\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m construct_pdf\n\u001b[1;32m 16\u001b[0m _log \u001b[38;5;241m=\u001b[39m logging\u001b[38;5;241m.\u001b[39mgetLogger(\u001b[38;5;18m__name__\u001b[39m)\n\u001b[1;32m 19\u001b[0m \u001b[38;5;28;01mclass\u001b[39;00m \u001b[38;5;21;01mGenesis\u001b[39;00m(\u001b[38;5;28mobject\u001b[39m):\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/fourth_day/pdfs.py:148\u001b[0m\n\u001b[1;32m 144\u001b[0m pdf \u001b[38;5;241m=\u001b[39m np\u001b[38;5;241m.\u001b[39masarray(pdf, dtype\u001b[38;5;241m=\u001b[39mdtype)\n\u001b[1;32m 145\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m np\u001b[38;5;241m.\u001b[39mnan_to_num(pdf)\n\u001b[0;32m--> 148\u001b[0m \u001b[38;5;28;01mclass\u001b[39;00m \u001b[38;5;21;01mNormal\u001b[39;00m(ScipyPDF):\n\u001b[1;32m 149\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\" Class for the normal distributon\u001b[39;00m\n\u001b[1;32m 150\u001b[0m \n\u001b[1;32m 151\u001b[0m \u001b[38;5;124;03m Parameters\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 158\u001b[0m \u001b[38;5;124;03m None\u001b[39;00m\n\u001b[1;32m 159\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[1;32m 161\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__init__\u001b[39m(\n\u001b[1;32m 162\u001b[0m \u001b[38;5;28mself\u001b[39m,\n\u001b[1;32m 163\u001b[0m mean: Union[\u001b[38;5;28mfloat\u001b[39m, np\u001b[38;5;241m.\u001b[39mndarray],\n\u001b[1;32m 164\u001b[0m sd: Union[\u001b[38;5;28mfloat\u001b[39m, np\u001b[38;5;241m.\u001b[39mndarray],\n\u001b[1;32m 165\u001b[0m max_val\u001b[38;5;241m=\u001b[39mnp\u001b[38;5;241m.\u001b[39minfty) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/fourth_day/pdfs.py:165\u001b[0m, in \u001b[0;36mNormal\u001b[0;34m()\u001b[0m\n\u001b[1;32m 148\u001b[0m \u001b[38;5;28;01mclass\u001b[39;00m \u001b[38;5;21;01mNormal\u001b[39;00m(ScipyPDF):\n\u001b[1;32m 149\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\" Class for the normal distributon\u001b[39;00m\n\u001b[1;32m 150\u001b[0m \n\u001b[1;32m 151\u001b[0m \u001b[38;5;124;03m Parameters\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 158\u001b[0m \u001b[38;5;124;03m None\u001b[39;00m\n\u001b[1;32m 159\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[1;32m 161\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__init__\u001b[39m(\n\u001b[1;32m 162\u001b[0m \u001b[38;5;28mself\u001b[39m,\n\u001b[1;32m 163\u001b[0m mean: Union[\u001b[38;5;28mfloat\u001b[39m, np\u001b[38;5;241m.\u001b[39mndarray],\n\u001b[1;32m 164\u001b[0m sd: Union[\u001b[38;5;28mfloat\u001b[39m, np\u001b[38;5;241m.\u001b[39mndarray],\n\u001b[0;32m--> 165\u001b[0m max_val\u001b[38;5;241m=\u001b[39m\u001b[43mnp\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43minfty\u001b[49m) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 166\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\" Initializes the TruncatedNormal class\u001b[39;00m\n\u001b[1;32m 167\u001b[0m \n\u001b[1;32m 168\u001b[0m \u001b[38;5;124;03m Parameters\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 175\u001b[0m \u001b[38;5;124;03m None\u001b[39;00m\n\u001b[1;32m 176\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[1;32m 177\u001b[0m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__init__\u001b[39m()\n",
- "File \u001b[0;32m~/envs/test/lib/python3.10/site-packages/numpy/__init__.py:397\u001b[0m, in \u001b[0;36m__getattr__\u001b[0;34m(attr)\u001b[0m\n\u001b[1;32m 394\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mAttributeError\u001b[39;00m(__former_attrs__[attr])\n\u001b[1;32m 396\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m attr \u001b[38;5;129;01min\u001b[39;00m __expired_attributes__:\n\u001b[0;32m--> 397\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mAttributeError\u001b[39;00m(\n\u001b[1;32m 398\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m`np.\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mattr\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m` was removed in the NumPy 2.0 release. \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 399\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m{\u001b[39;00m__expired_attributes__[attr]\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 400\u001b[0m )\n\u001b[1;32m 402\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m attr \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mchararray\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 403\u001b[0m warnings\u001b[38;5;241m.\u001b[39mwarn(\n\u001b[1;32m 404\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m`np.chararray` is deprecated and will be removed from \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 405\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mthe main namespace in the future. Use an array with a string \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 406\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mor bytes dtype instead.\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;167;01mDeprecationWarning\u001b[39;00m, stacklevel\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m2\u001b[39m)\n",
- "\u001b[0;31mAttributeError\u001b[0m: `np.infty` was removed in the NumPy 2.0 release. Use `np.inf` instead."
- ]
- }
- ],
+ "outputs": [],
"source": [
"# Module imports\n",
"from fourth_day import Fourth_Day, config"
@@ -75,7 +57,7 @@
},
{
"cell_type": "code",
- "execution_count": 6,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -145,7 +127,7 @@
},
{
"cell_type": "code",
- "execution_count": 7,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -156,25 +138,9 @@
},
{
"cell_type": "code",
- "execution_count": 8,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Starting the download. Please note this will take a while!\n",
- "Depending on the current server usage this takes a few hours!\n"
- ]
- },
- {
- "name": "stderr",
- "output_type": "stream",
- "text": [
- "100%|██████████| 3612/3612 [00:00<00:00, 39054.30it/s]\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
"# Use this method if you need to download files.\n",
"# fd.load_data()"
@@ -182,7 +148,7 @@
},
{
"cell_type": "code",
- "execution_count": 9,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -194,554 +160,11 @@
},
{
"cell_type": "code",
- "execution_count": 10,
+ "execution_count": null,
"metadata": {
"scrolled": false
},
- "outputs": [
- {
- "data": {
- "text/html": [
- "
\n",
- "\n",
- "
\n",
- " \n",
- " \n",
- " | \n",
- " species | \n",
- " pos_x | \n",
- " pos_y | \n",
- " velocity | \n",
- " angle | \n",
- " radius | \n",
- " energy | \n",
- " observed | \n",
- " max_emission | \n",
- " emission fraction | \n",
- " ... | \n",
- " pulse mean | \n",
- " pulse sd | \n",
- " pulse size | \n",
- " pulse start | \n",
- " is_emitting | \n",
- " emission_duration | \n",
- " encounter photons | \n",
- " shear photons | \n",
- " photons | \n",
- " is_injected | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " long pulse 1 | \n",
- " 17.178393 | \n",
- " 0.080061 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001135 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 19.384904 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 1 | \n",
- " short pulse | \n",
- " 15.608229 | \n",
- " 6.949855 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001274 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 15.038286 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 3.000000e-01 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 2 | \n",
- " short pulse | \n",
- " 16.699355 | \n",
- " 5.714155 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001250 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 17.509604 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 3.000000e-01 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 3 | \n",
- " long pulse 1 | \n",
- " 30.070580 | \n",
- " 7.807291 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001357 | \n",
- " 1.0000 | \n",
- " False | \n",
- " 14.713668 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -59.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 4 | \n",
- " example pulse 1 | \n",
- " 10.345970 | \n",
- " 5.586579 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001336 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 12.034175 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " example pulse 1 | \n",
- " 18.392058 | \n",
- " 7.132072 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001226 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 7.485000 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 6 | \n",
- " example pulse 1 | \n",
- " 29.536660 | \n",
- " 12.953445 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001536 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 19.169354 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 7 | \n",
- " short pulse | \n",
- " 12.269112 | \n",
- " 6.084132 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001402 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 17.066901 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 3.000000e-01 | \n",
- " False | \n",
- " False | \n",
- " -75.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 8 | \n",
- " short pulse | \n",
- " 30.076426 | \n",
- " 6.607397 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.000405 | \n",
- " 1.0000 | \n",
- " False | \n",
- " 0.763870 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 3.000000e-01 | \n",
- " False | \n",
- " False | \n",
- " -41.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 9 | \n",
- " long pulse 1 | \n",
- " 30.028936 | \n",
- " 2.112713 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.000741 | \n",
- " 1.0000 | \n",
- " False | \n",
- " 13.610057 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.500000e+00 | \n",
- " False | \n",
- " False | \n",
- " -64.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " False | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " short pulse | \n",
- " 7.026485 | \n",
- " 5.797148 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.000792 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 20.678337 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " False | \n",
- " -71.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 11 | \n",
- " short pulse | \n",
- " 6.933228 | \n",
- " 8.911875 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001237 | \n",
- " 0.9025 | \n",
- " True | \n",
- " 20.015453 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " True | \n",
- " 75.0 | \n",
- " 0 | \n",
- " 2.001545e+10 | \n",
- " 9.705904e-156 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 12 | \n",
- " example pulse 1 | \n",
- " 6.532039 | \n",
- " 9.409231 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001384 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 13.671359 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " False | \n",
- " -64.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 13 | \n",
- " long pulse 1 | \n",
- " 6.297495 | \n",
- " 12.372191 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001370 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 18.123240 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " False | \n",
- " -64.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 14 | \n",
- " example pulse 1 | \n",
- " 6.316220 | \n",
- " 8.152859 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001372 | \n",
- " 0.9025 | \n",
- " True | \n",
- " 2.959638 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " True | \n",
- " 75.0 | \n",
- " 0 | \n",
- " 2.959638e+09 | \n",
- " 1.668752e+01 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " short pulse | \n",
- " 4.771243 | \n",
- " 8.499340 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001380 | \n",
- " 1.0000 | \n",
- " True | \n",
- " -2.709008 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 0.3 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " False | \n",
- " -47.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " True | \n",
- "
\n",
- " \n",
- " 16 | \n",
- " long pulse 1 | \n",
- " 2.248943 | \n",
- " 2.732092 | \n",
- " 0.0 | \n",
- " 0.0 | \n",
- " 0.001060 | \n",
- " 1.0000 | \n",
- " True | \n",
- " 21.772812 | \n",
- " 0.1 | \n",
- " ... | \n",
- " 2.0 | \n",
- " 1.5 | \n",
- " 1.000000e+10 | \n",
- " False | \n",
- " False | \n",
- " -23.0 | \n",
- " 0 | \n",
- " 0.000000e+00 | \n",
- " 0.000000e+00 | \n",
- " True | \n",
- "
\n",
- " \n",
- "
\n",
- "
17 rows × 21 columns
\n",
- "
"
- ],
- "text/plain": [
- " species pos_x pos_y velocity angle radius energy \\\n",
- "0 long pulse 1 17.178393 0.080061 0.0 0.0 0.001135 1.0000 \n",
- "1 short pulse 15.608229 6.949855 0.0 0.0 0.001274 1.0000 \n",
- "2 short pulse 16.699355 5.714155 0.0 0.0 0.001250 1.0000 \n",
- "3 long pulse 1 30.070580 7.807291 0.0 0.0 0.001357 1.0000 \n",
- "4 example pulse 1 10.345970 5.586579 0.0 0.0 0.001336 1.0000 \n",
- "5 example pulse 1 18.392058 7.132072 0.0 0.0 0.001226 1.0000 \n",
- "6 example pulse 1 29.536660 12.953445 0.0 0.0 0.001536 1.0000 \n",
- "7 short pulse 12.269112 6.084132 0.0 0.0 0.001402 1.0000 \n",
- "8 short pulse 30.076426 6.607397 0.0 0.0 0.000405 1.0000 \n",
- "9 long pulse 1 30.028936 2.112713 0.0 0.0 0.000741 1.0000 \n",
- "10 short pulse 7.026485 5.797148 0.0 0.0 0.000792 1.0000 \n",
- "11 short pulse 6.933228 8.911875 0.0 0.0 0.001237 0.9025 \n",
- "12 example pulse 1 6.532039 9.409231 0.0 0.0 0.001384 1.0000 \n",
- "13 long pulse 1 6.297495 12.372191 0.0 0.0 0.001370 1.0000 \n",
- "14 example pulse 1 6.316220 8.152859 0.0 0.0 0.001372 0.9025 \n",
- "15 short pulse 4.771243 8.499340 0.0 0.0 0.001380 1.0000 \n",
- "16 long pulse 1 2.248943 2.732092 0.0 0.0 0.001060 1.0000 \n",
- "\n",
- " observed max_emission emission fraction ... pulse mean pulse sd \\\n",
- "0 True 19.384904 0.1 ... 2.0 1.5 \n",
- "1 True 15.038286 0.1 ... 2.0 0.3 \n",
- "2 True 17.509604 0.1 ... 2.0 0.3 \n",
- "3 False 14.713668 0.1 ... 2.0 1.5 \n",
- "4 True 12.034175 0.1 ... 2.0 1.5 \n",
- "5 True 7.485000 0.1 ... 2.0 1.5 \n",
- "6 True 19.169354 0.1 ... 2.0 1.5 \n",
- "7 True 17.066901 0.1 ... 2.0 0.3 \n",
- "8 False 0.763870 0.1 ... 2.0 0.3 \n",
- "9 False 13.610057 0.1 ... 2.0 1.5 \n",
- "10 True 20.678337 0.1 ... 2.0 0.3 \n",
- "11 True 20.015453 0.1 ... 2.0 0.3 \n",
- "12 True 13.671359 0.1 ... 2.0 1.5 \n",
- "13 True 18.123240 0.1 ... 2.0 1.5 \n",
- "14 True 2.959638 0.1 ... 2.0 1.5 \n",
- "15 True -2.709008 0.1 ... 2.0 0.3 \n",
- "16 True 21.772812 0.1 ... 2.0 1.5 \n",
- "\n",
- " pulse size pulse start is_emitting emission_duration \\\n",
- "0 1.500000e+00 False False -75.0 \n",
- "1 3.000000e-01 False False -75.0 \n",
- "2 3.000000e-01 False False -75.0 \n",
- "3 1.500000e+00 False False -59.0 \n",
- "4 1.500000e+00 False False -75.0 \n",
- "5 1.500000e+00 False False -75.0 \n",
- "6 1.500000e+00 False False -75.0 \n",
- "7 3.000000e-01 False False -75.0 \n",
- "8 3.000000e-01 False False -41.0 \n",
- "9 1.500000e+00 False False -64.0 \n",
- "10 1.000000e+10 False False -71.0 \n",
- "11 1.000000e+10 False True 75.0 \n",
- "12 1.000000e+10 False False -64.0 \n",
- "13 1.000000e+10 False False -64.0 \n",
- "14 1.000000e+10 False True 75.0 \n",
- "15 1.000000e+10 False False -47.0 \n",
- "16 1.000000e+10 False False -23.0 \n",
- "\n",
- " encounter photons shear photons photons is_injected \n",
- "0 0 0.000000e+00 0.000000e+00 False \n",
- "1 0 0.000000e+00 0.000000e+00 False \n",
- "2 0 0.000000e+00 0.000000e+00 False \n",
- "3 0 0.000000e+00 0.000000e+00 False \n",
- "4 0 0.000000e+00 0.000000e+00 False \n",
- "5 0 0.000000e+00 0.000000e+00 False \n",
- "6 0 0.000000e+00 0.000000e+00 False \n",
- "7 0 0.000000e+00 0.000000e+00 False \n",
- "8 0 0.000000e+00 0.000000e+00 False \n",
- "9 0 0.000000e+00 0.000000e+00 False \n",
- "10 0 0.000000e+00 0.000000e+00 True \n",
- "11 0 2.001545e+10 9.705904e-156 True \n",
- "12 0 0.000000e+00 0.000000e+00 True \n",
- "13 0 0.000000e+00 0.000000e+00 True \n",
- "14 0 2.959638e+09 1.668752e+01 True \n",
- "15 0 0.000000e+00 0.000000e+00 True \n",
- "16 0 0.000000e+00 0.000000e+00 True \n",
- "\n",
- "[17 rows x 21 columns]"
- ]
- },
- "execution_count": 10,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"# Example poplation state\n",
"# This includes all information needed for analyses except the light propagation and detector response\n",
@@ -751,7 +174,7 @@
},
{
"cell_type": "code",
- "execution_count": 11,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -765,7 +188,7 @@
},
{
"cell_type": "code",
- "execution_count": 12,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -777,32 +200,11 @@
},
{
"cell_type": "code",
- "execution_count": 13,
+ "execution_count": null,
"metadata": {
"scrolled": false
},
- "outputs": [
- {
- "name": "stderr",
- "output_type": "stream",
- "text": [
- "findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans.\n",
- "findfont: Generic family 'sans-serif' not found because none of the following families were found: Helvetica\n"
- ]
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAPwAAADECAYAAAC7gkynAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8/fFQqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAQLElEQVR4nO3df5BdZX3H8feHhZCUAAGyUEyoiRIDKUgKacCJMoj8CAUFp7UmlNZgNFMUoUMrhkpR64wanaJFKRh+BYuQyVACKQSBUZlUSyEbCJAQggFC2UbZpBgkwgQI3/5xnqXXZe/uvbt7fz6f18ydvffZc+79Ps/sZ8+55zz3XEUEZpaH3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