Normalize proj after subselection to avoid warnings. This is really only useful for tests, and might not be needed eventually if we change or improve our handling of projectors with picks.
(info)
| 879 | |
| 880 | |
| 881 | def _normalize_proj(info): |
| 882 | """Normalize proj after subselection to avoid warnings. |
| 883 | |
| 884 | This is really only useful for tests, and might not be needed |
| 885 | eventually if we change or improve our handling of projectors |
| 886 | with picks. |
| 887 | """ |
| 888 | # Here we do info.get b/c info can actually be a noise cov |
| 889 | _make_projector( |
| 890 | info["projs"], |
| 891 | info.get("ch_names", info.get("names")), |
| 892 | info["bads"], |
| 893 | include_active=True, |
| 894 | inplace=True, |
| 895 | ) |
| 896 | |
| 897 | |
| 898 | @fill_doc |
no test coverage detected