Skip to content

Commit d390b6a

Browse files
committed
Created using Colab
1 parent 6ac0dff commit d390b6a

1 file changed

Lines changed: 121 additions & 17 deletions

File tree

notebook.ipynb

Lines changed: 121 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 5,
15+
"execution_count": 1,
1616
"metadata": {
1717
"id": "MCTveXS2UE-p",
18-
"outputId": "e944e60e-8356-428b-e697-7da386bee904",
18+
"outputId": "ab810e2b-e4b5-4f9c-8f78-e8aefb8dea2a",
1919
"colab": {
2020
"base_uri": "https://localhost:8080/",
21-
"height": 427
21+
"height": 1000
2222
}
2323
},
2424
"outputs": [
@@ -28,22 +28,114 @@
2828
"text": [
2929
"Collecting pandas==2.3.0\n",
3030
" Downloading pandas-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (91 kB)\n",
31-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m91.2/91.2 kB\u001b[0m \u001b[31m2.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
32-
"\u001b[?25hRequirement already satisfied: numpy>=1.26.0 in /usr/local/lib/python3.12/dist-packages (from pandas==2.3.0) (2.2.6)\n",
31+
"\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/91.2 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m91.2/91.2 kB\u001b[0m \u001b[31m2.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
32+
"\u001b[?25hRequirement already satisfied: numpy>=1.26.0 in /usr/local/lib/python3.12/dist-packages (from pandas==2.3.0) (2.0.2)\n",
3333
"Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.12/dist-packages (from pandas==2.3.0) (2.9.0.post0)\n",
3434
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.12/dist-packages (from pandas==2.3.0) (2025.2)\n",
3535
"Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.12/dist-packages (from pandas==2.3.0) (2025.3)\n",
3636
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.12/dist-packages (from python-dateutil>=2.8.2->pandas==2.3.0) (1.17.0)\n",
3737
"Downloading pandas-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.0 MB)\n",
38-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.0/12.0 MB\u001b[0m \u001b[31m100.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
38+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.0/12.0 MB\u001b[0m \u001b[31m90.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
3939
"\u001b[?25hInstalling collected packages: pandas\n",
4040
" Attempting uninstall: pandas\n",
4141
" Found existing installation: pandas 2.2.2\n",
4242
" Uninstalling pandas-2.2.2:\n",
4343
" Successfully uninstalled pandas-2.2.2\n",
4444
"\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
4545
"google-colab 1.0.0 requires pandas==2.2.2, but you have pandas 2.3.0 which is incompatible.\u001b[0m\u001b[31m\n",
46-
"\u001b[0mSuccessfully installed pandas-2.3.0\n"
46+
"\u001b[0mSuccessfully installed pandas-2.3.0\n",
47+
"Collecting PyMieSim\n",
48+
" Downloading pymiesim-3.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (10 kB)\n",
49+
"Collecting TypedUnit (from PyMieSim)\n",
50+
" Downloading typedunit-0.0.8-py3-none-any.whl.metadata (8.6 kB)\n",
51+
"Collecting MPSPlots (from PyMieSim)\n",
52+
" Downloading mpsplots-1.8.5-py3-none-any.whl.metadata (8.7 kB)\n",
53+
"Collecting PyOptik (from PyMieSim)\n",
54+
" Downloading pyoptik-2.0.6-py3-none-any.whl.metadata (12 kB)\n",
55+
"Collecting setuptools_scm<10,>=8 (from setuptools_scm[toml]<10,>=8->PyMieSim)\n",
56+
" Downloading setuptools_scm-9.2.2-py3-none-any.whl.metadata (7.7 kB)\n",
57+
"Collecting numpy==2.2.6 (from PyMieSim)\n",
58+
" Downloading numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)\n",
59+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.0/62.0 kB\u001b[0m \u001b[31m1.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
60+
"\u001b[?25hCollecting matplotlib==3.10.7 (from PyMieSim)\n",
61+
" Downloading matplotlib-3.10.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (11 kB)\n",
62+
"Requirement already satisfied: pydantic<2.13.0,>=2.9.2 in /usr/local/lib/python3.12/dist-packages (from PyMieSim) (2.12.3)\n",
63+
"Collecting pint-pandas~=0.6 (from PyMieSim)\n",
64+
" Downloading Pint_Pandas-0.7.1-py3-none-any.whl.metadata (3.5 kB)\n",
65+
"Requirement already satisfied: pandas~=2.3.0 in /usr/local/lib/python3.12/dist-packages (from PyMieSim) (2.3.0)\n",
66+
"Requirement already satisfied: tabulate~=0.9 in /usr/local/lib/python3.12/dist-packages (from PyMieSim) (0.9.0)\n",
67+
"Collecting pyvista==0.45.3 (from PyMieSim)\n",
68+
" Downloading pyvista-0.45.3-py3-none-any.whl.metadata (15 kB)\n",
69+
"Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (1.3.3)\n",
70+
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (0.12.1)\n",
71+
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (4.61.1)\n",
72+
"Requirement already satisfied: kiwisolver>=1.3.1 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (1.4.9)\n",
73+
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (25.0)\n",
74+
"Requirement already satisfied: pillow>=8 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (11.3.0)\n",
75+
"Requirement already satisfied: pyparsing>=3 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (3.2.5)\n",
76+
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.12/dist-packages (from matplotlib==3.10.7->PyMieSim) (2.9.0.post0)\n",
77+
"Requirement already satisfied: pooch in /usr/local/lib/python3.12/dist-packages (from pyvista==0.45.3->PyMieSim) (1.8.2)\n",
78+
"Requirement already satisfied: scooby>=0.5.1 in /usr/local/lib/python3.12/dist-packages (from pyvista==0.45.3->PyMieSim) (0.11.0)\n",
79+
"Requirement already satisfied: typing-extensions in /usr/local/lib/python3.12/dist-packages (from pyvista==0.45.3->PyMieSim) (4.15.0)\n",
80+
"Collecting vtk!=9.4.0 (from pyvista==0.45.3->PyMieSim)\n",
81+
" Downloading vtk-9.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (5.6 kB)\n",
82+
" Downloading vtk-9.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)\n",
83+
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.12/dist-packages (from pandas~=2.3.0->PyMieSim) (2025.2)\n",
84+
"Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.12/dist-packages (from pandas~=2.3.0->PyMieSim) (2025.3)\n",
85+
"Collecting pint>=0.24 (from pint-pandas~=0.6->PyMieSim)\n",
86+
" Downloading pint-0.25.2-py3-none-any.whl.metadata (10 kB)\n",
87+
"Requirement already satisfied: annotated-types>=0.6.0 in /usr/local/lib/python3.12/dist-packages (from pydantic<2.13.0,>=2.9.2->PyMieSim) (0.7.0)\n",
88+
"Requirement already satisfied: pydantic-core==2.41.4 in /usr/local/lib/python3.12/dist-packages (from pydantic<2.13.0,>=2.9.2->PyMieSim) (2.41.4)\n",
89+
"Requirement already satisfied: typing-inspection>=0.4.2 in /usr/local/lib/python3.12/dist-packages (from pydantic<2.13.0,>=2.9.2->PyMieSim) (0.4.2)\n",
90+
"Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from setuptools_scm<10,>=8->setuptools_scm[toml]<10,>=8->PyMieSim) (75.2.0)\n",
91+
"Requirement already satisfied: requests~=2.31 in /usr/local/lib/python3.12/dist-packages (from PyOptik->PyMieSim) (2.32.4)\n",
92+
"Requirement already satisfied: pyyaml~=6.0 in /usr/local/lib/python3.12/dist-packages (from PyOptik->PyMieSim) (6.0.3)\n",
93+
"Collecting flexcache>=0.3 (from pint>=0.24->pint-pandas~=0.6->PyMieSim)\n",
94+
" Downloading flexcache-0.3-py3-none-any.whl.metadata (7.0 kB)\n",
95+
"Collecting flexparser>=0.4 (from pint>=0.24->pint-pandas~=0.6->PyMieSim)\n",
96+
" Downloading flexparser-0.4-py3-none-any.whl.metadata (18 kB)\n",
97+
"Requirement already satisfied: platformdirs>=2.1.0 in /usr/local/lib/python3.12/dist-packages (from pint>=0.24->pint-pandas~=0.6->PyMieSim) (4.5.1)\n",
98+
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.12/dist-packages (from python-dateutil>=2.7->matplotlib==3.10.7->PyMieSim) (1.17.0)\n",
99+
"Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests~=2.31->PyOptik->PyMieSim) (3.4.4)\n",
100+
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests~=2.31->PyOptik->PyMieSim) (3.11)\n",
101+
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests~=2.31->PyOptik->PyMieSim) (2.5.0)\n",
102+
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests~=2.31->PyOptik->PyMieSim) (2025.11.12)\n",
103+
"Downloading pymiesim-3.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.1 MB)\n",
104+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.1/4.1 MB\u001b[0m \u001b[31m40.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
105+
"\u001b[?25hDownloading matplotlib-3.10.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.7 MB)\n",
106+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.7/8.7 MB\u001b[0m \u001b[31m86.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
107+
"\u001b[?25hDownloading numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.5 MB)\n",
108+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m16.5/16.5 MB\u001b[0m \u001b[31m62.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
109+
"\u001b[?25hDownloading pyvista-0.45.3-py3-none-any.whl (2.4 MB)\n",
110+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.4/2.4 MB\u001b[0m \u001b[31m38.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
111+
"\u001b[?25hDownloading Pint_Pandas-0.7.1-py3-none-any.whl (28 kB)\n",
112+
"Downloading setuptools_scm-9.2.2-py3-none-any.whl (62 kB)\n",
113+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m63.0/63.0 kB\u001b[0m \u001b[31m2.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
114+
"\u001b[?25hDownloading mpsplots-1.8.5-py3-none-any.whl (1.4 MB)\n",
115+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.4/1.4 MB\u001b[0m \u001b[31m39.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
116+
"\u001b[?25hDownloading pyoptik-2.0.6-py3-none-any.whl (86 kB)\n",
117+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m86.8/86.8 kB\u001b[0m \u001b[31m2.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
118+
"\u001b[?25hDownloading typedunit-0.0.8-py3-none-any.whl (9.1 kB)\n",
119+
"Downloading pint-0.25.2-py3-none-any.whl (306 kB)\n",
120+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m306.8/306.8 kB\u001b[0m \u001b[31m13.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
121+
"\u001b[?25hDownloading vtk-9.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.1 MB)\n",
122+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.1/105.1 MB\u001b[0m \u001b[31m7.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
123+
"\u001b[?25hDownloading flexcache-0.3-py3-none-any.whl (13 kB)\n",
124+
"Downloading flexparser-0.4-py3-none-any.whl (27 kB)\n",
125+
"Installing collected packages: setuptools_scm, numpy, flexparser, flexcache, pint, pint-pandas, matplotlib, vtk, TypedUnit, pyvista, MPSPlots, PyOptik, PyMieSim\n",
126+
" Attempting uninstall: numpy\n",
127+
" Found existing installation: numpy 2.0.2\n",
128+
" Uninstalling numpy-2.0.2:\n",
129+
" Successfully uninstalled numpy-2.0.2\n",
130+
" Attempting uninstall: matplotlib\n",
131+
" Found existing installation: matplotlib 3.10.0\n",
132+
" Uninstalling matplotlib-3.10.0:\n",
133+
" Successfully uninstalled matplotlib-3.10.0\n",
134+
"\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
135+
"google-colab 1.0.0 requires pandas==2.2.2, but you have pandas 2.3.0 which is incompatible.\n",
136+
"tensorflow 2.19.0 requires numpy<2.2.0,>=1.26.0, but you have numpy 2.2.6 which is incompatible.\n",
137+
"numba 0.60.0 requires numpy<2.1,>=1.22, but you have numpy 2.2.6 which is incompatible.\u001b[0m\u001b[31m\n",
138+
"\u001b[0mSuccessfully installed MPSPlots-1.8.5 PyMieSim-3.9.0 PyOptik-2.0.6 TypedUnit-0.0.8 flexcache-0.3 flexparser-0.4 matplotlib-3.10.7 numpy-2.2.6 pint-0.25.2 pint-pandas-0.7.1 pyvista-0.45.3 setuptools_scm-9.2.2 vtk-9.4.2\n"
47139
]
48140
},
49141
{
@@ -52,18 +144,30 @@
52144
"application/vnd.colab-display-data+json": {
53145
"pip_warning": {
54146
"packages": [
55-
"pandas"
147+
"matplotlib",
148+
"mpl_toolkits",
149+
"numpy"
56150
]
57151
},
58-
"id": "12bbb6a1d3da4a0ab346c3e3e816c93b"
152+
"id": "49e3e9232d7f4e4e9a01c3e6e835d3b9"
59153
}
60154
},
61155
"metadata": {}
156+
},
157+
{
158+
"output_type": "stream",
159+
"name": "stdout",
160+
"text": [
161+
"\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/2.5 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/2.5 MB\u001b[0m \u001b[31m9.0 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.5/2.5 MB\u001b[0m \u001b[31m36.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
162+
"\u001b[?25h"
163+
]
62164
}
63165
],
64166
"source": [
167+
"# We have to go through custom install because of Colab vs pandas version conflict\n",
65168
"!pip install numpy>=2.0.0\n",
66169
"!pip install pandas==2.3.0\n",
170+
"!pip install PyMieSim\n",
67171
"!pip install FlowCyPy==0.31.0 --no-cache-dir --quiet --no-deps"
68172
]
69173
},
@@ -75,7 +179,7 @@
75179
"base_uri": "https://localhost:8080/"
76180
},
77181
"id": "KpkuZKpyUIqs",
78-
"outputId": "c05c9b77-7bfc-4f5d-ec29-b0616f8b22c4"
182+
"outputId": "7386a246-23b9-4e24-e966-8ceb90e8400e"
79183
},
80184
"outputs": [
81185
{
@@ -94,7 +198,7 @@
94198
},
95199
{
96200
"cell_type": "code",
97-
"execution_count": 4,
201+
"execution_count": 2,
98202
"metadata": {
99203
"id": "fFcDSRErP7sE"
100204
},
@@ -107,7 +211,7 @@
107211
},
108212
{
109213
"cell_type": "code",
110-
"execution_count": 5,
214+
"execution_count": null,
111215
"metadata": {
112216
"id": "hsgWaTrUZNUF"
113217
},
@@ -136,7 +240,7 @@
136240
},
137241
{
138242
"cell_type": "code",
139-
"execution_count": 7,
243+
"execution_count": null,
140244
"metadata": {
141245
"id": "lfiv_1DTUePc"
142246
},
@@ -193,7 +297,7 @@
193297
},
194298
{
195299
"cell_type": "code",
196-
"execution_count": 8,
300+
"execution_count": null,
197301
"metadata": {
198302
"id": "f6nFY9z0a-4A"
199303
},
@@ -253,7 +357,7 @@
253357
},
254358
{
255359
"cell_type": "code",
256-
"execution_count": 9,
360+
"execution_count": null,
257361
"metadata": {
258362
"id": "06FIeuElbGlj"
259363
},
@@ -306,7 +410,7 @@
306410
},
307411
{
308412
"cell_type": "code",
309-
"execution_count": 10,
413+
"execution_count": null,
310414
"metadata": {
311415
"id": "-HzUK6XIbgf2"
312416
},
@@ -326,7 +430,7 @@
326430
},
327431
{
328432
"cell_type": "code",
329-
"execution_count": 11,
433+
"execution_count": null,
330434
"metadata": {
331435
"colab": {
332436
"base_uri": "https://localhost:8080/",

0 commit comments

Comments
 (0)