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

Store spin_multiplicity instead of spin for all Isotopes #252

Merged
merged 1 commit into from
May 16, 2023

Conversation

mgiammar
Copy link
Collaborator

Previously integer values of 2*I, where I is the spin of the nucleus, were stored under the keyword "spin". This was slightly ambiguous, so the stored isotope data has been updated to spin_multiplicity, 2*I + 1, which are all integer values and unambiguous.

@mgiammar mgiammar self-assigned this May 16, 2023
@mgiammar mgiammar requested a review from deepanshs May 16, 2023 18:33
@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Merging #252 (5ad65ae) into master (2c781c2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #252   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          111       111           
  Lines         7173      7173           
=========================================
  Hits          7173      7173           
Impacted Files Coverage Δ
src/mrsimulator/spin_system/__init__.py 100.00% <ø> (ø)
src/mrsimulator/spin_system/isotope.py 100.00% <100.00%> (ø)

@mgiammar mgiammar merged commit f422291 into deepanshs:master May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants