Commit 0431fc60 authored by Aditya Vijaykumar's avatar Aditya Vijaykumar
Browse files

fixed the issue

parent fbcd3c16
......@@ -18,9 +18,11 @@ from .overview import create_overview
def get_trigger_time_list(inputs):
""" Returns a list of GPS trigger times for each data segment """
if inputs.gaussian_noise and inputs.trigger_time is None:
if (inputs.gaussian_noise or inputs.zero_noise) and inputs.trigger_time is None:
trigger_times = [0] * inputs.n_simulation
elif inputs.gaussian_noise and isinstance(inputs.trigger_time, float):
elif (inputs.gaussian_noise or inputs.zero_noise) and isinstance(
inputs.trigger_time, float
):
trigger_times = [inputs.trigger_time] * inputs.n_simulation
elif inputs.trigger_time is not None:
trigger_times = [inputs.trigger_time]
......
Supports Markdown
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