Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand and tidy up test coverage #81

Merged
merged 62 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
3128b2c
tidy up magnetic dipole and expansion coefficients tests
hartytp Jan 1, 2025
37cdfeb
ac_zeeman_shift_for_transition: remove unused parameter
hartytp Jan 1, 2025
9dff4f9
ac_zeeman_shift_for_state: calculate differential ac zeeman shift not…
hartytp Jan 1, 2025
2ccd558
TestUtils -> TestACZeeman
hartytp Jan 2, 2025
cf0dbd9
tests.test_atom: restructure and clean up tests for Atom
hartytp Jan 2, 2025
24ba326
ions: always give values for Ahfs/Bhfs rather than using None when we…
hartytp Jan 2, 2025
648eda7
atoms: always give values for Ahfs/Bhfs rather than using None when w…
hartytp Jan 2, 2025
fd01708
ions: always give values for Ahfs/Bhfs rather than using None when we…
hartytp Jan 3, 2025
f670434
ions: fix a few typos
hartytp Jan 3, 2025
94779fa
Fix F, M_F sorting algorithm
hartytp Jan 3, 2025
d40ff05
ions: fix more typos
hartytp Jan 3, 2025
1d4fb5b
WIP MI MI sorting algorithm
hartytp Jan 3, 2025
fa286e3
Atom: fix get_state_for_xxx functions
hartytp Jan 3, 2025
df1cb2b
add test for M_I_MJ sorting
hartytp Jan 3, 2025
3da672c
Fix AC Zeeman shift calculation
hartytp Jan 3, 2025
fb7f424
tests/test_atom: ba133 typo
a-sotirova Jan 3, 2025
1c55da3
tests/test_utils: updated acz tests for ca40 and ca43
a-sotirova Jan 3, 2025
d24911f
formatting
a-sotirova Jan 3, 2025
d95aa71
tests/test_utils: light formatting
a-sotirova Jan 3, 2025
bfa8ca7
ions\ca3: add missing Bhfs
hartytp Jan 4, 2025
f81d4e6
add operators.expectation_value
hartytp Jan 4, 2025
a1093b3
tests: expand test_atom
hartytp Jan 4, 2025
3164dfe
formatting
hartytp Jan 4, 2025
d584c75
Atom: small bits of refactoring, remove get_populations method which …
hartytp Jan 4, 2025
cf31d5f
update changes
hartytp Jan 4, 2025
8f9595e
fix types
hartytp Jan 5, 2025
f20e982
test_atom: fix tests
hartytp Jan 5, 2025
a36418e
Atom: add levels field
hartytp Jan 5, 2025
472cb22
update change log
hartytp Jan 5, 2025
303e77e
test_atom: check that the level data stores the right level
hartytp Jan 5, 2025
9eed015
Ca43: fix transition frequencies
hartytp Jan 5, 2025
5b68245
test_atom: add check for 729 saturation intensity back int
hartytp Jan 5, 2025
8b62c4d
test_atom_factory: add test on level sorting
hartytp Jan 5, 2025
7996ecf
update changes
hartytp Jan 5, 2025
b082ff4
update poetry
hartytp Jan 5, 2025
66e4e8c
add test for atom_factory level filtering
hartytp Jan 5, 2025
a32cc5a
add test for level_data
hartytp Jan 5, 2025
cf5f532
add basic sanity checks on all pre-defined atoms
hartytp Jan 5, 2025
7ccbd82
utils: fix Rayleight range calculation
hartytp Jan 5, 2025
e39b0c4
test_utils: expand testing
hartytp Jan 5, 2025
5f8e001
tidy up tests
hartytp Jan 5, 2025
88c93af
tidy up tests
hartytp Jan 5, 2025
333e9a3
tidy up AC Zeeman shift tests
hartytp Jan 5, 2025
0eb0ca5
Tidy up tests for 43Ca+.
hartytp Jan 5, 2025
996ae3d
ca43: add measured gJ for the D5/2 level
hartytp Jan 5, 2025
8ca2315
fmt
hartytp Jan 5, 2025
ed0ca41
add a more complex test of the ac zeeman shift
hartytp Jan 5, 2025
fc1b13a
tidy up mg25 tests
hartytp Jan 5, 2025
bbd51cd
test mg25: slacken tolerance until we figure out why the numbers don'…
hartytp Jan 5, 2025
110fc59
remove incorrect docstring
hartytp Jan 5, 2025
0d1576d
utils: field_insensitive_point - do not use negative magnetic fields
hartytp Jan 6, 2025
594d178
rename Jp -> AngularMomentumRaisingOp etc for clarity
hartytp Jan 6, 2025
3850799
examples: fix typo
hartytp Jan 6, 2025
0e12794
slightly tidy up maths in Atom
hartytp Jan 6, 2025
338f13a
Atom: use operators.expectation_value
hartytp Jan 6, 2025
14dc8b5
add tests for operators
hartytp Jan 6, 2025
ac2ca30
polarization: make Jones matrices 3D
hartytp Jan 7, 2025
29e6190
finish tests for polarization
hartytp Jan 7, 2025
a687e44
remove unused test for bloch equations (should not have been committed)
hartytp Jan 7, 2025
235792e
rename get_rabi_m1 to get_rabi_rf
hartytp Jan 7, 2025
ee6e0e6
add new Atom.get_states_for_level method
hartytp Jan 7, 2025
44ee5a4
contributing: add a note about tests and documentation
hartytp Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading