Transport properties plot

[1]:
pip install CRYSTALClear
Requirement already satisfied: CRYSTALClear in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (0.2.6)
Requirement already satisfied: pymatgen in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from CRYSTALClear) (2024.8.9)
Requirement already satisfied: mendeleev in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from CRYSTALClear) (1.0.0)
Requirement already satisfied: ase in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from CRYSTALClear) (3.24.0)
Requirement already satisfied: numpy>=1.19.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ase->CRYSTALClear) (1.26.4)
Requirement already satisfied: scipy>=1.6.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ase->CRYSTALClear) (1.13.1)
Requirement already satisfied: matplotlib>=3.3.4 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ase->CRYSTALClear) (3.9.4)
Requirement already satisfied: Pygments<3.0.0,>=2.11.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (2.19.1)
Requirement already satisfied: SQLAlchemy>=1.4.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (2.0.40)
Requirement already satisfied: colorama<0.5.0,>=0.4.6 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (0.4.6)
Requirement already satisfied: deprecated<2.0.0,>=1.2.14 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (1.2.18)
Requirement already satisfied: pandas>=1.0.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (2.2.3)
Requirement already satisfied: pydantic<3.0.0,>=2.9.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (2.11.1)
Requirement already satisfied: pyfiglet<0.9,>=0.8.post1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from mendeleev->CRYSTALClear) (0.8.post1)
Requirement already satisfied: joblib>=1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (1.4.2)
Requirement already satisfied: monty>=2024.7.29 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (2025.3.3)
Requirement already satisfied: networkx>=2.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (3.2.1)
Requirement already satisfied: palettable>=3.3.3 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (3.3.3)
Requirement already satisfied: plotly>=4.5.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (6.0.1)
Requirement already satisfied: pybtex>=0.24.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (0.24.0)
Requirement already satisfied: requests>=2.32 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (2.32.3)
Requirement already satisfied: ruamel.yaml>=0.17.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (0.18.10)
Requirement already satisfied: spglib>=2.5.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (2.6.0)
Requirement already satisfied: sympy>=1.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (1.13.3)
Requirement already satisfied: tabulate>=0.9 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (0.9.0)
Requirement already satisfied: tqdm>=4.60 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (4.67.1)
Requirement already satisfied: uncertainties>=3.1.4 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pymatgen->CRYSTALClear) (3.2.2)
Requirement already satisfied: wrapt<2,>=1.10 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from deprecated<2.0.0,>=1.2.14->mendeleev->CRYSTALClear) (1.17.2)
Requirement already satisfied: contourpy>=1.0.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (1.3.0)
Requirement already satisfied: cycler>=0.10 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (4.56.0)
Requirement already satisfied: kiwisolver>=1.3.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (1.4.7)
Requirement already satisfied: packaging>=20.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (24.2)
Requirement already satisfied: pillow>=8 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (11.1.0)
Requirement already satisfied: pyparsing>=2.3.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (3.2.3)
Requirement already satisfied: python-dateutil>=2.7 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (2.9.0.post0)
Requirement already satisfied: importlib-resources>=3.2.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from matplotlib>=3.3.4->ase->CRYSTALClear) (6.5.2)
Requirement already satisfied: pytz>=2020.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pandas>=1.0.0->mendeleev->CRYSTALClear) (2025.2)
Requirement already satisfied: tzdata>=2022.7 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pandas>=1.0.0->mendeleev->CRYSTALClear) (2025.2)
Requirement already satisfied: narwhals>=1.15.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from plotly>=4.5.0->pymatgen->CRYSTALClear) (1.33.0)
Requirement already satisfied: PyYAML>=3.01 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pybtex>=0.24.0->pymatgen->CRYSTALClear) (6.0.2)
Requirement already satisfied: latexcodec>=1.0.4 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pybtex>=0.24.0->pymatgen->CRYSTALClear) (3.0.0)
Requirement already satisfied: six in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pybtex>=0.24.0->pymatgen->CRYSTALClear) (1.17.0)
Requirement already satisfied: annotated-types>=0.6.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pydantic<3.0.0,>=2.9.2->mendeleev->CRYSTALClear) (0.7.0)
Requirement already satisfied: pydantic-core==2.33.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pydantic<3.0.0,>=2.9.2->mendeleev->CRYSTALClear) (2.33.0)
Requirement already satisfied: typing-extensions>=4.12.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pydantic<3.0.0,>=2.9.2->mendeleev->CRYSTALClear) (4.13.0)
Requirement already satisfied: typing-inspection>=0.4.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pydantic<3.0.0,>=2.9.2->mendeleev->CRYSTALClear) (0.4.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from requests>=2.32->pymatgen->CRYSTALClear) (3.4.1)
Requirement already satisfied: idna<4,>=2.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from requests>=2.32->pymatgen->CRYSTALClear) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from requests>=2.32->pymatgen->CRYSTALClear) (2.3.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from requests>=2.32->pymatgen->CRYSTALClear) (2025.1.31)
Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ruamel.yaml>=0.17.0->pymatgen->CRYSTALClear) (0.2.12)
Requirement already satisfied: greenlet>=1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from SQLAlchemy>=1.4.0->mendeleev->CRYSTALClear) (3.1.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from sympy>=1.2->pymatgen->CRYSTALClear) (1.3.0)
Requirement already satisfied: zipp>=3.1.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from importlib-resources>=3.2.0->matplotlib>=3.3.4->ase->CRYSTALClear) (3.21.0)
Note: you may need to restart the kernel to use updated packages.
[2]:
pip install ipykernel
Requirement already satisfied: ipykernel in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (6.29.5)
Requirement already satisfied: comm>=0.1.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (0.2.2)
Requirement already satisfied: debugpy>=1.6.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (1.8.13)
Requirement already satisfied: ipython>=7.23.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (8.18.1)
Requirement already satisfied: jupyter-client>=6.1.12 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (8.6.3)
Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (5.7.2)
Requirement already satisfied: matplotlib-inline>=0.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (0.1.7)
Requirement already satisfied: nest-asyncio in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (1.6.0)
Requirement already satisfied: packaging in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (24.2)
Requirement already satisfied: psutil in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (7.0.0)
Requirement already satisfied: pyzmq>=24 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (26.3.0)
Requirement already satisfied: tornado>=6.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (6.4.2)
Requirement already satisfied: traitlets>=5.4.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipykernel) (5.14.3)
Requirement already satisfied: decorator in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (5.2.1)
Requirement already satisfied: jedi>=0.16 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (0.19.2)
Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (3.0.50)
Requirement already satisfied: pygments>=2.4.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (2.19.1)
Requirement already satisfied: stack-data in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (0.6.3)
Requirement already satisfied: typing-extensions in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (4.13.0)
Requirement already satisfied: exceptiongroup in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (1.2.2)
Requirement already satisfied: pexpect>4.3 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (4.9.0)
Requirement already satisfied: importlib-metadata>=4.8.3 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from jupyter-client>=6.1.12->ipykernel) (8.6.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from jupyter-client>=6.1.12->ipykernel) (2.9.0.post0)
Requirement already satisfied: platformdirs>=2.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from jupyter-core!=5.0.*,>=4.12->ipykernel) (4.3.7)
Requirement already satisfied: zipp>=3.20 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from importlib-metadata>=4.8.3->jupyter-client>=6.1.12->ipykernel) (3.21.0)
Requirement already satisfied: parso<0.9.0,>=0.8.4 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel) (0.8.4)
Requirement already satisfied: ptyprocess>=0.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pexpect>4.3->ipython>=7.23.1->ipykernel) (0.7.0)
Requirement already satisfied: wcwidth in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython>=7.23.1->ipykernel) (0.2.13)
Requirement already satisfied: six>=1.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel) (1.17.0)
Requirement already satisfied: executing>=1.2.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from stack-data->ipython>=7.23.1->ipykernel) (2.2.0)
Requirement already satisfied: asttokens>=2.1.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from stack-data->ipython>=7.23.1->ipykernel) (3.0.0)
Requirement already satisfied: pure-eval in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from stack-data->ipython>=7.23.1->ipykernel) (0.2.3)
Note: you may need to restart the kernel to use updated packages.
[3]:
from CRYSTALClear.crystal_io import Properties_output
from CRYSTALClear import plot as CCplt

Read a seebeck files

[4]:
seebeck = Properties_output().read_cry_seebeck('transport_zrnisn_SEEBECK.DAT')
[5]:
seebeck1 = Properties_output().read_cry_seebeck('transport_zrnisn_antisito_SEEBECK.DAT')

Plot seebeck versus the chemical potential

[6]:
CCplt.plot_cry_seebeck_potential(seebeck)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[6], line 1
----> 1 CCplt.plot_cry_seebeck_potential(seebeck)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:1301, in plot_cry_seebeck_potential(seebeck_obj)
   1298 import matplotlib.pyplot as plt
   1299 import numpy as np
-> 1301 case = input(
   1302     'Please, choose the direction you want to plot. \nYou can choose among S_xx, S_xy, S_xz, S_yx, S_yy, S_yz, S_yz, S_zx, S_zy, S_zz\n')
   1304 case = case.lower().replace('_', '')
   1306 if case.isalpha() == True:

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Plot seebeck versus the charge carrier concentration

[7]:
CCplt.plot_cry_seebeck_carrier(seebeck)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[7], line 1
----> 1 CCplt.plot_cry_seebeck_carrier(seebeck)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:1438, in plot_cry_seebeck_carrier(seebeck_obj)
   1435 import matplotlib.pyplot as plt
   1436 import numpy as np
-> 1438 case = input(
   1439     'Please, choose the direction you want to plot. \nYou can choose among S_xx, S_xy, S_xz, S_yx, S_yy, S_yz, S_yz, S_zx, S_zy, S_zz\n')
   1441 case = case.lower().replace('_', '')
   1443 if case.isalpha() == True:

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Read a sigma files

[8]:
sigma = Properties_output().read_cry_sigma('transport_zrnisn_SIGMA.DAT')
[9]:
sigma1 = Properties_output().read_cry_sigma('transport_zrnisn_antisito_SIGMA.DAT')

Plot sigma versus the chemical potential

[10]:
CCplt.plot_cry_sigma_potential(sigma)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[10], line 1
----> 1 CCplt.plot_cry_sigma_potential(sigma)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:1706, in plot_cry_sigma_potential(sigma_obj)
   1703 import matplotlib.pyplot as plt
   1704 import numpy as np
-> 1706 case = input(
   1707     'Please, choose the direction you want to plot. \nYou can choose among S_xx, S_xy, S_xz, S_yy, S_yz, S_zz\n')
   1709 case = case.lower().replace('_', '')
   1711 if case.isalpha() == True:

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Plot multiseebeck

[11]:
CCplt.plot_cry_multiseebeck(seebeck, seebeck1)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[11], line 1
----> 1 CCplt.plot_cry_multiseebeck(seebeck, seebeck1)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:1574, in plot_cry_multiseebeck(*seebeck)
   1571 import matplotlib.pyplot as plt
   1572 import numpy as np
-> 1574 k = int(input(
   1575     'Insert the index of temperature you want to plot \n(i.e. if your temperature are [T1, T2, T3] indexes are [0, 1, 2])'))
   1576 minpot = float(
   1577     input('Insert the lower value of chemical potential you want to plot in eV'))
   1578 maxpot = float(
   1579     input('Inser the higher value of chemical potential you want to plot in eV'))

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Plot multisigma

[12]:
CCplt.plot_cry_multisigma(sigma, sigma1)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[12], line 1
----> 1 CCplt.plot_cry_multisigma(sigma, sigma1)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:1962, in plot_cry_multisigma(*sigma)
   1959 import matplotlib.pyplot as plt
   1960 import numpy as np
-> 1962 k = int(input(
   1963     'Insert the index of temperature you want to plot \n(i.e. if your temperature are [T1, T2, T3] indexes are [0, 1, 2])'))
   1964 minpot = float(
   1965     input('Insert the lower value of chemical potential you want to plot in eV'))
   1966 maxpot = float(
   1967     input('Inser the higher value of chemical potential you want to plot in eV'))

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Plot powerfactor

[13]:
CCplt.plot_cry_powerfactor_potential(seebeck, sigma)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[13], line 1
----> 1 CCplt.plot_cry_powerfactor_potential(seebeck, sigma)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:2087, in plot_cry_powerfactor_potential(seebeck_obj, sigma_obj)
   2084 import matplotlib.pyplot as plt
   2085 import numpy as np
-> 2087 case = input(
   2088     'Please, choose the direction you want to plot. \nYou can choose among PF_xx, PF_xy, PF_xz, PF_yx, PF_yy, PF_yz, PF_yz, PF_zx, PF_zy, PF_zz\n')
   2090 case = case.lower().replace('_', '')
   2092 if case.isalpha() == True:

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

Plot ZT

[14]:
CCplt.plot_cry_zt(seebeck, sigma)
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
Cell In[14], line 1
----> 1 CCplt.plot_cry_zt(seebeck, sigma)

File ~/work/CRYSTALClear/CRYSTALClear/CRYSTALClear/plot.py:2510, in plot_cry_zt(seebeck_obj, sigma_obj)
   2507 import matplotlib.pyplot as plt
   2508 import numpy as np
-> 2510 ktot = float(input(
   2511     'Please insert the value of ktot in W-1K-1m-1'))
   2512 case = input(
   2513     'Please, choose the direction you want to plot. \nYou can choose among ZT_xx, ZT_xy, ZT_xz, ZT_yx, ZT_yy, ZT_yz, ZT_yz, ZT_zx, ZT_zy, ZT_zz\n')
   2515 case = case.lower().replace('_', '')

File /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/ipykernel/kernelbase.py:1281, in Kernel.raw_input(self, prompt)
   1279 if not self._allow_stdin:
   1280     msg = "raw_input was called, but this frontend does not support input requests."
-> 1281     raise StdinNotImplementedError(msg)
   1282 return self._input_request(
   1283     str(prompt),
   1284     self._parent_ident["shell"],
   1285     self.get_parent("shell"),
   1286     password=False,
   1287 )

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.