Skip to content

Commit

Permalink
Cleanup notebooks and docs
Browse files Browse the repository at this point in the history
Add .readthedocs.yaml
  • Loading branch information
carmelom committed Nov 7, 2024
1 parent ecb852d commit 787fd3e
Show file tree
Hide file tree
Showing 36 changed files with 1,088 additions and 489 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.cache
notebooks/_ignored/
.vscode
.python-version

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
28 changes: 0 additions & 28 deletions .gitlab-ci.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
# Poetry setup: https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1992286540
build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
post_create_environment:
- python -m pip install poetry
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

mkdocs:
configuration: mkdocs.yaml
20 changes: 0 additions & 20 deletions .vscode/settings.json

This file was deleted.

11 changes: 0 additions & 11 deletions AUTHORS

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGES → CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
- Fix bug in wigner_6j cache

0.0.2 (2021-10-13)
------------------
------------------
415 changes: 44 additions & 371 deletions README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
392 changes: 392 additions & 0 deletions _trash/_old_README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

File renamed without changes.
14 changes: 0 additions & 14 deletions docs/developers.md

This file was deleted.

14 changes: 1 addition & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
This document provides a guide to the Python module designed for atomic physics calculations. The idea behind this module is to explore atomic physics, properties of atoms, and understand their electron dynamics in light fields.

The package should be primarily used for bosonic isotopes, where the hyperfine structure is not present. We decided to initially release the package with simplified structure such that to get a feeling for the usefullness of the tool to the community. In case of interest, we can extend this package to include calculations for the fermionic isotopes.

I hope this will be helpfull for many.

The documentation is divided into three subsections, which each discuss different potential use-cases of atomphys:

1. **Core** - Here we discuss how atomphys can be used as python API for NIST database and other databases
2. **Calculations** - Here we discuss the theory behind the calculations with which atomphys can help
3. **Helper functions for qutip** - Here we discuss how atomphys can be usef to build light-atom hamiltonians that can be directly parsed to qutip and can be solved


{% include-markdown "../README.md" %}
18 changes: 10 additions & 8 deletions mkdocs.yml → mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
site_name: atomphys
site_url: https://mgrau.github.io/atomphys
repo_url: https://github.com/mgrau/atomphys
edit_uri: edit/main/docs/
site_url: https://atomphys.readthedocs.io
repo_url: https://github.com/tiqi-group/atomphys
edit_uri: blob/docs/docs/
repo_name: atomphys
use_directory_urls: false

Expand All @@ -16,12 +16,12 @@ nav:
- Matrix Elements: user_guide/calculations/matrix_elements.md
- Rabi Frequencies: user_guide/calculations/rabi_frequencies.md
- AC Stark Shifts: user_guide/calculations/ac_stark_shifts.md
- Linewidhts: user_guide/calculations/linewidths.md
- Linewidths: user_guide/calculations/linewidths.md
- Qutip Helpers:
- Master Equation: user_guide/qutip_helpers/master_equation.md
- Hamiltonians: user_guide/qutip_helpers/hamiltonians.md
- Collapse Operators: user_guide/qutip_helpers/collapse_operators.md
- Developers: developers.md
- Data References: data.md

theme:
logo: img/atom.svg
Expand Down Expand Up @@ -69,12 +69,14 @@ extra_css:
plugins:
- search
- include-markdown
- mkdocstrings:
default_handler: python
handlers:
python:
paths: [atomphys] # search packages in the src folder
# - mknotebooks:
# execute: true
# enable_default_jupyter_cell_styling: false
# binder: true
# binder_service_name: "gh/mgrau"
# binder_branch: "main"
# - mkdocstrings:
# watch:
# - atomphys
Loading

0 comments on commit 787fd3e

Please sign in to comment.