added column width rad/T

This commit is contained in:
2025-04-23 21:48:25 +02:00
parent 5a4bcf070a
commit cecdd5f7ef
3 changed files with 26 additions and 24 deletions

View File

@ -41,13 +41,13 @@
{{ div_table | safe }}
</div>
</div>
<div>
<div>
{{ script_plot| safe }}
{{ script_table| safe }}
</div>
</div>
<a href="{% url 'home' %}">Go Home</a>
<a href="{% url 'home' %}">Go Home</a>
</div>
{% endblock %}
{% endblock %}

View File

@ -18,6 +18,7 @@
<th scope="col">Spin</th>
<th scope="col">Nat. ab. in %</th>
<th scope="col">&gamma; in MHz/T</th>
<th scope="col">&gamma; in rad/T</th>
<th scope="col">Sens. in %(<sup>1</sup>H)</th>
</tr>
</thead>
@ -36,12 +37,12 @@
{{ div| safe }}
<div>
<div>
{{ script| safe }}
</div>
</div>
<a href="{% url 'home' %}">Go Back</a>
<a href="{% url 'home' %}">Go Back</a>
</div>
{% endblock %}

View File

@ -46,6 +46,7 @@ def isotope_info(isotope, field):
spin,
f"{isotope.natural_abundance:.3f}",
f"{isotope.gamma:.5f}",
f"{2*pi*isotope.gamma*1e6:.5e}",
f"{relative_sensitivity(isotope):.4f}"]
def relative_sensitivity(iso):