db.sqlite3 filled with isotopes

This commit is contained in:
2025-03-20 22:05:44 +01:00
parent b849274618
commit 0d55853f03
24 changed files with 381 additions and 0 deletions

View File

@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
class Isotope(models.Model):
n_protons = models.IntegerField()
n_nucleons = models.IntegerField()
stable = models.BooleanField()
symbol = models.CharField(max_length=2)
name = models.CharField(max_length=255)
spin_quantum_number = models.FloatField()
gamma = models.FloatField() # MHz/T
natural_abundance = models.FloatField()
quadrupole_moment = models.FloatField(null=True)