You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of #62, I'm simplifying the AverageModel (renamed as ExpectationModel to better capture that the statistic can be changed) and removing this code:
# Regress out global signal differencesifkwargs.pop("equalize", False):
data=data.copy().astype("float32")
reshaped_data= (
data.reshape((-1, data.shape[-1])) ifself._maskisNoneelsedata[self._mask]
)
p5=np.percentile(reshaped_data, 5.0, axis=0)
p95=np.percentile(reshaped_data, 95.0, axis=0) -p5data= (data-p5) *p95.mean() /p95+p5.mean()
This code was there to "detrend" global signals. It should be a filter and not part of the model.
The text was updated successfully, but these errors were encountered:
In the context of #62, I'm simplifying the
AverageModel
(renamed asExpectationModel
to better capture that the statistic can be changed) and removing this code:This code was there to "detrend" global signals. It should be a filter and not part of the model.
The text was updated successfully, but these errors were encountered: