Skip to content
Snippets Groups Projects

Set start_time when using a frequency_array

Merged Carl-Johan Haster requested to merge cjhaster/bilby:SetStartTimeWhenUsingArray into master

When using the

interferometer.set_strain_data_from_frequency_domain_strain(strain, frequency_array = freqs, start_time = gps_start_time)

function to set the data in an IFO, ie setting the frequency_array directly from an array, and not specified through sampling_frequency and duration, the start_time parameter isn't initialised properly. Instead it's set as (the default of) start_time=0.

This MR provides a fix which solves this specific problem for the run I set up, but this could potentially have some deeper cause that I've missed... (note that I've only tested this for FD strain data, and not yet for TD strain data input)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading