Skip to content

Commit

Permalink
Merge pull request #159 from CAMBI-tech/fusion-error
Browse files Browse the repository at this point in the history
Copy Phrase Fusion Error
  • Loading branch information
lawhead authored Jul 27, 2021
2 parents 9af904b + 4d8f121 commit abff26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bcipy/helpers/copy_phrase_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ def evaluate_eeg_evidence(self, raw_data: np.array,
bandpass_order=self.filter_order,
downsample_factor=self.downsample_rate,
)
data, self.sampling_rate = default_transform(raw_data, self.sampling_rate)
data, transformed_sample_rate = default_transform(raw_data, self.sampling_rate)

data, _ = self.signal_model.reshaper(
trial_labels=target_info,
timing_info=times,
eeg_data=data,
fs=self.sampling_rate,
fs=transformed_sample_rate,
trials_per_inquiry=self.stim_length,
channel_map=self.channel_map,
trial_length=window_length)
Expand Down

0 comments on commit abff26c

Please sign in to comment.