{% extends "planarian/base.html" %} {% load i18n %} {% block content %}
🔬 {% if object %} {% trans "Modifier la configuration" %} — {{ object }} {% else %} {% trans "Nouvelle configuration d'expérience" %} {% endif %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}

âš  {{ error }}

{% endfor %}
{% endif %}

{% trans "Identification" %}

{{ form.identifier }} {% if form.identifier.errors %} {{ form.identifier.errors|join:", " }} {% endif %}
{{ form.author }} {% if form.author.errors %} {{ form.author.errors|join:", " }} {% endif %}
{{ form.experiment }} {% if form.experiment.errors %} {{ form.experiment.errors|join:", " }} {% endif %}
{{ form.well }} {% if form.well.errors %} {{ form.well.errors|join:", " }} {% endif %}
{{ form.description }} {% if form.description.errors %} {{ form.description.errors|join:", " }} {% endif %}

{% trans "Calibration optique" %}

{% if form.px_per_mm.help_text %}

{{ form.px_per_mm.help_text }}

{% endif %} {{ form.px_per_mm }} {% if form.px_per_mm.errors %} {{ form.px_per_mm.errors|join:", " }} {% endif %}
{% if form.fps.help_text %}

{{ form.fps.help_text }}

{% endif %} {{ form.fps }} {% if form.fps.errors %} {{ form.fps.errors|join:", " }} {% endif %}
{% if form.well_radius_mm.help_text %}

{{ form.well_radius_mm.help_text }}

{% endif %} {{ form.well_radius_mm }} {% if form.well_radius_mm.errors %} {{ form.well_radius_mm.errors|join:", " }} {% endif %}

{% trans "Tracker" %}

{{ form.tube_axis }} {% if form.tube_axis.errors %} {{ form.tube_axis.errors|join:", " }} {% endif %}
{{ form.min_area_px }} {% if form.min_area_px.errors %} {{ form.min_area_px.errors|join:", " }} {% endif %}
{{ form.planarian_count }} {% if form.planarian_count.errors %} {{ form.planarian_count.errors|join:", " }} {% endif %}

{% trans "Seuils de mobilité EthoVision XT" %}

{% trans "Immobile" %}
{% trans "Mobile" %}
{% trans "Très mobile" %}

{% trans "Représentation indicative des zones de mobilité (défauts EthoVision : 0.2 / 1.5 mm/s)" %}

{% trans "En-dessous : Immobile (mm/s)" %}

{{ form.thresh_immobile }} {% if form.thresh_immobile.errors %} {{ form.thresh_immobile.errors|join:", " }} {% endif %}

{% trans "En-dessous : Mobile, au-delà : Très mobile (mm/s)" %}

{{ form.thresh_mobile }} {% if form.thresh_mobile.errors %} {{ form.thresh_mobile.errors|join:", " }} {% endif %}

{% trans "Comportements" %}

{% trans "Distance à la paroi considérée « près du bord » (mm)" %}

{{ form.thigmotaxis_wall_dist_mm }} {% if form.thigmotaxis_wall_dist_mm.errors %} {{ form.thigmotaxis_wall_dist_mm.errors|join:", " }} {% endif %}

 

{{ form.photo_mode }} {% if form.photo_mode.errors %} {{ form.photo_mode.errors|join:", " }} {% endif %}

{% trans "0.0 = désactivé → 1.0 = fort" %}

{{ form.photo_strength }} {% if form.photo_strength.errors %} {{ form.photo_strength.errors|join:", " }} {% endif %}

 

{{ form.photo_x }} {% if form.photo_x.errors %} {{ form.photo_x.errors|join:", " }} {% endif %}

 

{{ form.photo_y }} {% if form.photo_y.errors %} {{ form.photo_y.errors|join:", " }} {% endif %}

{% trans "0.0 = désactivé → 1.0 = fort" %}

{{ form.chemo_strength }} {% if form.chemo_strength.errors %} {{ form.chemo_strength.errors|join:", " }} {% endif %}

{% trans "Mini = 0, maxi = 1" %}

{{ form.chemo_x }} {% if form.chemo_x.errors %} {{ form.chemo_x.errors|join:", " }} {% endif %}

{% trans "Mini = 0, maxi = 1" %}

{{ form.chemo_y }} {% if form.chemo_y.errors %} {{ form.chemo_y.errors|join:", " }} {% endif %}
{{ form.chemo_radius_mm }} {% if form.chemo_radius_mm.errors %} {{ form.chemo_radius_mm.errors|join:", " }} {% endif %}

{% trans "Rayon de répulsion courte portée (mm)" %}

{{ form.avoid_radius_mm }} {% if form.avoid_radius_mm.errors %} {{ form.avoid_radius_mm.errors|join:", " }} {% endif %}

{% trans "Rayon d'attraction longue portée — doit être > rayon évitement (mm)" %}

{{ form.aggreg_radius_mm }} {% if form.aggreg_radius_mm.errors %} {{ form.aggreg_radius_mm.errors|join:", " }} {% endif %}
âś– {% trans "Retour" %}
{% if object %} {% endif %}
{% endblock %}