{% extends "base.html" %} {% block content %}
Original space
Frequency space
Image/signal presets
{{ template_game_form.signal_name_field.label(class="form-label") }}
{{ template_game_form.signal_name_field(class="form-control preset-input") }}
{{ template_game_form.signal_scale_field.label(class="form-label") }}
{{ template_game_form.signal_scale_field(class="form-range preset-input",id='signal_scale') }}
{% for scale in [-10,-8,-6,-4,-2,0,2,4,6,8,10] %} {{ scale }} {% endfor %}
{{ template_game_form.signal_stretch_field.label(class="form-label") }}
{{ template_game_form.signal_stretch_field(class="form-range preset-input",id="signal_stretch") }}
{% for stretch in [0,1,2,3,4,5,6,7,8,9,10] %} {{ stretch }} {% endfor %}
{{ template_game_form.signal_shift_field.label(class="form-label") }}
{{ template_game_form.signal_shift_field(class="form-range preset-input",id='signal_shift') }}
{% for shift in [0,20,40,60,80,100] %} {{ shift }} {% endfor %}
{{ template_game_form.signal_phase_mod_field.label(class="form-label") }}
{{ template_game_form.signal_phase_mod_field(class="form-range preset-input",id='signal_phase_mod') }}
{% for phase in [0,45,90,135,180,225,270,315,360] %} {{ phase }} {% endfor %}
{{ template_game_form.image_name_field.label(class="form-label") }}
{{ template_game_form.image_name_field(class="form-control preset-input") }}
{{ template_game_form.image_rotation_field.label(class="form-label") }}
{{ template_game_form.image_rotation_field(class="form-range preset-input",id='image_angle') }}
{% for angle in [0,45,90,135,180,225,270,315,360] %} {{ angle }} {% endfor %}
{{ template_game_form.image_wavelength_field.label(class="form-label") }}
{{ template_game_form.image_wavelength_field(class="form-range preset-input",id='image_wavelength') }}
{% for w in [0.05,1.025, 2] %} {{ w }} {% endfor %}
{{ template_game_form.image_phase_field.label(class="form-label") }}
{{ template_game_form.image_phase_field(class="form-range preset-input",id='image_wave_phase') }}
{% for angle in [0,45,90,135,180,225,270,315,360] %} {{ angle }} {% endfor %}
1
0
50
k-space restriction

Undersampling factors
{{ template_game_form.undersample_x_field.label(class='form-label') }}
{{ template_game_form.undersample_x_field(class='form-control') }}
{{ template_game_form.undersample_y_field.label(class='form-label') }}
{{ template_game_form.undersample_y_field(class='form-control') }}
Upload
Recover
K-space/spectrum presets
{{ template_game_form.spectrum_name_field.label(class="form-label") }}
{{ template_game_form.spectrum_name_field(class="form-control preset-input") }}
{{ template_game_form.spectrum_scale_field.label(class="form-label") }}
{{ template_game_form.spectrum_scale_field(class="form-range preset-input",id='spectrum_scale') }}
{% for scale in [-10,-8,-6,-4,-2,0,2,4,6,8,10] %} {{ scale }} {% endfor %}
{{ template_game_form.spectrum_stretch_field.label(class="form-label") }}
{{ template_game_form.spectrum_stretch_field(class="form-range preset-input",id="spectrum_stretch") }}
{% for stretch in [0,1,2,3,4,5,6,7,8,9,10] %} {{ stretch }} {% endfor %}
{{ template_game_form.spectrum_shift_field.label(class="form-label") }}
{{ template_game_form.spectrum_shift_field(class="form-range preset-input",id='spectrum_shift') }}
{% for shift in [0,20,40,60,80,100] %} {{ shift }} {% endfor %}
{{ template_game_form.spectrum_phase_mod_field.label(class="form-label") }}
{{ template_game_form.spectrum_phase_mod_field(class="form-range preset-input",id='spectrum_phase_mod') }}
{% for phase in [0,45,90,135,180,225,270,315,360] %} {{ phase }} {% endfor %}
{{ template_game_form.kspace_name_field.label(class="form-label") }}
{{ template_game_form.kspace_name_field(class="form-control preset-input") }}
{{ template_game_form.kspace_rotation_field.label(class="form-label") }}
{{ template_game_form.kspace_rotation_field(class="form-range preset-input",id='kspace_angle') }}
{% for angle in [0,45,90,135,180,225,270,315,360] %} {{ angle }} {% endfor %}
{{ template_game_form.kspace_ds_separation_field.label(class="form-label")}}
{{ template_game_form.kspace_ds_separation_field(class="form-range preset-input",id='kspace_ds_separation') }}
{% for sep in [0,0.25,0.5,0.75,1] %} {{ sep }} {% endfor %}
{% endblock %} {% block questions %} {% endblock %} {% block tasks %}
{% for task, task_details in instructions['tasks'].items() %} {% if loop.index == ([session['game2']['task_completed'] + 1, 4] | min) %} {% set show_text = 'show' %} {% set active_text = 'active' %} {% else %} {% set show_text = '' %} {% set active_text = '' %} {% endif %}
{{ instructions['titles'][loop.index0] }}
    {% set task_index = loop.index %} {% for step, details in instructions['explorations'][loop.index0].items() %}
  • {{ details }}
  • {% endfor %}
  • {{ task_details }}
Next

Complete and check all steps to move on.

{% set dnone = '' if session['game2']['task_completed'] >= task_index else 'd-none' %} {% set success_message = 'This step has been completed' if task_index < 4 else 'All steps complete. Congratulations! To earn the remaining stars, answer the questions to the right.' %}

{{ success_message }} {% if task_index == 4 %} Next game! {% endif %}

{% endfor %}
{% endblock %} {% block additional_imports %} {% endblock %}