Testing for grogu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniel Pozsar 49d2be4982
restructuring code
2 months ago
data/lat3_791 adding data 3 months ago
docs a bunch of things and proper documentation and build 3 months ago
src/grogu_magn restructuring code 2 months ago
tests commented testing from pre-commit 3 months ago
.coverage copy pasted grogu 3 months ago
.gitignore added vscode workspace 3 months ago
.pre-commit-config.yaml updated pre commit 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset.log running tests 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset.pickle running tests 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test.log test outputs 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test.pickle test outputs 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test2.log test outputs 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test2.pickle test outputs 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test3.log test outputs 2 months ago
Fe3GeTe2_benchmark_on_15k_300eset_orb_test3.pickle test outputs 2 months ago
Fe3GeTe2_notebook.pickle ran test with anisotropy, consistency looks good, but there is no grogu data to compare with 2 months ago
L-HEADER copy pasted grogu 3 months ago
LATEST_RUN_ON_KOMONDOR_AND_GROGU_MATLAB small difference in isotropic, could be a convergence thing, but otherwise it speaks for itself :) 2 months ago
LICENSE copy pasted grogu 3 months ago
README.md updated results and added charge conservation task 2 months ago
Relativistic magnetic interactions from non-orthogonal basis sets.pdf added article 2 months ago
all_atoms.txt changed pre-commit 3 months ago
documentation.md this was auto generated by claude.ai as a presentation 2 months ago
local_operator.ipynb added black:jupyter to pre-commit, made the output nicer so it is easier to debug code, experimented with no results... :'( 3 months ago
out with HK = HK + Ef * SK.txt added test run for Fermi energy shift 2 months ago
pyproject.toml it is needed to use python 3.9.6, removed a bunch of formatting from pre-commit 3 months ago
requirements-dev.txt added black[jupyter] 3 months ago
requirements.txt enforced netcdf version to load older hsx format and numpy 1 for sisl compatibility 3 months ago
test.ipynb ran test with anisotropy, consistency looks good, but there is no grogu data to compare with 2 months ago
test.py corrected path to utils, added anisotropy and corrected exchange field calculation 2 months ago

README.md

Relativistic magnetic interactions from non-orthogonal basis sets

More on the theoretical background can be seen on arXiv.

TODO

Testing

  • Calculate total charge for all Green's function -->
  • Run tests on different magnetic materials and compare it to Grogu Matlab --> ran on Jij_for_Marci_6p45ang, but I could not compare data
  • Change order in:
    • magnetic entities -->
    • pairs -->
  • Compair single pair run to multiple pair run --> it is the same
  • Check behavior by distance to test symmetry and Green function phase --> it is symmetric and decays by distance in an AFM way
  • Check behavior by orbital indexing --> there is no unwanted mixing and otherwise consistent with symmetry and distance

Developing

  • Add documentation to useful functions
  • Check the symmetrization of the Hamiltonian and overlap matrix to make them hermitian
  • Check if exchange field has scalar part
  • Output dictionary and rewrite output printing with the information
  • Add more tests!!

Building wheel

See detailed documentation on PYPI.

  • First you need some API Tokens for Test PYPI ,to be able to upload. You can read about it here. I own the current project, so you have to contact me.

Use the following commands for a quick setup:

  • Build wheel
python -m build
  • Push to PYPI test repository
python -m twine upload --repository testpypi dist/*

Usage

For end users

Download and install from PYPI test repository. Be aware that this is not up to date yet!!!

python3 -m pip install --index-url https://test.pypi.org/simple/ grogu_magn

For developers

  • Clone repository from Gitea
git clone https://gitea.vo.elte.hu/et209d/grogu.git
  • Create a virtual environment (.venv) (for example with VsCode)

    • Use python 3.9.6
    • install dependencies from:
      • requirements.txt
      • requirements-dev.txt
      • /docs/requirements.txt
  • Install and run pre-commit

pre-commit install
pre-commit run --all-files

To build the documentation navigate to the docs/source folder and run make clean and make html. After this the html page can be found in docs/source/_build/html.

cd docs/source
make clean
make html