glmdenoise.select_noise_regressors module

glmdenoise.select_noise_regressors.select_noise_regressors(r2_nrs, pcstop=1.05)[source]

How many components to include

Parameters:
  • r2_nrs (ndarray) – Model fit value per solution
  • pcstop (float, optional) – Defaults to 1.05.
Returns:

Number of noise regressors to include

Return type:

int