Commit 2b65fae7 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Add BBH search (supposed to be for CWB)

parent ae1f8021
......@@ -14,7 +14,7 @@ The different types of events in GraceDB are distinguished by the following para
- ``Pipeline``: the data analysis software tool used make the detection
- values: ``MBTAOnline``, ``CWB``, ``CWB2G``, ``gstlal``, ``spiir``, ``HardwareInjection``, ``Fermi``, ``Swift``, ``SNEWS``, ``oLIB``
- ``Search``: the search activity which led to the detection
- values: ``AllSky``, ``AllSkyLong``, ``LowMass``, ``HighMass``, ``GRB``, ``Supernova``, ``MDC``
- values: ``AllSky``, ``AllSkyLong``, ``LowMass``, ``HighMass``, ``GRB``, ``Supernova``, ``MDC``, ``BBH``
An individual "event stream" is specified by setting the values of these three parameters.
For example, choosing ``Group=CBC``, ``Pipeline=gstlal``, and ``Search=LowMass`` selects the event stream consisting of low-mass inspiral events detected by the gstlal pipeline from the CBC group.
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-12-12 16:48
from __future__ import unicode_literals
from django.db import migrations
def create_search(apps, schema_editor):
Search = apps.get_model('events', 'Search')
# Use get_or_create so that if the migration is unapplied
# then reapplied, we don't end up with multiples, since the
# name doesn't have to be unique (??, probably should be)
class Migration(migrations.Migration):
dependencies = [
('events', '0028_make_labels_protected'),
operations = [
migrations.RunPython(create_search, migrations.RunPython.noop),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment