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

Groups & Integrations Calculator


This tool calculates the groups and integrations for an optimal transit observation. We require some information about your background star, transit, and planned use of JWST (instrument, subarray, and filter), in order to interpolate your planned transit observation to our nearest information from pandeia (which powers the JWST ETC.)

Please know that at present this tool is likely to overestimate saturation on direct comparison to the ETC. (This means we may predict less groups -- and put you in LESS danger of oversaturating your observation.)

{{ form.hidden_tag() }} {% include 'target_resolve.html' %}
{{ form.kmag(value=form.kmag.data, size=10, rows=1, class='form-control') }}
\(\small \text{mag}\)
The K-band vega magnitude of the target
{% for error in form.kmag.errors %}

{{ error }}

{% endfor %}
Phoenix stellar atmosphere model that most closely matches your star

{{ form.obs_duration(value=form.obs_duration.data, size=6, rows=1, class='form-control') }}
The length of the observation
{% for error in form.obs_duration.errors %}

{{ error }}

{% endfor %}

{{ form.n_group(value=form.n_group.data, size=10, rows=1, class='form-control') }}
Enter "0" to optimize the number of groups
{% for error in form.n_group.errors %}

{{ error }}

{% endfor %}

The JWST instrument

The photometric bandpass or grism for your science observation
The filter for target acquisition

The full frame or subarray mode for your science observation
The subarray mode for target acquisition

{% for subfield in form.sat_mode %}
{{ subfield(style='margin-left:0px;') }}{{ subfield.label }}
{% endfor %} How to measure the saturation.

{{ form.sat_max(value=form.sat_max.data, size=10, rows=1, class='form-control') }}
The level of saturation
{% for error in form.sat_max.errors %}

{{ error }}

{% endfor %}
Some background on saturation levels to inform your decision: The following is the saturation cap built into the ETC, and the current estimates of max possible saturation (which is what we use when you opt for well fraction).

MIRI NIRCam NIRSpec NIRISS fullwell
{{ sat_data['miri'] }} {{ sat_data['nircam'] }} {{ sat_data['nirspec'] }} {{ sat_data['niriss'] }} [e-] JWST ETC recommendation
{{ 250000 }} {{ 60000 }} {{ 65500 }} {{ 75000 }} max possible saturation

{{ form.calculate_submit(class="btn btn-success") }}

{% endblock %}