added more diffusion constants
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user