marshall_webapp

https://img.shields.io/pypi/pyversions/marshall_webapp https://img.shields.io/pypi/v/marshall_webapp https://img.shields.io/github/license/thespacedoctor/marshall_webapp https://img.shields.io/pypi/dm/marshall_webapp

http://157.245.42.153:8080/buildStatus/icon?job=marshall_webapp%2Fmaster&subject=build%20master http://157.245.42.153:8080/buildStatus/icon?job=marshall_webapp%2Fdevelop&subject=build%20dev https://cdn.jsdelivr.net/gh/thespacedoctor/marshall_webapp@master/coverage.svg https://readthedocs.org/projects/marshall_webapp/badge/?version=master https://img.shields.io/github/issues/thespacedoctor/marshall_webapp/type:%20bug?label=bug%20issues

Astronomical-transient marshalling webapp for curating and managing streams of object observations generated by wide-field surveys.

Documentation for marshall_webapp is hosted by Read the Docs ( development version and master version). The code lives on github. Please report any issues you find here.

API Reference

Modules

marshall_webapp.models

marshall_webapp.models.members

marshall_webapp.models.stats

marshall_webapp.models.transients

marshall_webapp.models.transients.element

marshall_webapp.models.transients_akas

marshall_webapp.models.transients_comments

marshall_webapp.models.transients_comments.element

marshall_webapp.models.transients_context

marshall_webapp.models.transients_context.element

marshall_webapp.models.transients_history

marshall_webapp.models.transients_history.element

marshall_webapp.models.transients_lightcurves

marshall_webapp.models.transients_obs

marshall_webapp.models.transients_obs.element

marshall_webapp.models.xmatches

marshall_webapp.models.xmatches.element

marshall_webapp.models.xmatches_catalogues

marshall_webapp.models.xmatches_catalogues.element

marshall_webapp.models.xmatches_searches

marshall_webapp.models.xmatches_searches.element

marshall_webapp.models.xmatches_views

marshall_webapp.models.xmatches_views.element

marshall_webapp.services

marshall_webapp.templates

marshall_webapp.templates.commonelements

marshall_webapp.templates.commonelements.filtering

marshall_webapp.templates.commonelements.forms

marshall_webapp.templates.commonelements.pagetemplates

The webpage scaffolding for the pessto marshall

marshall_webapp.templates.commonelements.pagination

marshall_webapp.templates.commonelements.sidebar

marshall_webapp.templates.commonelements.sorting

marshall_webapp.templates.commonelements.stats

marshall_webapp.templates.commonelements.stats.esophaseIII

marshall_webapp.templates.commonelements.tickets

marshall_webapp.templates.commonelements.tickets.single_ticket

A ticket for a single PESSTO Object give all info known about it

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks

marshall_webapp.templates.commonelements.topnavbar

marshall_webapp.templates.commonelements.view_switcher_buttons

View switcher buttons for ticket table toolbar

marshall_webapp.templates.responses

marshall_webapp.views

marshall_webapp.templates.commonelements.commonutils

Common Utilities for the PESSTO Webapp(s)

marshall_webapp.templates.commonelements.filtering.ticket_table_filter_dropdown

The filter dropdown used to filter the tickets displayed in the marshall

marshall_webapp.templates.commonelements.forms.add_new_comment_to_object_form

A form to add a new comment to an object ticket in the PESSTO Marshall

marshall_webapp.templates.commonelements.forms.change_pi_form

Create the change PI form

marshall_webapp.templates.commonelements.forms.classify_object_form

The classify object form for the PESSTO Marshall

marshall_webapp.templates.commonelements.forms.create_new_ticket_form

The create new ticket form for the PESSTO Marshall

marshall_webapp.templates.commonelements.forms.generate_ob_form

The generate object form for the PESSTO Marshall

marshall_webapp.templates.commonelements.pagination.ticket_table_pagination

The pagintation for pages displaying a ticket table

marshall_webapp.templates.commonelements.sorting.number_of_objects_dropdown

Dropdown to select the numnber of objects to be displayed on a page

marshall_webapp.templates.commonelements.sorting.ticket_table_sorting_dropdown

The sort dropdown used to sort the tickets displayed in the marshall

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.comments

The comments tab for the PESSTO Object tickets

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

The context tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.development

The development tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.dryx

The dryx tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.history

The history tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.overview

The overview tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.photometry

The photometry tab for the PESSTO Object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.actions_block

The actions block for the marshall object tickets

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.classification_block

The classification block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.comments_block

The comments block for the comments tab of the PESSTO Marshall object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.host_info_block

The host info block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.identity_block

The identity block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.latest_magnitudes_block

The latest magnitudes block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.lightcurve_block

The lightcurve block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.master_lightcurve_block

The master lightcurve block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.object_info_block

The Object Info block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.survey_lightcurves_block

The master lightcurve block for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.ticket_footer_bar

The ticket footer bar for the object ticket

marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.ticket_header_bar

The ticket header bar for the object ticket

marshall_webapp.utKit

Unit testing tools

marshall_webapp.views.views_resources_members

marshall_webapp.views.views_resources_stats

marshall_webapp.views.views_resources_stats_element

marshall_webapp.views.views_resources_transients

marshall_webapp.views.views_resources_transients_akas

marshall_webapp.views.views_resources_transients_element

marshall_webapp.views.views_resources_transients_element_akas

marshall_webapp.views.views_services_calendars

marshall_webapp.views.views_services_refresh_sidebar_list_counts

marshall_webapp.views.views_transients_comments

marshall_webapp.views.views_transients_context

marshall_webapp.views.views_transients_history

marshall_webapp.views.views_transients_lightcurves

marshall_webapp.views.views_transients_obs

marshall_webapp.views.views_xmatches

marshall_webapp.views.views_xmatches_catalogues

marshall_webapp.views.views_xmatches_searches

marshall_webapp.views.views_xmatches_views

Classes

marshall_webapp.models.members.models_members_get

The worker class for the models_members_get module

marshall_webapp.models.stats.models_stats_get

The worker class for the models_stats_get module

marshall_webapp.models.transients.element.models_transients_element_post

The worker class for the models_transients_element_post module

marshall_webapp.models.transients.element.models_transients_element_put

The worker class for the models_transients_element_put module

marshall_webapp.models.transients.models_transients_count

The worker class for the models_transients_count module

marshall_webapp.models.transients.models_transients_get

The worker class for the models_transients_get module

marshall_webapp.models.transients.models_transients_post

The worker class for the models_transients_post module

marshall_webapp.models.transients_akas.models_transients_akas_get

The worker class for the models_transients_akas_get module

marshall_webapp.models.transients_comments.element.models_transients_element_comments_delete

The worker class for the models_transients_element_comments_delete module

marshall_webapp.models.transients_comments.element.models_transients_element_comments_get

The worker class for the models_transients_element_comments_get module

marshall_webapp.models.transients_comments.element.models_transients_element_comments_post

The worker class for the models_transients_element_comments_post module

marshall_webapp.models.transients_comments.element.models_transients_element_comments_put

The worker class for the models_transients_element_comments_put module

marshall_webapp.models.transients_comments.models_transients_comments_count

The worker class for the models_transients_comments_count module

marshall_webapp.models.transients_comments.models_transients_comments_get

The worker class for the models_transients_comments_get module

marshall_webapp.models.transients_context.element.models_transients_element_context_delete

The worker class for the models_transients_element_context_delete module

marshall_webapp.models.transients_context.element.models_transients_element_context_get

The worker class for the models_transients_element_context_get module

marshall_webapp.models.transients_context.element.models_transients_element_context_post

The worker class for the models_transients_element_context_post module

marshall_webapp.models.transients_context.element.models_transients_element_context_put

The worker class for the models_transients_element_context_put module

marshall_webapp.models.transients_context.models_transients_context_count

The worker class for the models_transients_context_count module

marshall_webapp.models.transients_context.models_transients_context_get

The worker class for the models_transients_context_get module

marshall_webapp.models.transients_history.element.models_transients_element_history_delete

The worker class for the models_transients_element_history_delete module

marshall_webapp.models.transients_history.element.models_transients_element_history_get

The worker class for the models_transients_element_history_get module

marshall_webapp.models.transients_history.element.models_transients_element_history_post

The worker class for the models_transients_element_history_post module

marshall_webapp.models.transients_history.element.models_transients_element_history_put

The worker class for the models_transients_element_history_put module

marshall_webapp.models.transients_lightcurves.models_transients_lightcurves_count

The worker class for the models_transients_lightcurves_count module

marshall_webapp.models.transients_lightcurves.models_transients_lightcurves_get

The worker class for the models_transients_lightcurves_get module

marshall_webapp.models.transients_lightcurves.models_transients_lightcurves_post

The worker class for the models_transients_lightcurves_post module

marshall_webapp.models.transients_lightcurves.models_transients_lightcurves_put

The worker class for the models_transients_lightcurves_put module

marshall_webapp.models.transients_obs.element.models_transients_element_obs_get

The worker class for the models_transients_element_obs_get module

marshall_webapp.models.transients_obs.models_transients_obs_get

The worker class for the models_transients_obs_get module

marshall_webapp.models.xmatches.element.models_xmatches_element_delete

The worker class for the models_xmatches_element_delete module

marshall_webapp.models.xmatches.element.models_xmatches_element_get

The worker class for the models_xmatches_element_get module

marshall_webapp.models.xmatches.element.models_xmatches_element_post

The worker class for the models_xmatches_element_post module

marshall_webapp.models.xmatches.element.models_xmatches_element_put

The worker class for the models_xmatches_element_put module

marshall_webapp.models.xmatches.models_xmatches_get

The worker class for the models_xmatches_get module

marshall_webapp.models.xmatches_catalogues.element.models_xmatches_element_catalogues_delete

The worker class for the models_xmatches_element_catalogues_delete module

marshall_webapp.models.xmatches_catalogues.element.models_xmatches_element_catalogues_get

The worker class for the models_xmatches_element_catalogues_get module

marshall_webapp.models.xmatches_catalogues.element.models_xmatches_element_catalogues_post

The worker class for the models_xmatches_element_catalogues_post module

marshall_webapp.models.xmatches_catalogues.element.models_xmatches_element_catalogues_put

The worker class for the models_xmatches_element_catalogues_put module

marshall_webapp.models.xmatches_catalogues.models_xmatches_catalogues_get

The worker class for the models_xmatches_catalogues_get module

marshall_webapp.models.xmatches_searches.element.models_xmatches_element_searches_delete

The worker class for the models_xmatches_element_searches_delete module

marshall_webapp.models.xmatches_searches.element.models_xmatches_element_searches_get

The worker class for the models_xmatches_element_searches_get module

marshall_webapp.models.xmatches_searches.element.models_xmatches_element_searches_post

The worker class for the models_xmatches_element_searches_post module

marshall_webapp.models.xmatches_searches.element.models_xmatches_element_searches_put

The worker class for the models_xmatches_element_searches_put module

marshall_webapp.models.xmatches_searches.models_xmatches_searches_get

The worker class for the models_xmatches_searches_get module

marshall_webapp.models.xmatches_views.element.models_xmatches_element_views_delete

The worker class for the models_xmatches_element_views_delete module

marshall_webapp.models.xmatches_views.element.models_xmatches_element_views_get

The worker class for the models_xmatches_element_views_get module

marshall_webapp.models.xmatches_views.element.models_xmatches_element_views_post

The worker class for the models_xmatches_element_views_post module

marshall_webapp.models.xmatches_views.element.models_xmatches_element_views_put

The worker class for the models_xmatches_element_views_put module

marshall_webapp.models.xmatches_views.models_xmatches_views_get

The worker class for the models_xmatches_views_get module

marshall_webapp.services.services_refresh_sidebar_list_counts

The worker class for the services_refresh_sidebar_list_counts module

marshall_webapp.templates.responses.templates_resource_members

The worker class for the templates_resource_members module

marshall_webapp.templates.responses.templates_resource_stats

The worker class for the templates_resource_stats module

marshall_webapp.templates.responses.templates_resources_transients

The worker class for the templates_resources_transients module

marshall_webapp.templates.responses.templates_services_calendars

The worker class for the templates_services_calendars module

marshall_webapp.templates.responses.templates_transients_comments

The worker class for the templates_transients_comments module

marshall_webapp.templates.responses.templates_transients_context

The worker class for the templates_transients_context module

marshall_webapp.templates.responses.templates_transients_history

The worker class for the templates_transients_history module

marshall_webapp.templates.responses.templates_transients_lightcurves

The worker class for the templates_transients_lightcurves module

marshall_webapp.templates.responses.templates_transients_obs

The worker class for the templates_transients_obs module

marshall_webapp.templates.responses.templates_xmatches

The worker class for the templates_xmatches module

marshall_webapp.templates.responses.templates_xmatches_catalogues

The worker class for the templates_xmatches_catalogues module

marshall_webapp.templates.responses.templates_xmatches_searches

The worker class for the templates_xmatches_searches module

marshall_webapp.templates.responses.templates_xmatches_views

The worker class for the templates_xmatches_views module

marshall_webapp.views.views_resources_transients_element_akas.transients_element_view

marshall_webapp.views.views_transients_comments.transients_element_comments_view

marshall_webapp.views.views_transients_context.transients_element_context_view

marshall_webapp.views.views_transients_lightcurves.transients_elements_lightcurve_view

marshall_webapp.views.views_xmatches_catalogues.xmatches_element_catalogues_view

marshall_webapp.views.views_xmatches_searches.xmatches_element_searches_view

marshall_webapp.views.views_xmatches_views.xmatches_element_views_view

Functions

marshall_webapp.admin_only_debugtoolbar

Enable toolbar for administrators only.

marshall_webapp.db

marshall_webapp.https_static_url

marshall_webapp.templates.commonelements.commonutils.block_title

block title

marshall_webapp.templates.commonelements.commonutils.little_label

little labels for the pessto marshall tickets

marshall_webapp.templates.commonelements.pagetemplates.defaultpagetemplate

Generate the webpage to be displayed

marshall_webapp.templates.commonelements.sidebar.marshall_sidebar

Get the left navigation bar for the marshall

marshall_webapp.templates.commonelements.sidebar.stats_sidebar

Get the left navigation bar for the pessto marshall

marshall_webapp.templates.commonelements.sidebar.xmatches_sidebar

Get the left navigation bar for the pessto marshall

marshall_webapp.templates.commonelements.stats.esophaseIII.plot_wells

The sofi/efosc imaging/spectra plot well for the stats page of the marshall

marshall_webapp.templates.commonelements.stats.esophaseIII.ssdr_stats_table

ssdr stats table

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.comments.comments_tab

comments tab

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

get ticket footer bar

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

context tab

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.development.development_tab

development tab

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.development.transient_d3_lightcurve

transient d3 lightcurve

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.dryx.dryx_tab

dryx tab

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.history.history_tab

history tab

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.overview.overview_tab

overview tab

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.photometry.photometry_footer_bar

get ticket footer bar

marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.photometry.photometry_tab

photometry tab

marshall_webapp.templates.commonelements.view_switcher_buttons.hundred_mpc_filter_button

The button to filter transients to only those thought to be withon 100Mpc

marshall_webapp.templates.commonelements.view_switcher_buttons.ntt_view_button

Key Arguments

Marshall Webapp Release Notes

fixed: list text now shown in pending classification tickets identity blocks (previously blank) move-to buttons can now be set/altered via the yaml settings file. This gives marshall administrator full customisation of the triage workflow best name is selected in both table view and plain-text outputs json output now reports akas (name and url) for each transient fixed csv and plain text downloads allow for debug toolbar over https https switch added to the setting file. Set to False for plain http (https: True is the default) default parameters for the marshall/transients state can be set in the settings file. For example, show all transients below declination of 30:

```yaml
default_filters:
    filterBy1: decDeg
    filterValue1: 30
    filterOp1: "<" 
```

all links in sidebar now show as “selected” (white background) if the user is looking at that list FIXED: sdss link now use the new skyserver api

v3.1.1 - May 7, 2021

  • ENHANCEMENT: SSL certificate now installed on the pessto.org domain. All traffic is now encrypted and secure. All http requests should also be redirected to https.

  • FIXED: classification summary info on each ticket is now the latest and most relevant. At times an older redshift report was being presented.

v3.1.0 - March 17, 2021

  • REFACTOR search function more forgiving, but also more accurate and MUCH faster

  • REFACTOR adding new sources via the “create new ticket button” now faster

  • ENHANCEMENT AT/SN names now set as the ‘master’ or headline name in each transient ticket. All other names and links added to aka section.

  • ENHANCEMENT: added light echo to classification options

  • FIXED: issue where transient history logs were not getting parsed correctly resulting in ticket not loading in marshall interface

  • FIXED database connector, needed to create new tickets and add classifications, pings MySQL server and reconnects if connection is broken before executing actions. This hopefully fixes the long-standing issues with these 2 features.

v3.0.9 - January 11, 2021

  • FEATURE documentation for the marshall webapp is on readthedocs. This is mainly for developer reference so far.

  • FIXED the context visualisation is now displaying correctly to show all sherlock crossmatches (see context tab on transient tickets)

v3.0.8 - December 15, 2020

  • REFACTOR added ability to set classification priority when moving ticket to classification list

  • FIXED fixing cache links so images appear and downloads work correctly

v3.0.7 - December 4, 2020

  • REFACTOR settings files clean up and consolidation

  • FIXED classification bug squashed

v3.0.6 - December 4, 2020

  • REFACTOR moved a sherlock book-keeping query from front-end code to database procedure. Should decrease page load times.

  • FIXED sorting lists on ‘latest comment’.

v3.0.5 - December 3, 2020

  • FIXED date formats, broken aka links, broken stats pages and broken table view

v3.0.4 - December 2, 2020

  • FIXED comment function (legacy unicode fix)

v3.0.3 - December 2, 2020

  • FIXED search function

v3.0.2 - November 17, 2020

  • Enhancement added config files for cluster

  • Enhancement added ability to connect to a non-standard database port issue

v3.0.1 - July 6, 2020

  • Fixed unittest database import metadata lock issue

  • Fixed bug in search resource

v3.0.0 - June 25, 2020

  • Now compatible with Python 3.*