{% extends "base_bootstrap.html" %} {% block title %}Candidate {{transient.id}}{% endblock %} {% block lightcurvedataglobal %} {% endblock %} {% block recurrencedataglobal %} {% endblock %} {% block lightcurvedata %} {% endblock %} {% block lightcurvedataforced %} {% if lcdataforced.0 %} {% endif %} {% endblock %} {% block lightcurvedataforcedflux %} {% if lcdataforcedflux.0 %} {% endif %} {% endblock %} {% block lightcurvedataforcedstackflux %} {% if lcdataforcedstackflux.0 %} {% endif %} {% endblock %} {% block colourplotdataglobal %} {% endblock %} {% block colourplotdata %} {% if colourdata.0.0 or colourdata.0.1 or colourdata.0.2 %} {% endif %} {% endblock %} {% block recurrenceplotdata %} {% endblock %} {% if fpData %} {% block fprecurrenceplotdata %} {% endblock %} {% endif %} {% block colourplotdataforced %} {% if colourdataforced.0.0 or colourdataforced.0.1 or colourdataforced.0.2 %} {% endif %} {% endblock %} {% block content %}

{% if transient.ps1_designation %} {{ transient.ps1_designation }} {% elif transient.local_designation %} {{ transient.local_designation }} {% else %} {{ transient.id }} {% endif %}

Coords:

{{ avg_coords.ra_sex }} {{ avg_coords.dec_sex }}

({{ avg_coords.ra|floatformat:"5" }} {% if avg_coords.dec >= 0.0 %}+{% endif %}{{ avg_coords.dec|floatformat:"5" }})

{% if galactic %}
Galactic (l,b)
{% if galactic.1 > -15 and galactic.1 < 15 %} ({{ galactic.0|floatformat:"5" }},{{ galactic.1|floatformat:"5" }}) {% else %} ({{ galactic.0|floatformat:"5" }},{{ galactic.1|floatformat:"5" }}) {% endif %}
{% endif %} {% if transient.confidence_factor or transient.zooniverse_score %}
Realbogus Factors
{{ transient.classification_confidence|floatformat:"2" }} (DEW catalog) {{ transient.confidence_factor|floatformat:"2" }} (TF image)
{% endif %} {% if citizens %}
Citizen Scientist Score:
{{ citizens.score|floatformat:"2" }} ({% if citizens.user1 %}{{ citizens.user1|default_if_none:"" }}{% endif %}{% if citizens.user2 and citizens.user2 != citizens.user1 and citizens.user2 != citizens.user3 %}, {{ citizens.user2|default_if_none:"" }}{% endif %}{% if citizens.user3 and citizens.user3 != citizens.user1 and citizens.user3 != citizens.user2 %}, {{ citizens.user3|default_if_none:"" }}{% endif %})
{% endif %} {% if transient.detection_list_id %}
Flag Date:
{{ transient.followup_flag_date|default_if_none:"" }}
{% endif %}
{% if transient.other_designation %}
IAU Name:
{% endif %} {% if externalXMs %}
See Also:
{% for row in externalXMs %}
{% ifchanged row.external_designation %} {% if row.url %}

{{ row.external_designation }}

{% else %}

{{ row.external_designation }}

{% endif %} {% endifchanged %}
{% endfor %} {% endif %} {% if tnsXMs %}
TNS Crossmatch:
{% for row in tnsXMs %}
{% ifchanged row.external_designation %} {% if row.url %}

{{ row.external_designation }}

{% else %}

{{ row.external_designation }}

{% endif %} {% endifchanged %}
{% if row.separation %}
Offset = {{ row.separation|floatformat:"2" }}"
{% endif %} {% if row.object_z %}
Object z = {{ row.object_z|floatformat:"3" }}
{% endif %} {% if row.host_z %}
Host z = {{ row.host_z|floatformat:"3" }}
{% endif %} {% if row.discoverer %}
Discoverer = {{ row.discoverer }}
{% endif %} {% if row.other_info and row.other_info != transient.ps1_designation %}
Name = {{ row.other_info }}
{% endif %} {% if row.disc_date %}
Discovered on {{ row.disc_date }}
{% endif %} {% endfor %} {% endif %}
Number of Detections:
{{ table.rows|length|add:"1" }}
{% if transient.detection_list_id %}
Object List:
{{ transient.detection_list_id.name|default_if_none:"" }}
{% endif %} {% if transient.processing_flags %}
Processing Flags:
{{ transient.decode_processing_flags_bits|default_if_none:"" }}
{% endif %} {% if transient.observation_status %}
Spectral Type:
{{ transient.observation_status|default_if_none:"" }}
{% endif %}
Context:

{{ transient.sherlockClassification }}

{% if sc.0.annotation %}
{{ sc.0.annotation|default_if_none:""|safe }}
{% endif %} {% if comments %}
Comments:
{% for comment in comments %}
{{ comment.date_inserted|date:"Y-m-d H:i:s" }}{% if comment.username %} ({{ comment.username }}){% endif %}: {{ comment.comment }}
{% endfor %} {% endif %} {% if gw %}
Possible GW Events Association:
{% for row in gw %}
{{ row.gravity_event_id.gravity_event_id|default_if_none:"" }} (MJD {{ row.gravity_event_id.mjd }} - {{ row.enclosing_contour|default_if_none:"" }}% contour)
{% endfor %} {% endif %}
{% if images %}
{% else %}
{% endif %}
Unforced Photometry Lightcurve
Current MJD (vertical line):
{% if lcdataforced.0 %} {% endif %} {% if lcdataforcedflux.0 %}
Forced Photometry Flux
{% endif %} {% if lcdataforcedstackflux.0 %}
Forced Diffstack Photometry Flux
{% endif %} {% if userList %}
Object is a member of:
{% for row in userList %} {% endfor %} {% endif %}
{% if images %}
{% else %}
{% endif %}
{% if conesearchold %}
Partner Database Objects in the Vicinity:
{% for row in conesearchold %} {% endfor %}
Partner Object ID Separation
{% if row.xmName %}{{ row.xmName }}{% if row.xmTNS %} ({{ row.xmTNS }}){% endif %}{% else %}{{ row.xmid }}{% endif %} {{ row.separation|floatformat:2 }}"
{% endif %}
{% if finderImages %}
Finders:
{% for row in finderImages %} {{ row.pss_filename }} {% endfor %}
{% endif %} {% if avg_coords.dec >= -30.0 %} {% endif %} {% if avg_coords.dec < 0.0 %} {% endif %}
{% if images %}
{% for image in images %} {% ifchanged image.image_group_id %} {% endifchanged %} {% endfor %}
{{ image.image_type }} {% if image.filter %} ({{ image.filter|slice:"0:1" }}) {% endif %} mjd: {{ image.mjd_obs|floatformat:5 }}
{% if not public %}{% endif %} {{ image.pss_filename }} {% if not public %}{% endif %}
{% endif %}
{% ifnotequal table.rows.count 0 %}
{% for column in table.columns %} {% endfor %} {% for row in table.rows %} {% endfor %}
{% if column.sortable %} {{ column }} {% if column.is_ordered_reverse %} {% else %} {% endif %} {% else %} {{ column }} {% endif %}
{{ row.data.imageid }} {{ row.data.mjd_obs|floatformat:3 }} {{ row.data.ra_sex }} {{ row.data.dec_sex }} {{ row.data.psf_inst_mag|floatformat:3 }} {{ row.data.ap_mag|floatformat:3 }} {{ row.data.cal_psf_mag|floatformat:3}} {{ row.data.filter }} {{ row.data.cmf_file }} {{ row.data.image }}
{% endifnotequal %} {% if not public and user.is_authenticated %} {% if processingStatus != 1 %} {% if form %}
{%csrf_token%} {% for error in form.non_field_errors %}
{{ error }}
{% endfor %} {% for field in form.visible_fields %}
{{ field.errors }}
{{ field.label }}
{% if field.name == "promote_demote" %}
{% for radio in field %} {% endfor %}
{% elif field.name == "user_list_membership" %} {% for choice in field %}
{{ choice.tag }}
{% endfor %} {% else %} {{ field }} {% endif %}
{% endfor %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %}
{% endif %} {% else %}
Database Dump in Progress. Updates not allowed.
{% endif %} {% endif %}
{% if lcdataforced.0 %} {% endif %} {% if lcdataforcedflux.0 %} {% endif %} {% if lcdataforcedstackflux.0 %} {% endif %} {% endblock %}