Skip to content
Snippets Groups Projects
Commit 82a376e9 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'deprecate-helper-functions' into 'master'

Deprecates some of the problematic helper functions

See merge request !584
parents 3894928f 26b2b43d
No related branches found
No related tags found
1 merge request!584Deprecates some of the problematic helper functions
Pipeline #78192 canceled
import os
import sys
import warnings
import numpy as np
......@@ -307,6 +308,12 @@ def get_event_data(
------
list: A list of bilby.gw.detector.Interferometer objects
"""
warnings.warn(
"get_event_data is deprecated, use set_strain_data_from_gwpy instead",
DeprecationWarning
)
event_time = gwutils.get_event_time(event)
interferometers = []
......@@ -436,6 +443,11 @@ def get_interferometer_with_open_data(
"""
warnings.warn(
"get_interferometer_with_open_data is deprecated, use set_strain_data_from_gwpy instead",
DeprecationWarning
)
logger.warning(
"Parameter estimation for real interferometer data in bilby is in "
"alpha testing at the moment: the routines for windowing and filtering"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment