diff --git a/examples/notebook_individual_systems.ipynb b/examples/notebook_individual_systems.ipynb index 7aec69eae0a90a6d767573701958bdff340b21ec..21d49016f3b2826d6f9d5ec87a1f6d8bb18df7af 100644 --- a/examples/notebook_individual_systems.ipynb +++ b/examples/notebook_individual_systems.ipynb @@ -27,7 +27,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 1, "id": "e32dcdee", "metadata": {}, "outputs": [], @@ -39,7 +39,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 2, "id": "425efed3-d8e3-432d-829e-41d8ebe05162", "metadata": {}, "outputs": [], @@ -50,7 +50,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 3, "id": "b2abab48-433d-4936-8434-14804c52c9f6", "metadata": {}, "outputs": [ @@ -78,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 4, "id": "029fc3f2-f09a-49af-a32b-248505738f2e", "metadata": {}, "outputs": [ @@ -86,7 +86,7 @@ "name": "stdout", "output_type": "stream", "text": [ - " TIME M1 M2 K1 K2 SEP PER ECC R1/ROL1 R2/ROL2 TYPE RANDOM_SEED=9935 RANDOM_COUNT=0\n", + " TIME M1 M2 K1 K2 SEP PER ECC R1/ROL1 R2/ROL2 TYPE RANDOM_SEED=17089 RANDOM_COUNT=0\n", " 0.0000 1.000 0.000 1 15 -1 -1 -1.00 0.000 0.000 \"INITIAL \"\n", " 11003.1302 1.000 0.000 2 15 -1 -1 -1.00 0.000 0.000 \"OFF_MS\"\n", " 11003.1302 1.000 0.000 2 15 -1 -1 -1.00 0.000 0.000 \"TYPE_CHNGE\"\n", @@ -118,7 +118,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 5, "id": "e6a23b55-ca42-440d-83ac-e76a24a83a67", "metadata": { "tags": [] @@ -167,7 +167,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 6, "id": "3822721f-217a-495b-962e-d57137b9e290", "metadata": {}, "outputs": [ @@ -217,7 +217,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 7, "id": "654a07ed-2a88-46ff-9da0-b7759580f9f3", "metadata": {}, "outputs": [ @@ -268,7 +268,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 8, "id": "4a98ffca-1b72-4bb8-8df1-3bf3187d882f", "metadata": {}, "outputs": [], @@ -287,7 +287,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 9, "id": "bff1cc2e-6b32-4ba0-879f-879ffbabd223", "metadata": {}, "outputs": [ @@ -333,7 +333,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 10, "id": "dd748bab-b57e-4129-8350-9ea11fa179d0", "metadata": { "scrolled": true, @@ -358,7 +358,7 @@ "Creating and loading custom logging functionality\n", "Running binary_c M_1 10 api_log_filename_prefix /tmp/binary_c_python/notebooks/notebook_individual_systems\n", "Cleaning up the custom logging stuff. type: single\n", - "Removed /tmp/binary_c_python/custom_logging/libcustom_logging_491813c1f1184f97951202e364eb3b55.so\n", + "Removed /tmp/binary_c_python/custom_logging/libcustom_logging_8967553693ac4e11a49c42d4eef773e8.so\n", "EXAMPLE_MASSLOSS 0.000000000000e+00 10 0 10 1\n", "EXAMPLE_MASSLOSS 0.000000000000e+00 10 10 10 1\n", "EXAMPLE_MASSLOSS 1.000000000000e-06 10 10 10 1\n", @@ -398,7 +398,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 11, "id": "fec39154-cce6-438c-8c2c-509d76b00f34", "metadata": {}, "outputs": [], @@ -449,7 +449,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 12, "id": "57347512-fd4a-434b-b13c-5e6dbd3ac415", "metadata": { "scrolled": true, @@ -460,13 +460,13 @@ "name": "stdout", "output_type": "stream", "text": [ - "adding: parse_function=<function object_parse_function at 0x7fa3136e5378> to grid_options\n", + "adding: parse_function=<function object_parse_function at 0x7fb4d41ebbf8> to grid_options\n", "<<<< Warning: Key does not match previously known parameter: adding: output_dir=/tmp/binary_c_python/notebooks/notebook_individual_systems to custom_options >>>>\n", "adding: api_log_filename_prefix=/tmp/binary_c_python/notebooks/notebook_individual_systems to BSE_options\n", "Creating and loading custom logging functionality\n", "Running binary_c M_1 10 api_log_filename_prefix /tmp/binary_c_python/notebooks/notebook_individual_systems\n", "Cleaning up the custom logging stuff. type: single\n", - "Removed /tmp/binary_c_python/custom_logging/libcustom_logging_83729c10ca52451cb773d29d6b28ea96.so\n", + "Removed /tmp/binary_c_python/custom_logging/libcustom_logging_5d7779e8190e4b79b10c7e6a44cb0e7e.so\n", "[['time', 'mass', 'initial_mass', 'stellar_type'], [0.0, 10.0, 0.0, 10.0, 1.0], [0.0, 10.0, 10.0, 10.0, 1.0], [1e-06, 10.0, 10.0, 10.0, 1.0]]\n", "dict_keys(['time', 'mass', 'initial_mass', 'stellar_type'])\n" ] @@ -511,7 +511,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 13, "id": "ec48125c-6bf5-48f4-9357-8261800b5d8b", "metadata": {}, "outputs": [ diff --git a/examples/notebook_population.ipynb b/examples/notebook_population.ipynb index 56f3b153c23064e82863f188906d50243e795715..b6a37baa8d90a2f36c0fd19311548ed49e77f173 100644 --- a/examples/notebook_population.ipynb +++ b/examples/notebook_population.ipynb @@ -3,7 +3,9 @@ { "cell_type": "markdown", "id": "bbbaafbb-fd7d-4b73-a970-93506ba35d71", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "# Running populations with binarycpython\n", "This notebook will show you how to evolve a population of stars\n", @@ -27,15 +29,6 @@ "# help(Population) # Uncomment to see the public functions of this object" ] }, - { - "cell_type": "markdown", - "id": "a081ab23-7822-4971-aa82-991548534714", - "metadata": {}, - "source": [ - "- running ensemble\n", - "- using M&S grid" - ] - }, { "cell_type": "markdown", "id": "f268eff3-4e08-4f6b-8b59-f22dba4d2074", @@ -329,7 +322,7 @@ ], "source": [ "# Add grid variables\n", - "resolution = {\"M_1\": 20, \"q\": 20, \"per\": 40}\n", + "resolution = {\"M_1\": 20}\n", "\n", "# Mass\n", "example_pop.add_grid_variable(\n", @@ -1125,7 +1118,7 @@ ")\n", "\n", "# Add grid variables\n", - "resolution = {\"M_1\": 5, \"q\": 5, \"per\": 5}\n", + "resolution = {\"M_1\": 3, \"q\": 3, \"per\": 3}\n", "\n", "# Mass\n", "example_pop.add_grid_variable(\n",