{% extends "base.html" %} {% block content %}

Central frequency

Adjust the central frequency to match the magnet's.

Debug message may be printed here

{{template_calibration_form.hidden_tag()}}
{{template_calibration_form.f0_field.label}} {{template_calibration_form.f0_field(id="f0",class_="form-control", value=session['calibration']['f0']/1e6)}}

Shimming

Adjust shim currents to make B0 uniform

{{ template_calibration_form.shimx_field.label }} = {{ session['calibration']['shimx'] }} {{ template_calibration_form.shimx_field(class_="form-range",id='shimx',step=0.01,value=session['calibration']['shimx'],onchange="shimx_val.value=this.value") }}
{{ template_calibration_form.shimy_field.label }} = {{ session['calibration']['shimy'] }} {{ template_calibration_form.shimy_field(class_="form-range",id='shimy',step=0.01, value=session['calibration']['shimy'],onchange="shimy_val.value=this.value") }}
{{ template_calibration_form.shimz_field.label }} = {{ session['calibration']['shimz'] }} {{ template_calibration_form.shimz_field(class_="form-range",id='shimz',step=0.01, value=session['calibration']['shimz'],onchange="shimz_val.value=this.value") }}
Zero shims
Autoshim

RF power

Find the RF power output needed for a 90-degree flip angle.

{{ template_calibration_form.tx_amp_field.label }} {{ template_calibration_form.tx_amp_field(id='tx_amp',class_="form-control") }}
{{ template_calibration_form.rx_gain_field.label }} {{ template_calibration_form.rx_gain_field(id='rx_gain',class_="form-control") }}
Run FA Calibration
{{ template_calibration_form.tr_field.label }} {{ template_calibration_form.tr_field(class_="form-control") }}
{{ template_calibration_form.readout_time_field.label }} {{ template_calibration_form.readout_time_field(class_="form-control") }}
{{ template_calibration_form.num_avg_field.label }} {{ template_calibration_form.num_avg_field(class_="form-control") }}
{{ template_calibration_form.num_rep_field.label }} {{ template_calibration_form.num_rep_field(class_="form-control") }}
START
STOP
{{template_calibration_form.submit_field(class_="btn btn-info btn-lg col",form="calibration_form")}}
LOAD
{{ template_disp_form.autoscale_field(class_="form-check-input",disabled=True) }} {{ template_disp_form.autoscale_field.label(class_="form-check-label") }}
{{ template_disp_form.show_prev_field(class_="form-check-input",disabled=True) }} {{ template_disp_form.show_prev_field.label(class_="form-check-label text-left") }}
{% endblock %} {% block additional_imports %} {% endblock %}