added upload and better gradient view

This commit is contained in:
2025-04-04 15:50:52 +02:00
parent 11729f67e5
commit d48e0e07df
5 changed files with 40 additions and 11 deletions

View File

@ -11,3 +11,7 @@ class Isotope(models.Model):
gamma = models.FloatField(help_text="Gyromagnetic ratio in MHz/T") # MHz/T
natural_abundance = models.FloatField(help_text="Natural abundance")
quadrupole_moment = models.FloatField(null=True, help_text="Quadrupole moment")
class FieldProfile(models.Model):
field_profile = models.FileField(upload_to='field_profile')