gstlal 1.13.0
Loading...
Searching...
No Matches
plugins.py
1# Copyright (C) 2020 Patrick Godwin (patrick.godwin@ligo.org)
2#
3# This program is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by the
5# Free Software Foundation; either version 2 of the License, or (at your
6# option) any later version.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11# Public License for more details.
12#
13# You should have received a copy of the GNU General Public License along
14# with this program; if not, write to the Free Software Foundation, Inc.,
15# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
17
18import pluggy
19
20
21# hooks for registering plugins
22register = pluggy.HookimplMarker("gstlal")
23specification = pluggy.HookspecMarker("gstlal")
24
25
26@specification
27def layers():
28 """
29 This plugin spec is used to return DAG layers in the form:
30 {"layer-name": layer_func}
31
32 """