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

Contamination & Visibility Calculator


{% include 'contam_visibility_intro.html' %}
{{ form.hidden_tag() }} {% include 'target_resolve.html' %}
R.A.
{{ form.ra(value=form.ra.data, size=10, rows=1, class='form-control') }}
Decimal Degrees
The right ascension of the target
Decl.
{{ form.dec(value=form.dec.data, size=10, rows=1, class='form-control') }}
Decimal Degrees
The declination of the target
Coordinate Epoch
{{ form.coordinate_epoch(value=form.coordinate_epoch.data, size=10, rows=1, class='form-control') }}
Year
The epoch of the target coordinates; SIMBAD positions use 2000.0
{% for error in form.ra.errors %}

{{ error }}

{% endfor %} {% for error in form.dec.errors %}

{{ error }}

{% endfor %} {% for error in form.coordinate_epoch.errors %}

{{ error }}

{% endfor %}

PA
{{ form.v3pa(value=form.v3pa.data, size=10, rows=1, class='form-control') }}
Degrees
The position angle of the telescope Enter -1 to calculate ALL position angles. Enter any float between 0 - 360 for a single position angle.
{% for error in form.v3pa.errors %}

{{ error }}

{% endfor %}

Year
{{ form.epoch(value=form.epoch.data, size=10, rows=1, class='form-control') }}
The 4-digit year of the planned observations
{% for error in form.epoch.errors %}

{{ error }}

{% endfor %}

{% for error in form.inst.errors %}

{{ error }}

{% endfor %}
{{ form.mode_submit(id='modesubmit', style="visibility: hidden;") }} {{ form.task_submit(id='tasksubmit', style="visibility: hidden;") }} {{ form.task_id(id='task_id', size=10, rows=1, class='form-control', style="visibility: hidden;") }}
\(T_\text{eff}\)
{{ form.teff(size=10, rows=1, class='form-control') }}
Kelvin
The effective temperature of the companion
\(\Delta\) Gmag
{{ form.delta_mag(size=10, rows=1, class='form-control') }}
\(\Delta\) Gmag = Gmag\(_\text{Target}\) - Gmag\(_\text{Companion}\)
Distance
{{ form.dist(size=10, rows=1, class='form-control') }}
arcseconds
The distance of the companion from the target
PA
{{ form.pa(size=10, rows=1, class='form-control') }}
Degrees
The position angle of the companion relative to the target
{% for error in form.teff.errors %}

{{ error }}

{% endfor %} {% for error in form.delta_mag.errors %}

{{ error }}

{% endfor %} {% for error in form.dist.errors %}

{{ error }}

{% endfor %} {% for error in form.pa.errors %}

{{ error }}

{% endfor %}

{{ form.calculate_submit(class="btn btn-success") }} Calculate only the visibility of the target.


{{ form.calculate_contam_submit(disabled=form.calculate_contam_submit.disabled, class="btn btn-success") }} Calculate the visibility and the contamination. Please be patient, this calculation takes a while.

Contamination & Visibility Calculator

{% endblock %}