Skip to content

Conversation

@oesteban
Copy link
Member

This PR introduces two changes into RobustAverage:

  • Replaces the global signal calculation - for very skewed datasets, np.median(data, axis=(0,1,2)) very easily contained zeros. In this PR, that is replaced by two steps: 1) removing potential outliers by clipping percentiles; and 2) replacing median by mean.
  • Compensation for global signal is done before HMC, with the hope of aiding correction and interpolation.

Fixes the tests currently broken on master.

@oesteban oesteban merged commit 1adb83f into master Jan 30, 2021
@oesteban oesteban deleted the masks/nan-inf-signal-drift branch January 30, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants