edrixs 0.0.8__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- edrixs-0.1.2/PKG-INFO +75 -0
- edrixs-0.1.2/README.rst +45 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/conf.py +1 -1
- edrixs-0.1.2/docs/source/user/devcontainer.rst +43 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/index.rst +1 -0
- edrixs-0.1.2/docs/source/user/installation.rst +182 -0
- edrixs-0.1.2/docs/source/user/papers.rst +54 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/quickstart.rst +3 -2
- edrixs-0.1.2/docs/source/user/usedocker.rst +71 -0
- edrixs-0.1.2/docs/source/user/whatisedrixs.rst +9 -0
- edrixs-0.1.2/edrixs/_version.py +520 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/angular_momentum.py +1 -1
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/coulomb_utensor.py +22 -3
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/fock_basis.py +1 -49
- edrixs-0.1.2/edrixs/scripts.py +46 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/solvers.py +18 -3
- edrixs-0.1.2/edrixs/tests/test_fortran.py +42 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/tests/test_utils.py +11 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/utils.py +12 -8
- edrixs-0.1.2/edrixs.egg-info/PKG-INFO +75 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs.egg-info/SOURCES.txt +4 -4
- edrixs-0.1.2/edrixs.egg-info/entry_points.txt +5 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs.egg-info/requires.txt +1 -1
- edrixs-0.1.2/pyproject.toml +9 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/requirements.txt +1 -1
- {edrixs-0.0.8 → edrixs-0.1.2}/setup.cfg +2 -2
- edrixs-0.1.2/setup.py +131 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/opavg_driver.f90 +1 -1
- edrixs-0.0.8/PKG-INFO +0 -154
- edrixs-0.0.8/README.rst +0 -136
- edrixs-0.0.8/docs/source/user/installation.rst +0 -364
- edrixs-0.0.8/docs/source/user/papers.rst +0 -19
- edrixs-0.0.8/docs/source/user/usedocker.rst +0 -72
- edrixs-0.0.8/docs/source/user/whatisedrixs.rst +0 -7
- edrixs-0.0.8/edrixs/_version.py +0 -21
- edrixs-0.0.8/edrixs.egg-info/PKG-INFO +0 -154
- edrixs-0.0.8/edrixs.egg-info/entry_points.txt +0 -3
- edrixs-0.0.8/setup.py +0 -86
- edrixs-0.0.8/src/Makefile +0 -43
- edrixs-0.0.8/src/make.sys +0 -35
- edrixs-0.0.8/src/make.sys.gfortran +0 -34
- edrixs-0.0.8/src/make.sys.ifort +0 -24
- {edrixs-0.0.8 → edrixs-0.1.2}/AUTHORS.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/CONTRIBUTING.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/LICENSE +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/MANIFEST.in +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/Makefile +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/make.bat +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/index.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/angular_momentum.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/basis_transform.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/coulomb_utensor.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/fit_hyb.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/fock_basis.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/index.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/iostream.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/manybody_operator.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/photon_transition.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/plot_spectrum.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/rixs_utils.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/soc.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/solvers.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/utils.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/reference/wannier_ham.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/release-history.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/basics.ed.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/basics.rixs.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/basics.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/basics.xas.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/examples.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/docs/source/user/pythontips.rst +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/__init__.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Co.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Cr.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Cu.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Fe.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Ir.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Mn.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Ni.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Os.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Pu.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Re.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Sm.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/Ti.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/U.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/atom_data/V.json +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/basis_transform.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/fit_hyb.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/iostream.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/manybody_operator.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/photon_transition.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/plot_spectrum.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/rixs_utils.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/soc.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/tests/__init__.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/tests/conftest.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/tests/test_examples.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs/wannier_ham.py +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs.egg-info/dependency_links.txt +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/edrixs.egg-info/top_level.txt +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/arpack.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/ed_driver.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/ed_main.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/fock.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/full_diag.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/ham.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/io.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/lanczos.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/linsys.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/m_constants.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/m_control.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/m_global.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/m_types.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/opavg_main.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/pyapi.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/rixs_driver.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/rixs_main.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/spmv.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/utils.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/xas_driver.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/src/xas_main.f90 +0 -0
- {edrixs-0.0.8 → edrixs-0.1.2}/versioneer.py +0 -0
edrixs-0.1.2/PKG-INFO
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: edrixs
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: An open source toolkit for simulating RIXS spectra based on ED
|
|
5
|
+
Home-page: https://github.com/NSLS-II/edrixs
|
|
6
|
+
Author: Brookhaven National Lab
|
|
7
|
+
Author-email: yilinwang@bnl.gov
|
|
8
|
+
License: GPL-3.0-or-later
|
|
9
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: AUTHORS.rst
|
|
15
|
+
Requires-Dist: numpy<2
|
|
16
|
+
Requires-Dist: scipy
|
|
17
|
+
Requires-Dist: sympy
|
|
18
|
+
Requires-Dist: matplotlib
|
|
19
|
+
Requires-Dist: sphinx
|
|
20
|
+
Requires-Dist: mpi4py
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: summary
|
|
30
|
+
|
|
31
|
+
===============================
|
|
32
|
+
edrixs
|
|
33
|
+
===============================
|
|
34
|
+
|
|
35
|
+
.. image:: https://img.shields.io/pypi/v/edrixs.svg
|
|
36
|
+
:target: https://pypi.python.org/pypi/edrixs
|
|
37
|
+
|
|
38
|
+
.. image:: https://mybinder.org/badge_logo.svg
|
|
39
|
+
:target: https://mybinder.org/v2/gh/NSLS-II/edrixs.git/master?urlpath=lab
|
|
40
|
+
|
|
41
|
+
EDRIXS is an open source toolkit for simulating XAS and RIXS spectra based on exact diagonalization of model Hamiltonians.
|
|
42
|
+
It was started as part of `COMSCOPE project <https://www.bnl.gov/comscope/software/comsuite.php/>`_ in the
|
|
43
|
+
Center for Computational Material Spectroscopy and Design, Brookhaven National Laboratory and is now maintained and
|
|
44
|
+
developed in collaboration between the `Condensed Matter Physics and Materials Science Division <https://www.bnl.gov/cmpmsd/>`_
|
|
45
|
+
and the `National Syncrotron Light Source II <https://www.bnl.gov/nsls2/>`_.
|
|
46
|
+
|
|
47
|
+
* Free software: GNU General Public License Version 3
|
|
48
|
+
* Documentation: https://edrixs.github.io/edrixs.
|
|
49
|
+
* Launch a `MyBinder Session <https://mybinder.org/v2/gh/edrixs/edrixs.git/master?urlpath=lab>`_ to try the code.
|
|
50
|
+
|
|
51
|
+
Features
|
|
52
|
+
--------
|
|
53
|
+
|
|
54
|
+
* ED solver
|
|
55
|
+
* XAS spectra
|
|
56
|
+
* RIXS spectra
|
|
57
|
+
|
|
58
|
+
How to cite
|
|
59
|
+
-----------
|
|
60
|
+
If you are using the EDRIXS code to do some studies and would like to publish your great works, it would be really appreciated if you can cite the following paper:
|
|
61
|
+
|
|
62
|
+
``EDRIXS: An open source toolkit for simulating spectra of resonant inelastic x-ray scattering, Y.L. Wang, G. Fabbris, M.P.M. Dean and G. Kotliar``, `Computer Physics Communications,243, 151 (2019) <https://doi.org/10.1016/j.cpc.2019.04.018>`_, `arXiv:1812.05735 <https://arxiv.org/abs/1812.05735/>`_.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
Usage
|
|
66
|
+
-----
|
|
67
|
+
For Linux users we suggest installing with anaconda.
|
|
68
|
+
|
|
69
|
+
.. code-block:: bash
|
|
70
|
+
|
|
71
|
+
$ conda create --name edrixs_env python=3.10
|
|
72
|
+
$ conda activate edrixs_env
|
|
73
|
+
$ conda install -c conda-forge edrixs
|
|
74
|
+
|
|
75
|
+
For Windows and macOS machines, we suggest using docker. See https://edrixs.github.io/edrixs for more details.
|
edrixs-0.1.2/README.rst
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
===============================
|
|
2
|
+
edrixs
|
|
3
|
+
===============================
|
|
4
|
+
|
|
5
|
+
.. image:: https://img.shields.io/pypi/v/edrixs.svg
|
|
6
|
+
:target: https://pypi.python.org/pypi/edrixs
|
|
7
|
+
|
|
8
|
+
.. image:: https://mybinder.org/badge_logo.svg
|
|
9
|
+
:target: https://mybinder.org/v2/gh/NSLS-II/edrixs.git/master?urlpath=lab
|
|
10
|
+
|
|
11
|
+
EDRIXS is an open source toolkit for simulating XAS and RIXS spectra based on exact diagonalization of model Hamiltonians.
|
|
12
|
+
It was started as part of `COMSCOPE project <https://www.bnl.gov/comscope/software/comsuite.php/>`_ in the
|
|
13
|
+
Center for Computational Material Spectroscopy and Design, Brookhaven National Laboratory and is now maintained and
|
|
14
|
+
developed in collaboration between the `Condensed Matter Physics and Materials Science Division <https://www.bnl.gov/cmpmsd/>`_
|
|
15
|
+
and the `National Syncrotron Light Source II <https://www.bnl.gov/nsls2/>`_.
|
|
16
|
+
|
|
17
|
+
* Free software: GNU General Public License Version 3
|
|
18
|
+
* Documentation: https://edrixs.github.io/edrixs.
|
|
19
|
+
* Launch a `MyBinder Session <https://mybinder.org/v2/gh/edrixs/edrixs.git/master?urlpath=lab>`_ to try the code.
|
|
20
|
+
|
|
21
|
+
Features
|
|
22
|
+
--------
|
|
23
|
+
|
|
24
|
+
* ED solver
|
|
25
|
+
* XAS spectra
|
|
26
|
+
* RIXS spectra
|
|
27
|
+
|
|
28
|
+
How to cite
|
|
29
|
+
-----------
|
|
30
|
+
If you are using the EDRIXS code to do some studies and would like to publish your great works, it would be really appreciated if you can cite the following paper:
|
|
31
|
+
|
|
32
|
+
``EDRIXS: An open source toolkit for simulating spectra of resonant inelastic x-ray scattering, Y.L. Wang, G. Fabbris, M.P.M. Dean and G. Kotliar``, `Computer Physics Communications,243, 151 (2019) <https://doi.org/10.1016/j.cpc.2019.04.018>`_, `arXiv:1812.05735 <https://arxiv.org/abs/1812.05735/>`_.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
Usage
|
|
36
|
+
-----
|
|
37
|
+
For Linux users we suggest installing with anaconda.
|
|
38
|
+
|
|
39
|
+
.. code-block:: bash
|
|
40
|
+
|
|
41
|
+
$ conda create --name edrixs_env python=3.10
|
|
42
|
+
$ conda activate edrixs_env
|
|
43
|
+
$ conda install -c conda-forge edrixs
|
|
44
|
+
|
|
45
|
+
For Windows and macOS machines, we suggest using docker. See https://edrixs.github.io/edrixs for more details.
|
|
@@ -109,7 +109,7 @@ todo_include_todos = False
|
|
|
109
109
|
#
|
|
110
110
|
html_theme = 'sphinx_rtd_theme'
|
|
111
111
|
import sphinx_rtd_theme
|
|
112
|
-
|
|
112
|
+
html_logo = "EDRIXS_logo.png"
|
|
113
113
|
|
|
114
114
|
# Theme options are theme-specific and customize the look and feel of a theme
|
|
115
115
|
# further. For a list of options available for each theme, see the
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.. _devcontainer:
|
|
2
|
+
|
|
3
|
+
*********************
|
|
4
|
+
Dev Container
|
|
5
|
+
*********************
|
|
6
|
+
|
|
7
|
+
The edrixs repository includes a `Dev Container
|
|
8
|
+
<https://containers.readthedocs.io/>`_ configuration, which gives you a
|
|
9
|
+
fully working edrixs development environment without any manual installation.
|
|
10
|
+
|
|
11
|
+
Supported environments
|
|
12
|
+
----------------------
|
|
13
|
+
|
|
14
|
+
* **VS Code** with the `Dev Containers
|
|
15
|
+
<https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers>`_
|
|
16
|
+
extension
|
|
17
|
+
* **GitHub Codespaces** — runs the container in the cloud directly from the
|
|
18
|
+
GitHub repository page, with no local setup at all
|
|
19
|
+
* **JetBrains IDEs** (PyCharm, IntelliJ, etc.) via their Dev Containers support
|
|
20
|
+
* **The devcontainer CLI** (``@devcontainers/cli``) for terminal-only use
|
|
21
|
+
|
|
22
|
+
Using VS Code
|
|
23
|
+
-------------
|
|
24
|
+
|
|
25
|
+
1. Install `Docker <https://www.docker.com/>`_ and start the Docker daemon.
|
|
26
|
+
2. Install the `Dev Containers
|
|
27
|
+
<https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers>`_
|
|
28
|
+
extension in VS Code.
|
|
29
|
+
3. Clone the edrixs repository and open it in VS Code.
|
|
30
|
+
4. When prompted *"Reopen in Container"*, click it — or open the Command
|
|
31
|
+
Palette (``Ctrl+Shift+P``) and run **Dev Containers: Reopen in Container**.
|
|
32
|
+
|
|
33
|
+
VS Code will build the image on the first launch (this takes a few minutes)
|
|
34
|
+
and then reopen with edrixs fully installed and ready to use.
|
|
35
|
+
|
|
36
|
+
Using GitHub Codespaces
|
|
37
|
+
-----------------------
|
|
38
|
+
|
|
39
|
+
1. Go to the edrixs repository on GitHub.
|
|
40
|
+
2. Click **Code → Codespaces → Create codespace on master**.
|
|
41
|
+
|
|
42
|
+
The codespace opens a browser-based VS Code session with edrixs already
|
|
43
|
+
installed — no local software required.
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
************
|
|
2
|
+
Installation
|
|
3
|
+
************
|
|
4
|
+
For Linux users we suggest :ref:`installing with anaconda <AnacondaInstall>`. For Windows and macOS machines, we suggest using the :ref:`docker instructions <edrixsanddocker>`, which are relatively straightforward. In principle, you can also compile the code from the source for Linux, but this is quite involved and we recommend against this for standard use.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.. _AnacondaInstall:
|
|
8
|
+
|
|
9
|
+
Install and use edrixs via Anaconda
|
|
10
|
+
====================================================
|
|
11
|
+
A conda package has been built for Linux. To use edrixs via Anaconda, you need first to install `Anaconda <https://www.anaconda.com/distribution/>`_ in your system.
|
|
12
|
+
We recommend installing edrixs into a separate environment, for example, called ``edrixs_env``, together with any other packages you might want to use like this::
|
|
13
|
+
|
|
14
|
+
conda create --name edrixs_env -c conda-forge python=3.13 edrixs matplotlib
|
|
15
|
+
|
|
16
|
+
We endeavor to keep the conda-forge release up to date, but note that these builds will usually not correspond to the latest version of edrixs, which is available in the `master branch of edrixs <https://github.com/NSLS-II/edrixs>`_.
|
|
17
|
+
|
|
18
|
+
edrixs will also run on `Google Colaboratory <https://research.google.com/colaboratory/>`_, but does not come installed as default. Installing it requires a you to install conda and then edrixs, which can be done by executing a cell::
|
|
19
|
+
|
|
20
|
+
!pip install -q condacolab
|
|
21
|
+
import condacolab
|
|
22
|
+
condacolab.install()
|
|
23
|
+
!conda install -c conda-forge edrixs
|
|
24
|
+
|
|
25
|
+
from within a notebook cell.
|
|
26
|
+
|
|
27
|
+
Requirements
|
|
28
|
+
============
|
|
29
|
+
Several tools and libraries are required to build and install edrixs,
|
|
30
|
+
|
|
31
|
+
* Fortran compiler: gfortran and ifort are supported
|
|
32
|
+
* MPI environment: openmpi and mpich are tested
|
|
33
|
+
* MPI Fortran and C compilers: mpif90, mpicc
|
|
34
|
+
* BLAS and LAPACK libraries: `OpenBLAS <https://github.com/xianyi/OpenBLAS/>`_ with gfortran and MKL with ifort
|
|
35
|
+
* ARPACK library: `arpack-ng <https://github.com/opencollab/arpack-ng/>`_ with mpi enabled
|
|
36
|
+
* Only Python3 is supported
|
|
37
|
+
* numpy, scipy, sympy, matplotlib, sphinx, numpydoc
|
|
38
|
+
* mpi4py with the same MPI implementation libraries (``openmpi`` or ``mpich``) as building edrixs
|
|
39
|
+
|
|
40
|
+
Build from source
|
|
41
|
+
=================
|
|
42
|
+
We will show how to build edrixs from source on Ubuntu Linux 20.04.
|
|
43
|
+
We will use gcc, gfortran, openmpi and OpenBLAS in these examples.
|
|
44
|
+
Building edrixs on other versions of Linux or with Intel's ifort+MKL will be similar.
|
|
45
|
+
|
|
46
|
+
Ubuntu Linux 20.04
|
|
47
|
+
------------------
|
|
48
|
+
Install compilers and tools::
|
|
49
|
+
|
|
50
|
+
sudo apt-get update
|
|
51
|
+
sudo apt-get install build-essential gfortran gcc
|
|
52
|
+
sudo apt-get install git wget
|
|
53
|
+
sudo apt-get install python3 libpython3-dev python3-pip python3-venv
|
|
54
|
+
|
|
55
|
+
Create and activate a python virtual environment for edrixs::
|
|
56
|
+
|
|
57
|
+
python3 -m venv VIRTUAL_ENV
|
|
58
|
+
source VIRTUAL_ENV/bin/activate
|
|
59
|
+
|
|
60
|
+
where ``VIRTUAL_ENV`` should be replaced by the directory where you wish to install edrixs.
|
|
61
|
+
|
|
62
|
+
Alternatively create and activate a conda environment for edrixs::
|
|
63
|
+
|
|
64
|
+
conda create --name edrixs_env python=3.8
|
|
65
|
+
conda activate edrixs_env
|
|
66
|
+
|
|
67
|
+
We will assume ``python`` and ``pip`` are pointing to the activated environment from now on.
|
|
68
|
+
Check we are using the expected python and pip::
|
|
69
|
+
|
|
70
|
+
which python
|
|
71
|
+
which pip
|
|
72
|
+
python --version
|
|
73
|
+
|
|
74
|
+
Fetch the latest version of ``pip``::
|
|
75
|
+
|
|
76
|
+
pip install --upgrade pip
|
|
77
|
+
|
|
78
|
+
openmpi, OpenBLAS, ARPACK can be installed by ``apt-get``, but their versions are old and may not work properly.
|
|
79
|
+
However, they can also be compiled from source easily. In the following, we will show both ways, but we always recommend to build newer ones from source.
|
|
80
|
+
|
|
81
|
+
openmpi can be installed by::
|
|
82
|
+
|
|
83
|
+
sudo apt-get install libopenmpi-dev
|
|
84
|
+
|
|
85
|
+
or from newer version of source, for example v3.1.4::
|
|
86
|
+
|
|
87
|
+
wget https://download.open-mpi.org/release/open-mpi/v3.1/openmpi-3.1.4.tar.bz2
|
|
88
|
+
tar -xjf openmpi-3.1.4.tar.bz2
|
|
89
|
+
cd openmpi-3.1.4
|
|
90
|
+
./configure CC=gcc CXX=g++ FC=gfortran
|
|
91
|
+
make
|
|
92
|
+
sudo make install
|
|
93
|
+
|
|
94
|
+
the compiling process will take a while.
|
|
95
|
+
|
|
96
|
+
OpenBLAS can be installed by::
|
|
97
|
+
|
|
98
|
+
sudo apt-get install libopenblas-dev
|
|
99
|
+
|
|
100
|
+
or from a newer version of source::
|
|
101
|
+
|
|
102
|
+
wget https://github.com/xianyi/OpenBLAS/archive/v0.3.6.tar.gz
|
|
103
|
+
tar -xzf v0.3.6.tar.gz
|
|
104
|
+
cd OpenBLAS-0.3.6
|
|
105
|
+
make CC=gcc FC=gfortran
|
|
106
|
+
sudo make PREFIX=/usr/local install
|
|
107
|
+
|
|
108
|
+
ARPACK can be installed by::
|
|
109
|
+
|
|
110
|
+
sudo apt-get install libarpack2-dev libparpack2-dev
|
|
111
|
+
|
|
112
|
+
or from a newer version of source::
|
|
113
|
+
|
|
114
|
+
wget https://github.com/opencollab/arpack-ng/archive/3.6.3.tar.gz
|
|
115
|
+
tar -xzf 3.6.3.tar.gz
|
|
116
|
+
cd arpack-ng-3.6.3
|
|
117
|
+
./bootstrap
|
|
118
|
+
./configure --enable-mpi --with-blas="-L/usr/local/lib/ -lopenblas" FC=gfortran F77=gfortran MPIFC=mpif90 MPIF77=mpif90
|
|
119
|
+
make
|
|
120
|
+
sudo make install
|
|
121
|
+
|
|
122
|
+
mpi4py can be installed by::
|
|
123
|
+
|
|
124
|
+
export MPICC=/usr/local/bin/mpicc
|
|
125
|
+
sudo pip install --no-cache-dir mpi4py
|
|
126
|
+
|
|
127
|
+
or from source::
|
|
128
|
+
|
|
129
|
+
wget https://github.com/mpi4py/mpi4py/archive/3.0.1.tar.gz
|
|
130
|
+
tar xzf 3.0.1.tar.gz
|
|
131
|
+
cd mpi4py-3.0.1
|
|
132
|
+
|
|
133
|
+
edit mpi.cfg to set MPI paths as following::
|
|
134
|
+
|
|
135
|
+
[mpi]
|
|
136
|
+
mpi_dir = /usr/local
|
|
137
|
+
mpicc = %(mpi_dir)s/bin/mpicc
|
|
138
|
+
mpicxx = %(mpi_dir)s/bin/mpicxx
|
|
139
|
+
include_dirs = %(mpi_dir)s/include
|
|
140
|
+
libraries = mpi
|
|
141
|
+
library_dirs = %(mpi_dir)s/lib
|
|
142
|
+
runtime_library_dirs = %(mpi_dir)s/lib
|
|
143
|
+
|
|
144
|
+
and comment all other contents. Then, build and install by::
|
|
145
|
+
|
|
146
|
+
python setup.py build
|
|
147
|
+
sudo pip install .
|
|
148
|
+
|
|
149
|
+
Check whether the MPI paths are correct by::
|
|
150
|
+
|
|
151
|
+
python
|
|
152
|
+
>>> import mpi4py
|
|
153
|
+
>>> mpi4py.get_config()
|
|
154
|
+
{'mpicc': '/usr/local/bin/mpicc',
|
|
155
|
+
'mpicxx': '/usr/local/bin/mpicxx',
|
|
156
|
+
'include_dirs': '/usr/local/include',
|
|
157
|
+
'libraries': 'mpi',
|
|
158
|
+
'library_dirs': '/usr/local/lib',
|
|
159
|
+
'runtime_library_dirs': '/usr/local/lib'}
|
|
160
|
+
|
|
161
|
+
Now, we are ready to build edrixs::
|
|
162
|
+
|
|
163
|
+
git clone https://github.com/NSLS-II/edrixs.git
|
|
164
|
+
cd edrixs
|
|
165
|
+
pip install -v .
|
|
166
|
+
|
|
167
|
+
Start to play with edrixs by::
|
|
168
|
+
|
|
169
|
+
python
|
|
170
|
+
>>> import edrixs
|
|
171
|
+
>>> edrixs.some_functions(...)
|
|
172
|
+
|
|
173
|
+
or go to ``examples`` directory to run some examples::
|
|
174
|
+
|
|
175
|
+
cd examples/more/ED/14orb
|
|
176
|
+
./get_inputs.py
|
|
177
|
+
mpirun -np 2 ed.x
|
|
178
|
+
mpirun -np 2 ./run_fedsolver.py
|
|
179
|
+
cd ../../RIXS/LaNiO3_thin
|
|
180
|
+
mpirun -np 2 ./run_rixs_fsolver.py
|
|
181
|
+
|
|
182
|
+
if no errors, the installation is successful.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
****************
|
|
2
|
+
EDRIXS papers
|
|
3
|
+
****************
|
|
4
|
+
|
|
5
|
+
How to cite
|
|
6
|
+
-----------
|
|
7
|
+
If you are using the EDRIXS code to do some studies and would like to publish your great works, it would be really appreciated if you can cite the following paper:
|
|
8
|
+
|
|
9
|
+
* EDRIXS: An open source toolkit for simulating spectra of resonant inelastic x-ray scattering, Y.L. Wang, G. Fabbris, M.P.M. Dean and G. Kotliar, `Computer Physics Communications,243, 151 (2019) <https://doi.org/10.1016/j.cpc.2019.04.018>`_
|
|
10
|
+
|
|
11
|
+
Papers using EDRIXS
|
|
12
|
+
-------------------
|
|
13
|
+
|
|
14
|
+
* Strong Orbital Polarization in a Cobaltate-Titanate Oxide Heterostructure, Sangjae Lee, Alex Taekyung Lee, Alexandru B. Georgescu, Gilberto Fabbris, Myung-Geun Han, Yimei Zhu, John W. Freeland, Ankit S. Disa, Yichen Jia, Mark P. M. Dean, Frederick J. Walker, Sohrab Ismail-Beigi, and Charles H. Ahn, `Phys. Rev. Lett. 123, 117201 (2019) <https://doi.org/10.1103/PhysRevLett.123.117201>`_
|
|
15
|
+
|
|
16
|
+
* Large Polarons as Key Quasiparticles in SrTiO\ :sub:`3` and SrTiO\ :sub:`3`\ -Based Heterostructures, Andrey Geondzhian, Alessia Sambri, Gabriella M. De Luca, Roberto Di Capua, Emiliano Di Gennaro, Davide Betto, Matteo Rossi, Ying Ying Peng, Roberto Fumagalli, Nicholas B. Brookes, Lucio Braicovich, Keith Gilmore, Giacomo Ghiringhelli, and Marco Salluzzo, `Phys. Rev. Lett. 125, 126401 (2020) <https://doi.org/10.1103/PhysRevLett.125.126401>`_
|
|
17
|
+
|
|
18
|
+
* Enhanced hybridization in the electronic ground state of the intercalated honeycomb iridate Ag\ :sub:`3`\ LiIr\ :sub:`2`\ O\ :sub:`6`\ , A. de la Torre, B. Zager, F. Bahrami, M. DiScala, J. R. Chamorro, M. H. Upton, G. Fabbris, D. Haskel, D. Casa, T. M. McQueen, F. Tafti, and K. W. Plumb, `Phys. Rev. B 104, L100416 (2021) <https://doi.org/10.1103/PhysRevB.104.L100416>`_
|
|
19
|
+
|
|
20
|
+
* Probing Physical Oxidation State by Resonant X-ray Emission Spectroscopy: Applications to Iron Model Complexes and Nitrogenase, Rebeca G. Castillo, Anselm W. Hahn, Benjamin E. Van Kuiken, Justin T. Henthorn, Jeremy McGale, and Serena DeBeer, `Angew. Chem. Int. Ed. 60, 10112–1012 (2021) <https://doi.org/10.1002/ange.202015669>`_
|
|
21
|
+
|
|
22
|
+
* Computing Local Multipoint Correlators Using the Numerical Renormalization Group, Seung-Sup B. Lee, Fabian B. Kugler, and Jan von Delft, `Phys. Rev. X 11, 041007 (2021) <https://doi.org/10.1103/PhysRevX.11.041007>`_
|
|
23
|
+
|
|
24
|
+
* Role of Oxygen States in the Low Valence Nickelate La\ :sub:`4`\ Ni\ :sub:`3`\ O\ :sub:`8`\ , Y. Shen, J. Sears, G. Fabbris, J. Li, J. Pelliciari, I. Jarrige, Xi He, I. Božović, M. Mitrano, Junjie Zhang, J. F. Mitchell, A. S. Botana, V. Bisogni, M. R. Norman, S. Johnston, and M. P. M. Dean, `Phys. Rev. X 12, 011055 (2022) <https://doi.org/10.1103/PhysRevX.12.011055>`_
|
|
25
|
+
|
|
26
|
+
* Role of disorder in electronic and magnetic properties of Ag\ :sub:`3`\ LiIr\ :sub:`2`\ O\ :sub:`6`\ , Ying Li and Roser Valentí, `Phys. Rev. B 105, 115123 (2022) <https://doi.org/10.1103/PhysRevB.105.115123>`_
|
|
27
|
+
|
|
28
|
+
* Excited-state exchange interaction in NiO determined by high-resolution resonant inelastic x-ray scattering at the Ni M\ :sub:`2,3`\ edges Chun-Yu Liu, Kari Ruotsalainen, Karl Bauer, Régis Decker, Annette Pietzsch, and Alexander Föhlisch, `Phys. Rev. B 106, 035104 (2022) <https://doi.org/10.1103/PhysRevB.106.035104>`_
|
|
29
|
+
|
|
30
|
+
* Electronic ground state of two nonmagnetic pentavalent honeycomb iridates, A. de la Torre, B. Zager, J. R. Chamorro, M. H. Upton, G. Fabbris, D. Haskel, D. Casa, T. M. McQueen, and K. W. Plumb, `Phys. Rev. Materials 6, 084406 (2022) <https://doi.org/10.1103/PhysRevMaterials.6.084406>`_
|
|
31
|
+
|
|
32
|
+
* Emergence of Spinons in Layered Trimer Iridate Ba\ :sub:`4`\ Ir\ :sub:`3`\ O\ :sub:`10` , Y. Shen, J. Sears, G. Fabbris, A. Weichselbaum, W. Yin, H. Zhao, D. G. Mazzone, H. Miao, M. H. Upton, D. Casa, R. Acevedo-Esteves, C. Nelson, A. M. Barbour, C. Mazzoli, G. Cao, and M. P. M. Dean, `Phys. Rev. Lett. 129, 207201 (2022) <https://doi.org/10.1103/PhysRevLett.129.207201>`_
|
|
33
|
+
|
|
34
|
+
* Site-specific electronic and magnetic excitations of the skyrmion material Cu\ :sub:`2`\ OSeO\ :sub:`3`\ , Yanhong Gu, Yilin Wang, Jiaqi Lin, Jonathan Pelliciari, Jiemin Li, Myung-Geun Han, Marcus Schmidt, Gabriel Kotliar, Claudio Mazzoli, Mark P. M. Dean, and Valentina Bisogni, `Communications Physics 5, 156 (2022) <https://doi.org/10.1038/s42005-022-00934-y>`_
|
|
35
|
+
|
|
36
|
+
* Electronic structure of the frustrated diamond lattice magnet NiRh\ :sub:`2`\ O\ :sub:`4`\ , B. Zager, J. R. Chamorro, L. Ge, F. Bahrami, V. Bisogni, J. Pelliciari, J. Li, G. Fabbris, T. M. McQueen, M. Mourigal, and K. W. Plumb, `Phys. Rev. B 106, 045134 (2022) <http://doi.org/10.1103/PhysRevB.106.045134>`_
|
|
37
|
+
|
|
38
|
+
* Electronic Character of Charge Order in Square-Planar Low-Valence Nickelates, Y. Shen, J. Sears, G. Fabbris, J. Li, J. Pelliciari, M. Mitrano, W. He, Junjie Zhang, J. F. Mitchell, V. Bisogni, M. R. Norman, S. Johnston, and M. P. M. Dean, `Phys. Rev. X 13, 011021 (2023) <https://www.doi.org/10.1103/PhysRevX.13.011021>`_
|
|
39
|
+
|
|
40
|
+
* Resonant inelastic X-ray scattering in topological semimetal FeSi, Yao Shen, Anirudh Chandrasekaran, Jennifer Sears, Tiantian Zhang, Xin Han, Youguo Shi, Jiemin Li, Jonathan Pelliciari, Valentina Bisogni, Mark P. M. Dean, Stefanos Kourtis, `arXiv:2301.02677 (2023) <https://arxiv.org/abs/2301.02677>`_
|
|
41
|
+
|
|
42
|
+
* Momentum-independent magnetic excitation continuum in the honeycomb iridate H\ :sub:`3`\ LiIr\ :sub:`2`\ O\ :sub:`6`\, A. de la Torre, B. Zager, F. Bahrami, M. H. Upton, J. Kim, G. Fabbris, G. -H. Lee, W. Yang, D. Haskel, F. Tafti, K. W. Plumb, `Nature Comm. 14, 5018 (2023) <https://www.nature.com/articles/s41467-023-40769-x>`_
|
|
43
|
+
|
|
44
|
+
* Low-energy electronic interactions in ferrimagnetic Sr\ :sub:`2`\ CrReO\ :sub:`6`\ thin films, Guillaume Marcaud, Alex Taekyung Lee, Adam J. Hauser, F. Y. Yang, Sangjae Lee, Diego Casa, Mary Upton, Thomas Gog, Kayahan Saritas, Yilin Wang, Mark P. M. Dean, Hua Zhou, Zhan Zhang, F. J. Walker, Ignace Jarrige, Sohrab Ismail-Beigi, and Charles Ahn, `Phys. Rev. B 108, 075132 (2023) <https://doi.org/10.1103/PhysRevB.108.075132>`_
|
|
45
|
+
|
|
46
|
+
* Softening of dd-excitation in the resonant inelastic x-ray scattering spectra as a signature of Hund's coupling in nickelates, U Kumar, C Melnick, G Kotliar, `arXiv:2310.00983 (2023) <https://arxiv.org/abs/2310.00983>`_
|
|
47
|
+
|
|
48
|
+
* Interplay of broken symmetry and delocalized excitations in the insulating state of 1T-TaS\ :sub:`2`\, Xun Jia, Anubhab Haldar, Jungho Kim, Yilin Wang, Gilberto Fabbris, Karl Ludwig, Stefanos Kourtis, Mary Upton, Yu Liu, Wenjian Lu, Xuan Luo, Yu-Ping Sun, Diego Casa, Sahar Sharifzadeh, Pierre T. Darancet, Yue Cao, `Phys. Rev. B 108, 205105 (2023) <https://doi.org/10.1103/PhysRevB.108.205105>`_
|
|
49
|
+
|
|
50
|
+
* Local site behavior of the 5d and 4f ions in the frustrated pyrochlore Ho\ :sub:`2`\Os\ :sub:`2`\O\ :sub:`7`\, S. Calder, Z. Y. Zhao, M. H. Upton, and J.-Q. Yan, `Phys. Rev. B 109, 054408 (2024) <https://doi.org/10.1103/PhysRevB.109.054408>`_
|
|
51
|
+
|
|
52
|
+
* Elucidating the Role of Dimensionality on the Electronic Structure of the Van der Waals Antiferromagnet NiPS\ :sub:`3`\ , M. F. DiScala, D. Staros, A. de la Torre, A. Lopez, D. Wong, C. Schulz, M. Bartkowiak, B. Rubenstein, K. W. Plumb, `Advanced Physics Research 3, 2300096 (2024) <https://doi.org/10.1002/apxr.202300096>`_
|
|
53
|
+
|
|
54
|
+
* Experimentally Assessing the Electronic Structure and Spin-State Energetics in MnFe Dimers Using 1s3p Resonant Inelastic X-ray Scattering, Rebeca G. Castillo, Benjamin E. Van Kuiken, Thomas Weyhermüller, and Serena DeBeer, `Inorganic Chemistry (2024) <https://doi.org/10.1021/acs.inorgchem.4c01538>`_
|
|
@@ -4,8 +4,9 @@ Quickstart tutorial
|
|
|
4
4
|
|
|
5
5
|
If you are already familiar with multiplet calculations this page and our
|
|
6
6
|
:ref:`examples page <examples>` are a good part to start. Otherwise, checkout
|
|
7
|
-
our
|
|
8
|
-
behind how edrixs works.
|
|
7
|
+
our Pedagogical examples to learn the concepts
|
|
8
|
+
behind how edrixs works. The first example explains :ref:`Exact diagonalization
|
|
9
|
+
<sphx_glr_auto_examples_example_00_ed_calculator.py>`.
|
|
9
10
|
|
|
10
11
|
Use edrixs as an ED calculator
|
|
11
12
|
------------------------------
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.. _edrixsanddocker:
|
|
2
|
+
|
|
3
|
+
*********************
|
|
4
|
+
edrixs and docker
|
|
5
|
+
*********************
|
|
6
|
+
|
|
7
|
+
Run edrixs in a docker container
|
|
8
|
+
--------------------------------
|
|
9
|
+
|
|
10
|
+
To make life easier, we have built a docker image based on Ubuntu Linux (22.04) for edrixs, so you don't need to struggle with the installation anymore.
|
|
11
|
+
The docker image can be used on any OS as long as the `docker <https://www.docker.com/>`_ application is available.
|
|
12
|
+
Follow these steps to use the docker image:
|
|
13
|
+
|
|
14
|
+
* Install the `docker <https://www.docker.com/>`_ application on your system.
|
|
15
|
+
|
|
16
|
+
* Once Docker is running, create a directory to store data and create a file called ``docker-compose.yml`` with contents ::
|
|
17
|
+
|
|
18
|
+
services:
|
|
19
|
+
edrixs-jupyter:
|
|
20
|
+
image: edrixs/edrixs
|
|
21
|
+
volumes:
|
|
22
|
+
- ./:/home/rixs
|
|
23
|
+
working_dir: /home/rixs
|
|
24
|
+
ports:
|
|
25
|
+
- 8888:8888
|
|
26
|
+
command: "jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root"
|
|
27
|
+
edrixs-ipython:
|
|
28
|
+
image: edrixs/edrixs
|
|
29
|
+
volumes:
|
|
30
|
+
- ./:/home/rixs
|
|
31
|
+
working_dir: /home/rixs
|
|
32
|
+
|
|
33
|
+
and execute ::
|
|
34
|
+
|
|
35
|
+
docker compose up
|
|
36
|
+
|
|
37
|
+
This will return a url, which you can open to connect to the jupyter session.
|
|
38
|
+
|
|
39
|
+
* If you would like to access a terminal rather than jupyter run ::
|
|
40
|
+
|
|
41
|
+
docker compose run --rm edrixs-ipython
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Use the docker image as a Dev Container
|
|
45
|
+
----------------------------------------
|
|
46
|
+
|
|
47
|
+
You can use the edrixs docker image as a `Dev Container
|
|
48
|
+
<https://containers.readthedocs.io/>`_ in VS Code or GitHub Codespaces without
|
|
49
|
+
cloning the full repository. Create a file ``.devcontainer/devcontainer.json``
|
|
50
|
+
in your project with the following contents ::
|
|
51
|
+
|
|
52
|
+
{
|
|
53
|
+
"name": "edrixs",
|
|
54
|
+
"image": "edrixs/edrixs"
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
Open the project in VS Code with the `Dev Containers
|
|
58
|
+
<https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers>`_
|
|
59
|
+
extension installed and choose **Reopen in Container** when prompted.
|
|
60
|
+
|
|
61
|
+
See :ref:`devcontainer` for more details on using Dev Containers with edrixs.
|
|
62
|
+
|
|
63
|
+
Sharing your code
|
|
64
|
+
-----------------
|
|
65
|
+
|
|
66
|
+
Using Docker is a nice way to straightforwardly share your code with others. The standard way to specify which docker image is needed to run your code is to include a file named ``Dockerfile`` with the following contents ::
|
|
67
|
+
|
|
68
|
+
FROM edrixs/edrixs
|
|
69
|
+
|
|
70
|
+
You might like to checkout the `jupyter-repo2docker
|
|
71
|
+
<https://repo2docker.readthedocs.io/en/latest/>`_ project, which helps automate the process of building and connecting to docker images. The `mybinder <https://mybinder.org/>`_ project might also be helpful as this will open a github respository of notebooks in an executable environment, making your code immediately reproducible by anyone, anywhere.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
****************
|
|
2
|
+
What is edrixs?
|
|
3
|
+
****************
|
|
4
|
+
|
|
5
|
+
EDRIXS is an open source toolkit for simulating XAS and RIXS spectra based on exact diagonalization of model Hamiltonians.
|
|
6
|
+
It was started as part of `COMSCOPE project <https://www.bnl.gov/comscope/software/comsuite.php/>`_ in the
|
|
7
|
+
Center for Computational Material Spectroscopy and Design, Brookhaven National Laboratory and is now maintained and
|
|
8
|
+
developed in collaboration between the `Condensed Matter Physics and Materials Science Division <https://www.bnl.gov/cmpmsd/>`_
|
|
9
|
+
and the `National Syncrotron Light Source II <https://www.bnl.gov/nsls2/>`_.
|