marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.context module

The context tab for the PESSTO Object tickets

Author

David Young

context_tab(log, request, discoveryDataDictionary, objectAkas, atelData, lightcurveData, transientCrossmatches)[source]

context tab

Key Arguments

  • log – logger

  • request – the pyramid request

  • discoveryDataDictionary – the unique discoveryData dictionary of the object in the pessto marshall database (from view_object_contextual_data)

  • objectAkas – object akas

  • lightcurveData – the lightcurve data for the objects displayed on the webpage

  • atelData – the atel matches for the objects displayed on the webpage

  • transientCrossmatches – catalogue crossmatches (from sherlock)

Return

  • context_tab – the lightcurve/context tab for a single ticket on the transient listings page

get ticket footer bar

Key Arguments

  • log – logger

  • discoveryData – the discoveryData for the object

  • lightcurveData – the lightcurve data for the object

Return

  • context_footer_bar – the ticket footer bar for the pesssto object

_host_info_block(log, request, discoveryDataDictionary)[source]

get ticket host info block

Key Arguments

  • log – logger

  • request – the pyramid request

  • discoveryDataDictionary – a dictionary of the discovery data for this transient.

Return

  • host_info_block – the ticket identity block for the pesssto object

_crossmatch_info_block(log, request, discoveryDataDictionary, transientCrossmatches)[source]

get ticket host info block

Key Arguments

  • log – logger

  • request – the pyramid request

  • discoveryDataDictionary – a dictionary of the discovery data for this transient.

Return

  • _crossmatch_info_block – the crossmatch info from sherlock for the pesssto object

_aladin_block(log, request, discoveryDataDictionary, transientCrossmatches)[source]

get aladin lite instance for transient

Key Arguments

  • log – logger

  • request – the pyramid request

  • discoveryDataDictionary – a dictionary of the discovery data for this transient.

Return

  • _aladin_block – the crossmatch info from sherlock for the pesssto object

_sherlock_development_form(log, request, discoveryDataDictionary, transientCrossmatches)[source]

a form for adding comments and confirming/reporting incorrect matches from sherlock trasient classifier

Key Arguments

  • log – logger

  • request – the pyramid request

  • discoveryDataDictionary – a dictionary of the discovery data for this transient.):