Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
L
lalsuite
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 108
    • Issues 108
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 28
    • Merge Requests 28
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • lscsoft
  • lalsuite
  • Merge Requests
  • !1076

Open
Opened Nov 19, 2019 by Duncan Macleod@duncanmmacleodOwner1 of 4 tasks completed1/4 tasks
  • Report abuse
Report abuse

Add lalsimulation waveform-generation python tests

  • Overview 0
  • Commits 10
  • Pipelines 13
  • Changes 2

Description

This patch adds test_waveform_generation.py to /lalsimulation/test/python, which attempts to generate a waveform for every approximant using one or more of the XLALSimInspiralTD, XLALSimInspiralFD, XLALSimInspiralChooseTDWaveform, and XLALSimInspiralChooseFDWaveform.

The approximants are handled in parametrised groups, the idea being to sanity check the code by generating a non-zero waveform, and not test much else. All tests run with zero spin, and zero eccentricity, with the following exceptions:

  • HGImri has s1z = 0.6
  • EccentricFD and EccentricTD have ecc = 0.1

Additionally, because the CI doesn't have access to lalsuite-extra, or lvcnr-lfs, approximants requiring external data are skipped.

ATOW, the following cases are failing:

Approximant Function(s) m1,m2 Error
HGimri SimInspiralFD 40,4 XLAL Error: Radius is negative or NaN. Failed to complete 10 steps inside light ring. Use smaller time step dt. Halting FINALPLUNGE.
IMRPhenomC SimInspiralChooseTDWaveform, SImInspiralTD 10,10 XLAL Error - IMRPhenomCGenerateFDForTD (LALSimIMRPhenomC.c:456): The required length passed as input wont fit the FD waveform
PhenSpinTaylor SimInspiralChooseTDWaveform, SimInspiralTD, SimInspiralFD 10,10 Segmentation fault
PhenSpinTaylorRD SimInspiralChooseTDWaveform, SimInspiralTD, SimInspiralFD 10,10 Segmentation fault
SpinTaylorF2 SimInspiralTD, SimInspiralChooseFDWaveform, SimInspiralFD 10,10 abs(hp + hc) is identically zero
SpinTaylorT4Fourier SimInspiralChooseFDWaveform, SimInspiralTD, SimInspiralFD 10,10 XLAL Error - XLALSimInspiralSpinTaylorDriverFourier: spline interpolation returned with error code 4
SpinTaylorT5Fourier SimInspiralTD 10,10 Segmentation fault
SpinTaylorT5Fourier SimInspiralChooseFDWaveform, SimInspiralFD 10,10 XLAL Error - XLALSimInspiralSpinTaylorDriverFourier: spline interpolation returned with error code 4
TaylorT3 SimInspiralChooseTDWaveform 1.4,1.4 XLAL Error - XLALSimInspiralTofV (LALSimInspiralTaylorLength.c:127): Internal function call failed

I am happy to be told that the input parameters are wrong for one or more of these tests.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.

Review Status

Please provide details on any reviews related to this change and and the associated reviewers.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: lscsoft/lalsuite!1076
Source branch: lalsimulation-python-waveform-tests