Skip to content

Commit

Permalink
👔 Change SpikeRegression from kill-censoring to orthogonal projection
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Giavasis <[email protected]>
  • Loading branch information
shnizzedy and sgiavasis committed Jul 26, 2024
1 parent 96db8b0 commit 1cfebff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Changes

- Changes `SpikeRegression` from kill-censoring to orthogonal projection.

## [1.8.7] - 2024-05-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion CPAC/nuisance/nuisance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@ def create_nuisance_regression_workflow(nuisance_selectors,
if nuisance_selectors.get('Censor'):
if nuisance_selectors['Censor']['method'] == 'SpikeRegression':
nuisance_wf.connect(find_censors, 'out_file',
nuisance_regression, 'censor')
nuisance_regression, 'ort')
else:
if nuisance_selectors['Censor']['method'] == 'Interpolate':
nuisance_regression.inputs.cenmode = 'NTRP'
Expand Down

0 comments on commit 1cfebff

Please sign in to comment.