Skip to content

testComputeFstatistic_v2_transient.sh: target single-freq test at max of previous run

Description

Just a tiny change to make one test return exact equality instead of just "close enough", by targeting the same frequency bin returned as the max in the previous run, instead of the original signal injection frequency.

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

@karl-wette before:

--------- Comparing results for (t0,tau)=(T0,Tdata): [Tolerance = 5e-2] ---------
                                        freq                 2F        t0        tau
==>  --outputTransientStats(top2F):     100.1234495833331408 207.81339  711631934 72000
     (from step 3, full grid)
==>  --outputTransientStatsAll(top2F):  100.1234500000000054 207.26497 711631934 72000
==> OK

and after:

--------- Comparing results for (t0,tau)=(T0,Tdata): [Tolerance = 5e-2] ---------
                                        freq                 2F        t0        tau
==>  --outputTransientStats(top2F):     100.1234495833331408 207.81339  711631934 72000
     (from step 3, full grid)
==>  --outputTransientStatsAll(top2F):  100.1234495833331408 207.81339 711631934 72000
==> OK

Merge request reports