added column width rad/T
This commit is contained in:
parent
5a4bcf070a
commit
cecdd5f7ef
@ -24,30 +24,30 @@
|
||||
<tbody>
|
||||
|
||||
{% for attr in ans %}
|
||||
<tr>
|
||||
{% for i in attr %}
|
||||
<td>{{ i }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr>
|
||||
{% for i in attr %}
|
||||
<td>{{ i }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="row justify-content-left">
|
||||
<div class="col">
|
||||
{{ div_plot | safe }}
|
||||
{{ div_plot | safe }}
|
||||
</div>
|
||||
<div class="col">
|
||||
{{ div_table | safe }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
{{ div_table | safe }}
|
||||
<div>
|
||||
{{ script_plot| safe }}
|
||||
{{ script_table| safe }}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
{{ script_plot| safe }}
|
||||
{{ script_table| safe }}
|
||||
</div>
|
||||
|
||||
<a href="{% url 'home' %}">Go Home</a>
|
||||
<a href="{% url 'home' %}">Go Home</a>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
@ -18,17 +18,18 @@
|
||||
<th scope="col">Spin</th>
|
||||
<th scope="col">Nat. ab. in %</th>
|
||||
<th scope="col">γ in MHz/T</th>
|
||||
<th scope="col">γ in rad/T</th>
|
||||
<th scope="col">Sens. in %(<sup>1</sup>H)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{% for attr in ans %}
|
||||
<tr>
|
||||
{% for i in attr %}
|
||||
<td>{{ i }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr>
|
||||
{% for i in attr %}
|
||||
<td>{{ i }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</tbody>
|
||||
@ -36,12 +37,12 @@
|
||||
{{ div| safe }}
|
||||
|
||||
|
||||
<div>
|
||||
{{ script| safe }}
|
||||
</div>
|
||||
<div>
|
||||
{{ script| safe }}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="{% url 'home' %}">Go Back</a>
|
||||
<a href="{% url 'home' %}">Go Back</a>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user