Skip to content

Fix a bug when no SFT exists in the spectrogram lalpulsar_spec_avg

Evan Goetz requested to merge evan-goetz/lalsuite:fix-spec-avg-zeros into master

Description

This fixes a bug so that a time is now printed to the line in the file when no SFT exists. !1986 (merged) Added frequency and timestamps to the spectrogram data output, but there was a bug that when no SFT data existed at a certain time, then the timestamp would not be printed to file. This MR now fixes the issue.

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

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

@ansel-neunzert should take a look to make sure this fixes the bug.

Merge request reports

Loading