added more diffusion constants

This commit is contained in:
2025-05-07 21:41:28 +02:00
parent adcf5633e9
commit 7de51a67ae
5 changed files with 51 additions and 30 deletions

View File

@ -25,6 +25,10 @@ def sfg(request):
isotopes = [i for i in Isotope.objects.all() if (i.gamma != 0 or i.stable)]
return render(request, 'sfg.html', {'isotopes': [[f"{i.n_nucleons}{i.symbol}", mark_safe(f"<sup>{i.n_nucleons}</sup>{i.symbol}")] for i in isotopes],})
def diffusion_form(request):
return render(request, 'diffusion_form.html', {})
def extract_isotope_parts(isotope_str):
"""Extracts the number and element from an isotope string (e.g., '23Na')."""
print(isotope_str)